 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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-22 00:00:42.507659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7ff76748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 151.75568747520447 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:03:21.926014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9268a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 154.12799167633057 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 00:06:02.545110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:06:02.541215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 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 0x7fa64fa748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.4497470855713 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 0x7f922a8160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.44715571403503 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-22 00:09:03.471061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:09:03.372336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 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 0x7faeded160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.743976354599 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 0x7f960046d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.84393906593323 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-22 00:12:02.319867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:12:02.312211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 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 0x7faab3f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 162.12669825553894 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 0x7f8d716160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 162.1203808784485 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-22 00:15:02.846043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:15:02.981289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
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 0x7fad502748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 163.72782373428345 secondes ---
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 0x7f78f6e160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 163.86308002471924 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-22 00:18:02.173404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:18:02.137836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f787af160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.1854739189148 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 0x7f7a0456d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 144.31865429878235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:20:42.280774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9a7aa748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.3020520210266 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:23:42.736651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa90d0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.07187223434448 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:26:42.222231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb32a0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.80888533592224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:29:42.664272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f99d28748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.59112429618835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:32:42.054768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa5f23748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 155.2801501750946 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:35:22.518976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg
 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 0x7f7d71c748>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
'int' object is not iterable
time to upload: 33.749491930007935 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-22 00:36:02.795799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:36:02.815566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 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 0x7facf00160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 159.3395984172821 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 0x7f9b69e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.36731433868408 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 00:39:02.376414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:39:02.483047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb5ca2160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.45480036735535 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 0x7f78cd9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.44380712509155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:41:42.350829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f82a6b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.21368288993835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 00:44:02.958772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:44:03.058484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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
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 0x7f963fa160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.97324776649475 secondes ---
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 0x7f8fb3d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.8735454082489 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:46:42.059383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f974b9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.523588180542 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 00:49:02.774611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:49:02.850370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb5e1e160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.1739501953125 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 0x7fa2b5c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.14031791687012 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:51:42.758918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9c33d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.88059425354004 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 00:54:02.472214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 00:54:02.431404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7ba0c198>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.4792788028717 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 0x7fa5153748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.56903409957886 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 00:56:42.450413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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-22 00:58:02.809446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7f9a58f160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.70952224731445 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:00:22.437128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f846bd6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.39434909820557 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:02:42.689930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fad83e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.452876329422 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:05:02.591796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:05:02.437158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f904430f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.81655168533325 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 0x7f9e2b9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.0177104473114 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:07:42.362452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb340c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.7793529033661 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:10:02.977424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:10:02.873567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa43be160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.53492331504822 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 0x7f97fd6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.68688440322876 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:12:42.108800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb562d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.05009269714355 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:15:02.905853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:15:02.869491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9f79d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.6973910331726 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 0x7fa398a0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.70961618423462 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:17:41.869739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f889d5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.3451828956604 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:20:02.503686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:20:02.407568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa724f160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.02466821670532 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 0x7fb392d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.1676731109619 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:22:42.581829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa87e5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.64148592948914 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-22 01:25:02.293833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:25:02.375490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8648d0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.19460201263428 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 0x7f77cf8748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.20791673660278 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:27:42.298967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f89b146d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.9801425933838 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:30:02.957736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:30:02.855985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb1a4e160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.58676171302795 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 0x7f7f529748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.78435945510864 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:32:42.009094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9bddd748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.2780179977417 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:35:02.867173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:35:02.709403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fafa01748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.93733143806458 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 0x7f8dbcd160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.78109526634216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:37:42.758031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8f1b9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.59554815292358 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:40:02.422483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:40:02.379245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8e25b160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.22178745269775 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 0x7facedc6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.3251793384552 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:42:42.492935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f92a19748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.85945200920105 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 01:45:02.251647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:45:02.381391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
 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 0x7f9c5b4160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.93982076644897 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 0x7fa0e63748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.81138110160828 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-22 01:48:02.513414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 01:48:02.426199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f823e9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 158.94227933883667 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 0x7faeedd160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.90205216407776 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-22 01:51:02.051756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7f99688160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 132.91515040397644 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:53:22.146144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7d9ef748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.13283681869507 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 01:55:42.440894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
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-22 01:58:01.931804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7fb2390160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.9235692024231 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:00:22.589121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f92407748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 147.8665268421173 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-22 02:03:02.421868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:03:02.350257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb2224160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.48904728889465 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 0x7f7d33e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.65811204910278 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:05:42.275982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f88ce0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.37944865226746 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:08:02.845084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:08:02.842357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7e39a0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.12162923812866 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 0x7fb44d5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.1724910736084 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:10:21.926136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f86a77748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.25672721862793 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:12:42.193288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7b091748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.30320477485657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:15:03.038674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:15:02.922201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7e19c0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.76985597610474 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 0x7f99ffb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.93384194374084 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:17:22.056123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fabd46748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.96819734573364 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:19:42.309564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f88063748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.02681827545166 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-22 02:22:02.909558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:22:02.940367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7fa6f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.85118770599365 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 0x7f7cef6160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.88313102722168 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:24:42.056220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb0e526d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.2873547077179 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-22 02:27:02.914126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:27:02.914941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8404c160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.74082446098328 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 0x7f827a6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.78953623771667 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:29:22.788616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa66e2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.13009428977966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:31:42.045804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa70bc748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.1386275291443 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:34:02.711696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:34:02.751916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7facc5f0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.78472089767456 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 0x7fa7656748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.79137754440308 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:36:21.857292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9dd08748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.9031000137329 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:38:42.084867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa5ea7748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.99173831939697 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:41:02.683934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f794f5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.65138578414917 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:43:21.803102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa0449748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.79743814468384 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:45:42.103869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9c82f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.80762028694153 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:48:02.736229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:48:02.688351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f99534160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.4386088848114 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 0x7f92edd6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.53502249717712 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:50:21.858307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa358a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.58076286315918 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:52:42.144839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb2a27748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.60619854927063 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 02:55:02.902021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 02:55:02.860959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa9763160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.11207795143127 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 0x7facaca748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.20355319976807 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 02:57:21.878238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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-22 02:58:02.095803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7fa8d4b160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.09492015838623 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:00:22.754301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa960d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.75018334388733 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:02:42.044356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8602f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.77220153808594 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-22 03:05:02.773247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:05:02.911964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fab0fe160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.30589628219604 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 0x7faa9d9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.21655988693237 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:07:21.816715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9102a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.5278513431549 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:09:42.105584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa9ede6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.67779779434204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:12:22.621186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb39eb780>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.7777771949768 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:14:41.912946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9f1ec748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.7500832080841 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 03:17:02.711237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:17:02.649253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa43fa160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.2642776966095 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 0x7f7fd20748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.4195568561554 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:19:42.619040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9c486748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.10136127471924 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-22 03:22:02.224328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:22:02.224357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9494b160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.7592806816101 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 0x7fb1e53748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.8081922531128 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:24:22.338164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa4a34748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.90926671028137 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:26:42.602883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f930506d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.95766377449036 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-22 03:29:02.480665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:29:02.610543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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
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 0x7fa6da0160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.3904778957367 secondes ---
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 0x7f96d5d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.2606155872345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:31:22.362261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb3feb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.77321791648865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:33:42.585972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8423c6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.81297063827515 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 03:36:02.116426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f914ad748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.54793119430542 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:38:22.290502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9e3ef748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.7337794303894 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:40:42.552569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f76c606d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.76743268966675 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-22 03:43:22.003486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f87088748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.02796411514282 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:45:42.476935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f975c1748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.86745834350586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 03:48:02.121435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:48:02.068094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fabffc160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.53166913986206 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 0x7f7bf3a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.68430924415588 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:50:42.146427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa1031748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.20450019836426 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 03:53:02.954134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 03:53:02.956715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f97e5d160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.70935225486755 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 0x7f795156d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.80214405059814 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 03:55:41.842121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f80e1d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.51855540275574 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-22 03:58:02.325331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7fb1b99160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.29822993278503 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:00:21.965073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa618d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.96985602378845 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:02:42.254296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9ca2f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.9939432144165 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-22 04:05:02.920343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:05:02.977525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7c9ba160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.68786311149597 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 0x7fa88a1748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.67742609977722 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:07:41.933162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7ca09748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.3234088420868 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 04:10:02.547940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:10:02.451153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9db75748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.16456174850464 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 0x7fa1a07160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.06873202323914 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:12:42.646784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8724f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.6642563343048 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 04:15:02.517133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:15:02.517143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f80292160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.05827808380127 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 0x7f9843a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.10719513893127 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:17:22.375382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7ddb26d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.4636836051941 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:19:42.660059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8ff8a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.49245762825012 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 04:22:02.226305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:22:02.242767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7bc54160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.18881678581238 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 0x7f9dffe748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.22144412994385 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:24:22.400439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f83036748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.27903747558594 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:26:42.665813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7fe2d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.32700634002686 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-22 04:29:02.601618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:29:02.554434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb4d476d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.84537982940674 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 0x7fa6e6d160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 144.84545874595642 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:31:42.400523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9a5956d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.67883157730103 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:34:21.867483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb55a06d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.9239821434021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:36:42.123004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9c5de748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.96454691886902 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:39:22.548180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7fc7a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.2515242099762 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:41:41.859678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb472c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.20400142669678 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 04:44:02.592390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 04:44:02.599253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8c812160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.7841100692749 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 0x7f80bcb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.87297201156616 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:46:42.593409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb09c1748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.5274109840393 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 04:49:02.200264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f785d0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.1831398010254 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:51:22.256852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f87e0d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.39037561416626 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:53:42.525412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa83cb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.4658181667328 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 04:56:21.993989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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! 
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-22 04:58:02.308433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7f81fc3160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.699955701828 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:00:21.948807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8a62b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.37095475196838 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:02:42.212334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f973b16d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.42055821418762 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-22 05:05:02.939907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:05:02.920338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fab9820f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.0043637752533 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 0x7fa7b416d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.07047581672668 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:07:41.928134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8f15c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.79121088981628 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:10:22.358189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fabf7c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.12080073356628 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 05:13:03.127222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:13:03.011605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f909560f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 144.19212555885315 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 0x7f878cb6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 150.45172333717346 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:15:42.050149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9ace6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.82216048240662 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 05:18:02.727074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:18:02.679433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7e9be160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.50148701667786 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 0x7f79a93748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.59973978996277 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:20:42.768516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb5a0d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 145.35235571861267 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:23:22.225303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa81d4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.4938497543335 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:25:42.517936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f944856d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.46610236167908 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-22 05:28:02.080775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7f7908a160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.166916847229 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:30:22.287010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f94a7e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.22581362724304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:32:42.573644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7a5b8748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.2032549381256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 05:35:02.411872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:35:02.256849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fadec8160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.6763939857483 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 0x7f7a2da6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 146.0235300064087 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:37:42.293469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7f90a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.53896951675415 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-22 05:40:02.799609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:40:02.904374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb346e0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.34520888328552 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 0x7fa054c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.33602118492126 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:42:41.986186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f98c22748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.85288548469543 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-22 05:45:02.817968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:45:02.646888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f88962160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.37297201156616 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 0x7f95890748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.6481318473816 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:47:42.696727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8cc28748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.27865600585938 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:50:22.126025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa33d4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.56244897842407 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-22 05:53:02.896931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg
2025-01-22 05:53:02.839741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9c77d160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.53555512428284 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 0x7f7b7a0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.687641620636 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 05:55:41.824384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f94558748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.30252313613892 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-22 05:58:02.342133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg', '/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/07/08/image_21012025_07_08_59_6458.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_05_5244.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_11_6469.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_16_5393.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_23_6583.jpg
/media/data/images/21012025/07/09/image_21012025_07_09_29_6067.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 0x7fab13b160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.146484375 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:00:42.018587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8011b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.16605854034424 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:03:02.599154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f78f2b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.8490171432495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:05:22.699580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa2c18780>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.06067180633545 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:07:41.961080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f7668a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.06348299980164 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:10:02.494975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fab7b9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.79241132736206 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:12:22.669482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f83adc748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.9294490814209 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:14:41.954407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f95e45748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.908597946167 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:17:02.595380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa4091748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.53221130371094 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:19:22.661708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f84d4f6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.77769255638123 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:21:41.940206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb2f54748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.7612783908844 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 06:24:02.434414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8b11f160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.5324363708496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:26:22.603562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa5f4a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.67699575424194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:28:41.838167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f80d47748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.70549511909485 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:31:02.491387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f9755a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.3154742717743 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:33:22.532713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa82f9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.5866219997406 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:35:41.853561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f94390748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.52933168411255 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:38:02.330932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f8b9e8748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.36549758911133 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:40:22.552654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f92714748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.40620636940002 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:42:41.848453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f947bd748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.4223337173462 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:45:02.378875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7faa539748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.1560320854187 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:47:22.597639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fb5d0f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.20281982421875 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:49:41.841218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa4968748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.22250723838806 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:52:02.318204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7f86d02748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.0583107471466 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:54:22.487436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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 0x7fa7dc6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.19677901268005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 06:56:42.778669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg
 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-22 06:59:03.412831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg
2025-01-22 06:59:03.149580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_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;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT 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 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local DESC LIMIT 6;
  port_id : 19789723
  datou_current_id : 2499866
in upload_from_sqlite, uploading in 19789723
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg', '/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg', '/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg', '/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2499866&datou=0
/media/data/images/21012025/21/04/image_21012025_21_04_33_5390.jpg
/media/data/images/21012025/21/04/image_21012025_21_04_27_5381.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_57_5369.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_51_6629.jpg
/media/data/images/21012025/21/03/image_21012025_21_03_21_5834.jpg
/media/data/images/21012025/21/02/image_21012025_21_02_57_4682.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
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 0x7f9ff3b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.9306881427765 secondes ---
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 0x7fb29326d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.19394993782043 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 07:01:41.814345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f8230d860>: 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 0x7f8230d860>: 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 0x7f8230d860>: 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-22 07:04:03.554555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-22 07:04:03.349717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7fca9828>: 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 0x7f7fca9828>: 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 0x7f7fca9828>: 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_22012025.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 0x7fa70c9860>: 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 0x7fa70c9860>: 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 0x7fa70c9860>: 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-22 07:06:22.398139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fa1646860>: 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 0x7fa1646860>: 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 0x7fa1646860>: 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-22 07:08:42.697677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fabd26860>: 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 0x7fabd26860>: 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 0x7fabd26860>: 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-22 07:11:03.195248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f826c8860>: 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 0x7f826c8860>: 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 0x7f826c8860>: 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-22 07:13:22.359203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7a70c860>: 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 0x7f7a70c860>: 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 0x7f7a70c860>: 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-22 07:15:42.651892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7d15d860>: 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 0x7f7d15d860>: 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 0x7f7d15d860>: 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-22 07:18:03.099165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fa326c860>: 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 0x7fa326c860>: 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 0x7fa326c860>: 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-22 07:20:22.290493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f99caf7f0>: 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 0x7f99caf7f0>: 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 0x7f99caf7f0>: 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-22 07:22:41.873650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f97a27860>: 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 0x7f97a27860>: 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 0x7f97a27860>: 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-22 07:25:03.853788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f82c1b860>: 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 0x7f82c1b860>: 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 0x7f82c1b860>: 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-22 07:27:22.448411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fabf6a860>: 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 0x7fabf6a860>: 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 0x7fabf6a860>: 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-22 07:29:42.803014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fb18a2860>: 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 0x7fb18a2860>: 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 0x7fb18a2860>: 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-22 07:32:03.434956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fa901a7f0>: 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 0x7fa901a7f0>: 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 0x7fa901a7f0>: 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-22 07:34:22.611170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f917d5860>: 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 0x7f917d5860>: 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 0x7f917d5860>: 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-22 07:36:42.879789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fae462860>: 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 0x7fae462860>: 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 0x7fae462860>: 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-22 07:39:04.183451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-22 07:39:04.353008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f85050828>: 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 0x7f85050828>: 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 0x7f85050828>: 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_22012025.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 0x7fb2104860>: 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 0x7fb2104860>: 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 0x7fb2104860>: 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-22 07:41:22.543670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f83524860>: 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 0x7f83524860>: 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 0x7f83524860>: 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-22 07:43:42.043544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f97ca4860>: 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 0x7f97ca4860>: 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 0x7f97ca4860>: 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-22 07:46:03.475358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7b8ca7f0>: 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 0x7f7b8ca7f0>: 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 0x7f7b8ca7f0>: 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-22 07:48:22.661273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fa6b8c860>: 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 0x7fa6b8c860>: 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 0x7fa6b8c860>: 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-22 07:50:42.099104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f868e4860>: 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 0x7f868e4860>: 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 0x7f868e4860>: 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-22 07:53:04.095183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fabf40860>: 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 0x7fabf40860>: 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 0x7fabf40860>: 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-22 07:55:22.684292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7c3c9860>: 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 0x7f7c3c9860>: 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 0x7f7c3c9860>: 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
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 07:59:04.926196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 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
2025-01-22 07:59:05.284156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 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
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 07:59:22.398540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f8ca22860>: 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 0x7f8ca22860>: 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 0x7f8ca22860>: 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-22 08:01:42.343836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f7b4fe860>: 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 0x7f7b4fe860>: 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 0x7f7b4fe860>: 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-22 08:04:04.333351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-22 08:04:04.471236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f83549860>: 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 0x7f83549860>: 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 0x7f83549860>: 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_22012025.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 0x7fa7165860>: 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 0x7fa7165860>: 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 0x7fa7165860>: 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-22 08:06:21.900900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f98f5d860>: 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 0x7f98f5d860>: 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 0x7f98f5d860>: 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-22 08:08:42.080231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fb5429860>: 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 0x7fb5429860>: 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 0x7fb5429860>: 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-22 08:11:04.241361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f811fc860>: 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 0x7f811fc860>: 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 0x7f811fc860>: 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-22 08:13:21.829223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f8a53d860>: 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 0x7f8a53d860>: 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 0x7f8a53d860>: 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-22 08:15:42.401311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7fb55f9860>: 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 0x7fb55f9860>: 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 0x7fb55f9860>: 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-22 08:18:03.870514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 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_22012025.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 0x7f8520a860>: 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 0x7f8520a860>: 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 0x7f8520a860>: 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-22 08:20:22.016761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_22012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
{'portfolio_id': 19806633, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737530482000}
4892
2501586
4892
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/19/image_22012025_08_19_40_5484.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_35_5484.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_17_5654.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_12_6003.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_06_6166.jpg', '/media/data/images/22012025/08/18/image_22012025_08_18_23_5460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/19/image_22012025_08_19_40_5484.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_35_5484.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_17_5654.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_12_6003.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_06_6166.jpg
/media/data/images/22012025/08/18/image_22012025_08_18_23_5460.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: 24.659762620925903 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:21:04.077533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/19/image_22012025_08_19_40_5484.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_35_5484.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_17_5654.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_12_6003.jpg', '/media/data/images/22012025/08/19/image_22012025_08_19_06_6166.jpg', '/media/data/images/22012025/08/18/image_22012025_08_18_23_5460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/19/image_22012025_08_19_40_5484.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_35_5484.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_17_5654.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_12_6003.jpg
/media/data/images/22012025/08/19/image_22012025_08_19_06_6166.jpg
/media/data/images/22012025/08/18/image_22012025_08_18_23_5460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538024","1330538027","1330538012","1330538020","1330538014","1330538017"],"photo_ids_order":["1330538012","1330538014","1330538017","1330538020","1330538024","1330538027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4622affbc0085e15b89fc0acfc504f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2255481960293862615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_19_06_6166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4387477b8c62b32f554b1da4b3e03a38.jpg","text":"TemporaryFile(/tmp/multipartBody7492167284458915309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_18_23_5460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3f1b3f05c512c038fc31502a2e4dd866.jpg","text":"TemporaryFile(/tmp/multipartBody1744215575069798324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_19_40_5484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/831096f04ed30a20b43188245d19db71.jpg","text":"TemporaryFile(/tmp/multipartBody7280909365484455835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_19_12_6003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ec8cdce06b1c36eae1449ae914fc0d45.jpg","text":"TemporaryFile(/tmp/multipartBody404762091915043063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_19_35_5484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/044e3d3a44be430c68c4355d076765ce.jpg","text":"TemporaryFile(/tmp/multipartBody5001587256398194501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530547330,"filename":"image_22012025_08_19_17_5654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538017","file1":"1330538014","file0":"1330538012","file4":"1330538024","file5":"1330538027","file3":"1330538020"},"map_files_photo_id_array":[{"photo_id":"1330538027","filename":"file5"},{"photo_id":"1330538017","filename":"file2"},{"photo_id":"1330538024","filename":"file4"},{"photo_id":"1330538014","filename":"file1"},{"photo_id":"1330538012","filename":"file0"},{"photo_id":"1330538020","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538024":["hashtag1","hashtag2"]},{"1330538027":["hashtag1","hashtag2"]},{"1330538012":["hashtag1","hashtag2"]},{"1330538020":["hashtag1","hashtag2"]},{"1330538014":["hashtag1","hashtag2"]},{"1330538017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538024, 1330538027, 1330538012, 1330538020, 1330538014, 1330538017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 119.34119248390198 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:23:22.565243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/23/image_22012025_08_23_41_5459.jpg', '/media/data/images/22012025/08/23/image_22012025_08_23_23_5438.jpg', '/media/data/images/22012025/08/23/image_22012025_08_23_18_6725.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_40_5464.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_29_6176.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_24_5396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/23/image_22012025_08_23_41_5459.jpg
/media/data/images/22012025/08/23/image_22012025_08_23_23_5438.jpg
/media/data/images/22012025/08/23/image_22012025_08_23_18_6725.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_40_5464.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_29_6176.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_24_5396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538109","1330538084","1330538093","1330538105","1330538098","1330538104"],"photo_ids_order":["1330538084","1330538093","1330538098","1330538104","1330538105","1330538109"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3146a037a23d93c0dd7ba37b2b21363c.jpg","text":"TemporaryFile(/tmp/multipartBody2333986639460543164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_22_24_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c097bfb4ae80856b2e27776f4f03fb94.jpg","text":"TemporaryFile(/tmp/multipartBody8439387741935034943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_23_41_5459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/627fcdce8693e1420e492cac1c5fce03.jpg","text":"TemporaryFile(/tmp/multipartBody5370475928418823410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_23_23_5438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c03c94d8dd6c53e4a8628c4222f91af.jpg","text":"TemporaryFile(/tmp/multipartBody3001847269896614118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_22_29_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/22/b538477c4820fa71a23d3ed3af0d22d7.jpg","text":"TemporaryFile(/tmp/multipartBody4421493973121750888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_23_18_6725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/27d2644272a6426980f9d2968dd0ffa8.jpg","text":"TemporaryFile(/tmp/multipartBody3900565554545528087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530683766,"filename":"image_22012025_08_22_40_5464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538098","file1":"1330538093","file0":"1330538084","file4":"1330538105","file5":"1330538109","file3":"1330538104"},"map_files_photo_id_array":[{"photo_id":"1330538109","filename":"file5"},{"photo_id":"1330538098","filename":"file2"},{"photo_id":"1330538105","filename":"file4"},{"photo_id":"1330538093","filename":"file1"},{"photo_id":"1330538084","filename":"file0"},{"photo_id":"1330538104","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538109":["hashtag1","hashtag2"]},{"1330538084":["hashtag1","hashtag2"]},{"1330538093":["hashtag1","hashtag2"]},{"1330538105":["hashtag1","hashtag2"]},{"1330538098":["hashtag1","hashtag2"]},{"1330538104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538109, 1330538084, 1330538093, 1330538105, 1330538098, 1330538104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.022175550460815 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:24:26.235350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/24/image_22012025_08_24_53_5581.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_42_6889.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_31_6872.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_24_5523.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_18_7138.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_11_4857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/24/image_22012025_08_24_53_5581.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_42_6889.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_31_6872.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_24_5523.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_18_7138.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_11_4857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538162","1330538176","1330538158","1330538152","1330538172","1330538166"],"photo_ids_order":["1330538152","1330538158","1330538162","1330538166","1330538172","1330538176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1589eb5364814e2c79d3bb694e0d9cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6575399828323372306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_31_6872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a63c8f8ba90181cc90b8d65a7ff274b.jpg","text":"TemporaryFile(/tmp/multipartBody1601577205189226776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_11_4857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dfe2b6129e5899cac66f27a09747a6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8028275594076300853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_42_6889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60fccff6f757548dfd60e7a7e3a69510.jpg","text":"TemporaryFile(/tmp/multipartBody7507558579298349303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_53_5581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b642bac0c51e75526079ff37a8095d18.jpg","text":"TemporaryFile(/tmp/multipartBody7061682637601499681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_18_7138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f97925e7b690af38288c1a026174f142.jpg","text":"TemporaryFile(/tmp/multipartBody101288382059153728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530749151,"filename":"image_22012025_08_24_24_5523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538162","file1":"1330538158","file0":"1330538152","file4":"1330538172","file5":"1330538176","file3":"1330538166"},"map_files_photo_id_array":[{"photo_id":"1330538176","filename":"file5"},{"photo_id":"1330538162","filename":"file2"},{"photo_id":"1330538172","filename":"file4"},{"photo_id":"1330538158","filename":"file1"},{"photo_id":"1330538152","filename":"file0"},{"photo_id":"1330538166","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538162":["hashtag1","hashtag2"]},{"1330538176":["hashtag1","hashtag2"]},{"1330538158":["hashtag1","hashtag2"]},{"1330538152":["hashtag1","hashtag2"]},{"1330538172":["hashtag1","hashtag2"]},{"1330538166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538162, 1330538176, 1330538158, 1330538152, 1330538172, 1330538166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.799293518066406 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:25:22.540558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/25/image_22012025_08_25_47_4647.jpg', '/media/data/images/22012025/08/25/image_22012025_08_25_16_6014.jpg', '/media/data/images/22012025/08/25/image_22012025_08_25_05_5433.jpg', '/media/data/images/22012025/08/24/image_22012025_08_24_59_6694.jpg', '/media/data/images/22012025/08/23/image_22012025_08_23_58_5482.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_11_5652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/25/image_22012025_08_25_47_4647.jpg
/media/data/images/22012025/08/25/image_22012025_08_25_16_6014.jpg
/media/data/images/22012025/08/25/image_22012025_08_25_05_5433.jpg
/media/data/images/22012025/08/24/image_22012025_08_24_59_6694.jpg
/media/data/images/22012025/08/23/image_22012025_08_23_58_5482.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_11_5652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538232","1330538226","1330538230","1330538221","1330538244","1330538238"],"photo_ids_order":["1330538221","1330538226","1330538230","1330538232","1330538238","1330538244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2e5bc8ec0f449a98d390609eff25d05.jpg","text":"TemporaryFile(/tmp/multipartBody5406570564296970558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_24_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/22/2a9e09c9da905f1da9a0177012cf581d.jpg","text":"TemporaryFile(/tmp/multipartBody8467395373350335932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_25_16_6014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a9ce9fc8f95570ac70442fd092d7ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5556774043778905781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_25_05_5433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ea139e17ad8d8a087b2d26b56b9bc37.jpg","text":"TemporaryFile(/tmp/multipartBody3275967937535537790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_25_47_4647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e565f9e489da5f2f516f0fc3e0b04ea.jpg","text":"TemporaryFile(/tmp/multipartBody1082771116492310456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_22_11_5652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a3ac59ab2565aa45cf3905c4f4ab719a.jpg","text":"TemporaryFile(/tmp/multipartBody4827870542790202546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530808566,"filename":"image_22012025_08_23_58_5482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538230","file1":"1330538226","file0":"1330538221","file4":"1330538238","file5":"1330538244","file3":"1330538232"},"map_files_photo_id_array":[{"photo_id":"1330538244","filename":"file5"},{"photo_id":"1330538230","filename":"file2"},{"photo_id":"1330538238","filename":"file4"},{"photo_id":"1330538226","filename":"file1"},{"photo_id":"1330538221","filename":"file0"},{"photo_id":"1330538232","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538232":["hashtag1","hashtag2"]},{"1330538226":["hashtag1","hashtag2"]},{"1330538230":["hashtag1","hashtag2"]},{"1330538221":["hashtag1","hashtag2"]},{"1330538244":["hashtag1","hashtag2"]},{"1330538238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538232, 1330538226, 1330538230, 1330538221, 1330538244, 1330538238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.7979793548584 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:26:22.756416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/26/image_22012025_08_26_53_6335.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_48_5038.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_36_4988.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_24_6860.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_17_5791.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_11_6306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/26/image_22012025_08_26_53_6335.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_48_5038.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_36_4988.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_24_6860.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_17_5791.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_11_6306.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538297","1330538306","1330538302","1330538292","1330538286","1330538280"],"photo_ids_order":["1330538280","1330538286","1330538292","1330538297","1330538302","1330538306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19efac6ae3eabb70d8010d3899aea23b.jpg","text":"TemporaryFile(/tmp/multipartBody5994430231906156531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_24_6860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/350e424a2d714a2d92d136c65280d47b.jpg","text":"TemporaryFile(/tmp/multipartBody7831703708500968535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_11_6306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8d9ffc34e16bf001b5b040723be707a6.jpg","text":"TemporaryFile(/tmp/multipartBody5113609825038832963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_17_5791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9656968e8646e65bc18791817d6d1394.jpg","text":"TemporaryFile(/tmp/multipartBody2152966554241113807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_36_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/22/bcabe855b2b2b1e444cd82c96cf0aa0b.jpg","text":"TemporaryFile(/tmp/multipartBody5099168479963224658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_48_5038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8799b47b6228e6b3a32d5fc890ca4aa.jpg","text":"TemporaryFile(/tmp/multipartBody8124416857821576812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530869383,"filename":"image_22012025_08_26_53_6335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538292","file1":"1330538286","file0":"1330538280","file4":"1330538302","file5":"1330538306","file3":"1330538297"},"map_files_photo_id_array":[{"photo_id":"1330538306","filename":"file5"},{"photo_id":"1330538292","filename":"file2"},{"photo_id":"1330538302","filename":"file4"},{"photo_id":"1330538286","filename":"file1"},{"photo_id":"1330538280","filename":"file0"},{"photo_id":"1330538297","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538297":["hashtag1","hashtag2"]},{"1330538306":["hashtag1","hashtag2"]},{"1330538302":["hashtag1","hashtag2"]},{"1330538292":["hashtag1","hashtag2"]},{"1330538286":["hashtag1","hashtag2"]},{"1330538280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538297, 1330538306, 1330538302, 1330538292, 1330538286, 1330538280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.16940784454346 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:27:22.086078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/27/image_22012025_08_27_53_5151.jpg', '/media/data/images/22012025/08/27/image_22012025_08_27_48_6939.jpg', '/media/data/images/22012025/08/27/image_22012025_08_27_17_5412.jpg', '/media/data/images/22012025/08/27/image_22012025_08_27_11_5879.jpg', '/media/data/images/22012025/08/27/image_22012025_08_27_06_6807.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_59_5439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/27/image_22012025_08_27_53_5151.jpg
/media/data/images/22012025/08/27/image_22012025_08_27_48_6939.jpg
/media/data/images/22012025/08/27/image_22012025_08_27_17_5412.jpg
/media/data/images/22012025/08/27/image_22012025_08_27_11_5879.jpg
/media/data/images/22012025/08/27/image_22012025_08_27_06_6807.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_59_5439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538345","1330538360","1330538341","1330538347","1330538355","1330538349"],"photo_ids_order":["1330538341","1330538345","1330538347","1330538349","1330538355","1330538360"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d6b4b7bd90611475531cad984cc16b3f.jpg","text":"TemporaryFile(/tmp/multipartBody216775541860619586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_27_48_6939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fdca1679e811a62936231ee240a6568c.jpg","text":"TemporaryFile(/tmp/multipartBody5210233694738593420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_26_59_5439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c83d9cc4de95ff5f04b62d4500ced796.jpg","text":"TemporaryFile(/tmp/multipartBody2173284666042615819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_27_53_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/22/b2793889496bf7f6b4bf1bb3964bacbe.jpg","text":"TemporaryFile(/tmp/multipartBody7383681158914855526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_27_17_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/837efd578743396e32d1d364a72938f9.jpg","text":"TemporaryFile(/tmp/multipartBody7221336950377825006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_27_06_6807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c560e24deb4ef3437400e8175171f2ef.jpg","text":"TemporaryFile(/tmp/multipartBody561389007297091821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530928887,"filename":"image_22012025_08_27_11_5879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538347","file1":"1330538345","file0":"1330538341","file4":"1330538355","file5":"1330538360","file3":"1330538349"},"map_files_photo_id_array":[{"photo_id":"1330538360","filename":"file5"},{"photo_id":"1330538347","filename":"file2"},{"photo_id":"1330538355","filename":"file4"},{"photo_id":"1330538345","filename":"file1"},{"photo_id":"1330538341","filename":"file0"},{"photo_id":"1330538349","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538345":["hashtag1","hashtag2"]},{"1330538360":["hashtag1","hashtag2"]},{"1330538341":["hashtag1","hashtag2"]},{"1330538347":["hashtag1","hashtag2"]},{"1330538355":["hashtag1","hashtag2"]},{"1330538349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538345, 1330538360, 1330538341, 1330538347, 1330538355, 1330538349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52848482131958 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:28:22.343628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/28/image_22012025_08_28_47_5027.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_42_6926.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_35_5108.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_30_6949.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_23_5567.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_05_5016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/28/image_22012025_08_28_47_5027.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_42_6926.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_35_5108.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_30_6949.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_23_5567.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_05_5016.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538412","1330538375","1330538380","1330538404","1330538397","1330538388"],"photo_ids_order":["1330538375","1330538380","1330538388","1330538397","1330538404","1330538412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f84a251fa58d14c226621a3f837a7b10.jpg","text":"TemporaryFile(/tmp/multipartBody4873026990418346745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_05_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/22/5204edc0a8949f700faed096edad6044.jpg","text":"TemporaryFile(/tmp/multipartBody5184787322950992865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_47_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/22/22ae5add8493407889471c5ebc8dbfb0.jpg","text":"TemporaryFile(/tmp/multipartBody741109930410592458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_42_6926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3759785343b0ba60c53f6de64ae3f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1021496433520106201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_23_5567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7886b2abd0fe07f0e6c6b800ae58d445.jpg","text":"TemporaryFile(/tmp/multipartBody3988839831915663225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_30_6949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b8b3cab5ab43edfc4334f744320d546.jpg","text":"TemporaryFile(/tmp/multipartBody7536546363266166141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737530970402,"filename":"image_22012025_08_28_35_5108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538388","file1":"1330538380","file0":"1330538375","file4":"1330538404","file5":"1330538412","file3":"1330538397"},"map_files_photo_id_array":[{"photo_id":"1330538412","filename":"file5"},{"photo_id":"1330538388","filename":"file2"},{"photo_id":"1330538404","filename":"file4"},{"photo_id":"1330538380","filename":"file1"},{"photo_id":"1330538375","filename":"file0"},{"photo_id":"1330538397","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538412":["hashtag1","hashtag2"]},{"1330538375":["hashtag1","hashtag2"]},{"1330538380":["hashtag1","hashtag2"]},{"1330538404":["hashtag1","hashtag2"]},{"1330538397":["hashtag1","hashtag2"]},{"1330538388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538412, 1330538375, 1330538380, 1330538404, 1330538397, 1330538388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47361516952515 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:29:22.495564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/29/image_22012025_08_29_40_5417.jpg', '/media/data/images/22012025/08/29/image_22012025_08_29_29_5865.jpg', '/media/data/images/22012025/08/29/image_22012025_08_29_24_5555.jpg', '/media/data/images/22012025/08/29/image_22012025_08_29_18_6837.jpg', '/media/data/images/22012025/08/29/image_22012025_08_29_11_6029.jpg', '/media/data/images/22012025/08/28/image_22012025_08_28_59_5455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/29/image_22012025_08_29_40_5417.jpg
/media/data/images/22012025/08/29/image_22012025_08_29_29_5865.jpg
/media/data/images/22012025/08/29/image_22012025_08_29_24_5555.jpg
/media/data/images/22012025/08/29/image_22012025_08_29_18_6837.jpg
/media/data/images/22012025/08/29/image_22012025_08_29_11_6029.jpg
/media/data/images/22012025/08/28/image_22012025_08_28_59_5455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538525","1330538521","1330538503","1330538496","1330538514","1330538508"],"photo_ids_order":["1330538496","1330538503","1330538508","1330538514","1330538521","1330538525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14ee33f2a3a85611894459eaa7cb7213.jpg","text":"TemporaryFile(/tmp/multipartBody8781044023775778136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_28_59_5455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d929f81ceebe64d8f5bc710147ce058.jpg","text":"TemporaryFile(/tmp/multipartBody8088776962404513637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_29_11_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce13818c7856e1c7c6cfe6f851f0b746.jpg","text":"TemporaryFile(/tmp/multipartBody6878876880195950913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_29_29_5865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7366a77b114a65745e48343cf95d476d.jpg","text":"TemporaryFile(/tmp/multipartBody3125320297031771002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_29_40_5417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f85a713569e4b47185836df7c1f689df.jpg","text":"TemporaryFile(/tmp/multipartBody7762378229152173295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_29_18_6837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/edb691f2d1149933193154b2609d316b.jpg","text":"TemporaryFile(/tmp/multipartBody4078551665156994742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531050772,"filename":"image_22012025_08_29_24_5555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538508","file1":"1330538503","file0":"1330538496","file4":"1330538521","file5":"1330538525","file3":"1330538514"},"map_files_photo_id_array":[{"photo_id":"1330538525","filename":"file5"},{"photo_id":"1330538508","filename":"file2"},{"photo_id":"1330538521","filename":"file4"},{"photo_id":"1330538503","filename":"file1"},{"photo_id":"1330538496","filename":"file0"},{"photo_id":"1330538514","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538525":["hashtag1","hashtag2"]},{"1330538521":["hashtag1","hashtag2"]},{"1330538503":["hashtag1","hashtag2"]},{"1330538496":["hashtag1","hashtag2"]},{"1330538514":["hashtag1","hashtag2"]},{"1330538508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538525, 1330538521, 1330538503, 1330538496, 1330538514, 1330538508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.81330704689026 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:30:42.788097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/30/image_22012025_08_30_16_6045.jpg', '/media/data/images/22012025/08/30/image_22012025_08_30_10_4836.jpg', '/media/data/images/22012025/08/29/image_22012025_08_29_47_6668.jpg', '/media/data/images/22012025/08/27/image_22012025_08_28_00_6713.jpg', '/media/data/images/22012025/08/26/image_22012025_08_26_05_5767.jpg', '/media/data/images/22012025/08/25/image_22012025_08_25_59_5445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/30/image_22012025_08_30_16_6045.jpg
/media/data/images/22012025/08/30/image_22012025_08_30_10_4836.jpg
/media/data/images/22012025/08/29/image_22012025_08_29_47_6668.jpg
/media/data/images/22012025/08/27/image_22012025_08_28_00_6713.jpg
/media/data/images/22012025/08/26/image_22012025_08_26_05_5767.jpg
/media/data/images/22012025/08/25/image_22012025_08_25_59_5445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538597","1330538603","1330538599","1330538595","1330538613","1330538607"],"photo_ids_order":["1330538595","1330538597","1330538599","1330538603","1330538607","1330538613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49eb9fa3454b055b376ca884da3b364a.jpg","text":"TemporaryFile(/tmp/multipartBody26204571355218827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_30_10_4836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e3f7f892c87a11746b1e3fa7e027444.jpg","text":"TemporaryFile(/tmp/multipartBody4126070650107927765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_28_00_6713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8496e64ea12c6aaa22d8a089264017e3.jpg","text":"TemporaryFile(/tmp/multipartBody7179539901524431150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_29_47_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/22/49961ce895a839231f2a0d2c565f6a32.jpg","text":"TemporaryFile(/tmp/multipartBody1462423387283101688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_30_16_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce5c18dc8480f288b546bb690cf13331.jpg","text":"TemporaryFile(/tmp/multipartBody1734722091375490806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_25_59_5445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cde293cdb31e6ad8de482a5aa3547f52.jpg","text":"TemporaryFile(/tmp/multipartBody1893446764290740439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531129513,"filename":"image_22012025_08_26_05_5767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538599","file1":"1330538597","file0":"1330538595","file4":"1330538607","file5":"1330538613","file3":"1330538603"},"map_files_photo_id_array":[{"photo_id":"1330538613","filename":"file5"},{"photo_id":"1330538599","filename":"file2"},{"photo_id":"1330538607","filename":"file4"},{"photo_id":"1330538597","filename":"file1"},{"photo_id":"1330538595","filename":"file0"},{"photo_id":"1330538603","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538597":["hashtag1","hashtag2"]},{"1330538603":["hashtag1","hashtag2"]},{"1330538599":["hashtag1","hashtag2"]},{"1330538595":["hashtag1","hashtag2"]},{"1330538613":["hashtag1","hashtag2"]},{"1330538607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538597, 1330538603, 1330538599, 1330538595, 1330538613, 1330538607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.2608368396759 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:32:03.494836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/31/image_22012025_08_31_54_6977.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_48_5362.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_42_6614.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_35_5453.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_29_6733.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_17_6931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/31/image_22012025_08_31_54_6977.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_48_5362.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_42_6614.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_35_5453.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_29_6733.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_17_6931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538681","1330538750","1330538716","1330538685","1330538739","1330538733"],"photo_ids_order":["1330538681","1330538685","1330538716","1330538733","1330538739","1330538750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42e82b154353db6ede7d97466d0f1d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5895691346102954219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_54_6977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fd9010519188b1af48bf20e73afa2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody9030359091022742893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_17_6931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2235be2278fa30554ebf512b1c7d07e8.jpg","text":"TemporaryFile(/tmp/multipartBody4723037719677874517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_42_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/22/92233fa9bba278ee2b3eec48d2d3bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody857582571371187761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_48_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/22/0f9fcc8a3cc5f1801a51b53971a3c293.jpg","text":"TemporaryFile(/tmp/multipartBody2108299883387247214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_29_6733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd59c46dd2a695573ba775cd8a4a8217.jpg","text":"TemporaryFile(/tmp/multipartBody8594587836796686644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531206113,"filename":"image_22012025_08_31_35_5453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538716","file1":"1330538685","file0":"1330538681","file4":"1330538739","file5":"1330538750","file3":"1330538733"},"map_files_photo_id_array":[{"photo_id":"1330538750","filename":"file5"},{"photo_id":"1330538716","filename":"file2"},{"photo_id":"1330538739","filename":"file4"},{"photo_id":"1330538685","filename":"file1"},{"photo_id":"1330538681","filename":"file0"},{"photo_id":"1330538733","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538681":["hashtag1","hashtag2"]},{"1330538750":["hashtag1","hashtag2"]},{"1330538716":["hashtag1","hashtag2"]},{"1330538685":["hashtag1","hashtag2"]},{"1330538739":["hashtag1","hashtag2"]},{"1330538733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538681, 1330538750, 1330538716, 1330538685, 1330538739, 1330538733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.056164026260376 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:33:03.823806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/32/image_22012025_08_32_46_5274.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_41_6452.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_35_5276.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_29_6641.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_11_6815.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_05_5493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/32/image_22012025_08_32_46_5274.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_41_6452.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_35_5276.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_29_6641.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_11_6815.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_05_5493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538814","1330538810","1330538804","1330538807","1330538797","1330538793"],"photo_ids_order":["1330538793","1330538797","1330538804","1330538807","1330538810","1330538814"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1cabee8b18d3530ffb0acc5daf5bbfaf.jpg","text":"TemporaryFile(/tmp/multipartBody2108007012657280640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_05_5493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0672ba20d28d1249819db8098ecb5430.jpg","text":"TemporaryFile(/tmp/multipartBody4486914923619000149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_11_6815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/291967372e6dfe7b002bb112c34d8f56.jpg","text":"TemporaryFile(/tmp/multipartBody7648444207370718253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_35_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/22/705c7586d615e784ebab78958d73a484.jpg","text":"TemporaryFile(/tmp/multipartBody5258112000164549343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_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/22/f7559600df7f03b676003b41276e2e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7115310903354283800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_41_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/22/88dbe03f190672dd002a5b67bc96b826.jpg","text":"TemporaryFile(/tmp/multipartBody7382122043809360657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531254815,"filename":"image_22012025_08_32_46_5274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538804","file1":"1330538797","file0":"1330538793","file4":"1330538810","file5":"1330538814","file3":"1330538807"},"map_files_photo_id_array":[{"photo_id":"1330538814","filename":"file5"},{"photo_id":"1330538804","filename":"file2"},{"photo_id":"1330538810","filename":"file4"},{"photo_id":"1330538797","filename":"file1"},{"photo_id":"1330538793","filename":"file0"},{"photo_id":"1330538807","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538814":["hashtag1","hashtag2"]},{"1330538810":["hashtag1","hashtag2"]},{"1330538804":["hashtag1","hashtag2"]},{"1330538807":["hashtag1","hashtag2"]},{"1330538797":["hashtag1","hashtag2"]},{"1330538793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538814, 1330538810, 1330538804, 1330538807, 1330538797, 1330538793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.2133469581604 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 08:34:04.125473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/33/image_22012025_08_33_24_5043.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_53_6528.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_59_5020.jpg', '/media/data/images/22012025/08/30/image_22012025_08_30_31_6931.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_05_6249.jpg', '/media/data/images/22012025/08/21/image_22012025_08_21_58_5487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/33/image_22012025_08_33_24_5043.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_53_6528.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_59_5020.jpg
/media/data/images/22012025/08/30/image_22012025_08_30_31_6931.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_05_6249.jpg
/media/data/images/22012025/08/21/image_22012025_08_21_58_5487.jpg
2025-01-22 08:34:04.331074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/33/image_22012025_08_33_24_5043.jpg', '/media/data/images/22012025/08/32/image_22012025_08_32_53_6528.jpg', '/media/data/images/22012025/08/31/image_22012025_08_31_59_5020.jpg', '/media/data/images/22012025/08/30/image_22012025_08_30_31_6931.jpg', '/media/data/images/22012025/08/22/image_22012025_08_22_05_6249.jpg', '/media/data/images/22012025/08/21/image_22012025_08_21_58_5487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/33/image_22012025_08_33_24_5043.jpg
/media/data/images/22012025/08/32/image_22012025_08_32_53_6528.jpg
/media/data/images/22012025/08/31/image_22012025_08_31_59_5020.jpg
/media/data/images/22012025/08/30/image_22012025_08_30_31_6931.jpg
/media/data/images/22012025/08/22/image_22012025_08_22_05_6249.jpg
/media/data/images/22012025/08/21/image_22012025_08_21_58_5487.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":["1330538939","1330538924","1330538899","1330538944","1330538916","1330538910"],"photo_ids_order":["1330538899","1330538910","1330538916","1330538924","1330538939","1330538944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f355456d2f18dd237ae3d7a614d4d79.jpg","text":"TemporaryFile(/tmp/multipartBody7772204632102891726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_22_05_6249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e2272a7e605cff6965a4300f48e54f25.jpg","text":"TemporaryFile(/tmp/multipartBody7023725136821246066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_30_31_6931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d194a42f321ebe4f509ee693f941cc8.jpg","text":"TemporaryFile(/tmp/multipartBody1621932626564519591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_33_24_5043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b676f900a288d1eab0a96edb2eb493a0.jpg","text":"TemporaryFile(/tmp/multipartBody1272318767467226309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_21_58_5487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/423b88cb0ae43ed3fd07508f07e4a859.jpg","text":"TemporaryFile(/tmp/multipartBody263902903861746458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_31_59_5020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc7ff427b00277e0879929c3370288ec.jpg","text":"TemporaryFile(/tmp/multipartBody6498754797329883959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531328756,"filename":"image_22012025_08_32_53_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538916","file1":"1330538910","file0":"1330538899","file4":"1330538939","file5":"1330538944","file3":"1330538924"},"map_files_photo_id_array":[{"photo_id":"1330538944","filename":"file5"},{"photo_id":"1330538916","filename":"file2"},{"photo_id":"1330538939","filename":"file4"},{"photo_id":"1330538910","filename":"file1"},{"photo_id":"1330538899","filename":"file0"},{"photo_id":"1330538924","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538939":["hashtag1","hashtag2"]},{"1330538924":["hashtag1","hashtag2"]},{"1330538899":["hashtag1","hashtag2"]},{"1330538944":["hashtag1","hashtag2"]},{"1330538916":["hashtag1","hashtag2"]},{"1330538910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538939, 1330538924, 1330538899, 1330538944, 1330538916, 1330538910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.611552238464355 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538927","1330538918","1330538912","1330538938","1330538949","1330538946"],"photo_ids_order":["1330538912","1330538918","1330538927","1330538938","1330538946","1330538949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8eea49c0f138c0dc55a10b6418baf543.jpg","text":"TemporaryFile(/tmp/multipartBody7574422110648382910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_31_59_5020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0687008a5da4cd61ff59e73e83ce42c6.jpg","text":"TemporaryFile(/tmp/multipartBody6461892496639103612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_32_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/22/b7c006087e9eeee19dc120d1098de070.jpg","text":"TemporaryFile(/tmp/multipartBody2820582375659808752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_33_24_5043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ccee755cc2c7f2a4e5f299ebfe599be0.jpg","text":"TemporaryFile(/tmp/multipartBody7269857669632916284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_30_31_6931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b5e48db6182340f52cdd31867d4c51b8.jpg","text":"TemporaryFile(/tmp/multipartBody9185681086230951047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_21_58_5487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b59d118ab55191bb6b34cc49f7e2684c.jpg","text":"TemporaryFile(/tmp/multipartBody857604064806591579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531333465,"filename":"image_22012025_08_22_05_6249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538927","file1":"1330538918","file0":"1330538912","file4":"1330538946","file5":"1330538949","file3":"1330538938"},"map_files_photo_id_array":[{"photo_id":"1330538949","filename":"file5"},{"photo_id":"1330538927","filename":"file2"},{"photo_id":"1330538946","filename":"file4"},{"photo_id":"1330538918","filename":"file1"},{"photo_id":"1330538912","filename":"file0"},{"photo_id":"1330538938","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538927":["hashtag1","hashtag2"]},{"1330538918":["hashtag1","hashtag2"]},{"1330538912":["hashtag1","hashtag2"]},{"1330538938":["hashtag1","hashtag2"]},{"1330538949":["hashtag1","hashtag2"]},{"1330538946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538927, 1330538918, 1330538912, 1330538938, 1330538949, 1330538946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.80255651473999 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:35:22.582041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/35/image_22012025_08_35_47_6545.jpg', '/media/data/images/22012025/08/35/image_22012025_08_35_12_6781.jpg', '/media/data/images/22012025/08/34/image_22012025_08_34_59_5307.jpg', '/media/data/images/22012025/08/34/image_22012025_08_34_40_5273.jpg', '/media/data/images/22012025/08/34/image_22012025_08_34_35_6502.jpg', '/media/data/images/22012025/08/34/image_22012025_08_34_13_6722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/35/image_22012025_08_35_47_6545.jpg
/media/data/images/22012025/08/35/image_22012025_08_35_12_6781.jpg
/media/data/images/22012025/08/34/image_22012025_08_34_59_5307.jpg
/media/data/images/22012025/08/34/image_22012025_08_34_40_5273.jpg
/media/data/images/22012025/08/34/image_22012025_08_34_35_6502.jpg
/media/data/images/22012025/08/34/image_22012025_08_34_13_6722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330538987","1330538992","1330538998","1330539007","1330539003","1330538982"],"photo_ids_order":["1330538982","1330538987","1330538992","1330538998","1330539003","1330539007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76fa7e98806042552429d3dcbd16d5bd.jpg","text":"TemporaryFile(/tmp/multipartBody1980907902404806541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_35_12_6781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/218ab6d3ecaea0ca101be6c5c9442c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8570632434493986141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_34_59_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/22/81f732fcb07f900a831c038d718a75df.jpg","text":"TemporaryFile(/tmp/multipartBody647009572695396798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_34_40_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/956098478df784cff7f1bd1c39d368c2.jpg","text":"TemporaryFile(/tmp/multipartBody7188148341247200382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_34_13_6722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d803a47871340358499ef1d83fa8a83.jpg","text":"TemporaryFile(/tmp/multipartBody6704863388100584708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_34_35_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/22/34f33cd217c9ab93255162e45c896d40.jpg","text":"TemporaryFile(/tmp/multipartBody5800346222622301036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531391754,"filename":"image_22012025_08_35_47_6545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330538992","file1":"1330538987","file0":"1330538982","file4":"1330539003","file5":"1330539007","file3":"1330538998"},"map_files_photo_id_array":[{"photo_id":"1330539007","filename":"file5"},{"photo_id":"1330538992","filename":"file2"},{"photo_id":"1330539003","filename":"file4"},{"photo_id":"1330538987","filename":"file1"},{"photo_id":"1330538982","filename":"file0"},{"photo_id":"1330538998","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330538987":["hashtag1","hashtag2"]},{"1330538992":["hashtag1","hashtag2"]},{"1330538998":["hashtag1","hashtag2"]},{"1330539007":["hashtag1","hashtag2"]},{"1330539003":["hashtag1","hashtag2"]},{"1330538982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330538987, 1330538992, 1330538998, 1330539007, 1330539003, 1330538982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39309358596802 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:36:22.785812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/36/image_22012025_08_36_53_6529.jpg', '/media/data/images/22012025/08/36/image_22012025_08_36_24_6582.jpg', '/media/data/images/22012025/08/36/image_22012025_08_36_12_6162.jpg', '/media/data/images/22012025/08/35/image_22012025_08_35_59_6502.jpg', '/media/data/images/22012025/08/33/image_22012025_08_33_29_5589.jpg', '/media/data/images/22012025/08/21/image_22012025_08_21_48_6941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/36/image_22012025_08_36_53_6529.jpg
/media/data/images/22012025/08/36/image_22012025_08_36_24_6582.jpg
/media/data/images/22012025/08/36/image_22012025_08_36_12_6162.jpg
/media/data/images/22012025/08/35/image_22012025_08_35_59_6502.jpg
/media/data/images/22012025/08/33/image_22012025_08_33_29_5589.jpg
/media/data/images/22012025/08/21/image_22012025_08_21_48_6941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539044","1330539079","1330539072","1330539108","1330539098","1330539056"],"photo_ids_order":["1330539044","1330539056","1330539072","1330539079","1330539098","1330539108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/52027e2a5d36d9688bfa48d15982141f.jpg","text":"TemporaryFile(/tmp/multipartBody3638640990363506070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_36_53_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/22/c1b8d604f8397dd61df4895ec8af8976.jpg","text":"TemporaryFile(/tmp/multipartBody1704178791008931041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_35_59_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/22/abd6973609ab2338e7a0911bfe195267.jpg","text":"TemporaryFile(/tmp/multipartBody7394973496058766084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_36_12_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/22/540c11ef23707eca29817064e05b015c.jpg","text":"TemporaryFile(/tmp/multipartBody463507687656596729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_21_48_6941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d08ae75185d9ff40fb6b6fd50a794c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4163022573685083832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_33_29_5589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e25d16c8cdba39caebc39beabd350be.jpg","text":"TemporaryFile(/tmp/multipartBody6164473484877826455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531455645,"filename":"image_22012025_08_36_24_6582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539072","file1":"1330539056","file0":"1330539044","file4":"1330539098","file5":"1330539108","file3":"1330539079"},"map_files_photo_id_array":[{"photo_id":"1330539108","filename":"file5"},{"photo_id":"1330539072","filename":"file2"},{"photo_id":"1330539098","filename":"file4"},{"photo_id":"1330539056","filename":"file1"},{"photo_id":"1330539044","filename":"file0"},{"photo_id":"1330539079","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539044":["hashtag1","hashtag2"]},{"1330539079":["hashtag1","hashtag2"]},{"1330539072":["hashtag1","hashtag2"]},{"1330539108":["hashtag1","hashtag2"]},{"1330539098":["hashtag1","hashtag2"]},{"1330539056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539044, 1330539079, 1330539072, 1330539108, 1330539098, 1330539056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.64501643180847 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:37:21.842603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/37/image_22012025_08_37_52_5320.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_47_6550.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_40_5621.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_35_4992.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_11_5856.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_05_6662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/37/image_22012025_08_37_52_5320.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_47_6550.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_40_5621.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_35_4992.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_11_5856.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_05_6662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539158","1330539134","1330539148","1330539142","1330539153","1330539138"],"photo_ids_order":["1330539134","1330539138","1330539142","1330539148","1330539153","1330539158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc324dad1ab0633a825811ff4850d877.jpg","text":"TemporaryFile(/tmp/multipartBody730307923424568985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_05_6662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ea11173f74a32d73c871cfb24d4c0a7.jpg","text":"TemporaryFile(/tmp/multipartBody798904442737654403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_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/22/74147694a281082bf6be1149ff397e95.jpg","text":"TemporaryFile(/tmp/multipartBody4304999212733595304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_35_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/22/ce3c46bb62341dbb97bf9b2684420588.jpg","text":"TemporaryFile(/tmp/multipartBody1989450062638514911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_40_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f58aa200101666a7461ad79ee14937ef.jpg","text":"TemporaryFile(/tmp/multipartBody3984618163651831859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_11_5856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8f0868ab63b60a5e02ee04faffdc992.jpg","text":"TemporaryFile(/tmp/multipartBody1698160117493591629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531514260,"filename":"image_22012025_08_37_47_6550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539142","file1":"1330539138","file0":"1330539134","file4":"1330539153","file5":"1330539158","file3":"1330539148"},"map_files_photo_id_array":[{"photo_id":"1330539158","filename":"file5"},{"photo_id":"1330539142","filename":"file2"},{"photo_id":"1330539153","filename":"file4"},{"photo_id":"1330539138","filename":"file1"},{"photo_id":"1330539134","filename":"file0"},{"photo_id":"1330539148","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539158":["hashtag1","hashtag2"]},{"1330539134":["hashtag1","hashtag2"]},{"1330539148":["hashtag1","hashtag2"]},{"1330539142":["hashtag1","hashtag2"]},{"1330539153":["hashtag1","hashtag2"]},{"1330539138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539158, 1330539134, 1330539148, 1330539142, 1330539153, 1330539138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12347626686096 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:38:21.901294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/38/image_22012025_08_38_53_6482.jpg', '/media/data/images/22012025/08/38/image_22012025_08_38_47_6481.jpg', '/media/data/images/22012025/08/38/image_22012025_08_38_11_6122.jpg', '/media/data/images/22012025/08/37/image_22012025_08_37_59_6560.jpg', '/media/data/images/22012025/08/36/image_22012025_08_36_59_5279.jpg', '/media/data/images/22012025/08/20/image_22012025_08_20_05_5226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/38/image_22012025_08_38_53_6482.jpg
/media/data/images/22012025/08/38/image_22012025_08_38_47_6481.jpg
/media/data/images/22012025/08/38/image_22012025_08_38_11_6122.jpg
/media/data/images/22012025/08/37/image_22012025_08_37_59_6560.jpg
/media/data/images/22012025/08/36/image_22012025_08_36_59_5279.jpg
/media/data/images/22012025/08/20/image_22012025_08_20_05_5226.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539221","1330539265","1330539226","1330539270","1330539210","1330539254"],"photo_ids_order":["1330539210","1330539221","1330539226","1330539254","1330539265","1330539270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d88db7ead9d5a5fd6f5436b498fc4d0.jpg","text":"TemporaryFile(/tmp/multipartBody639489637917311384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_38_47_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/22/a4fbfd2d4ea18e374d147fd5092ac1ca.jpg","text":"TemporaryFile(/tmp/multipartBody4889485012660695777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_36_59_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/22/41c828767154ce9ab516969bf5ba27cc.jpg","text":"TemporaryFile(/tmp/multipartBody1024996598855719624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_38_11_6122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25cc2fd10b2a405d7a7c20c3c1eada68.jpg","text":"TemporaryFile(/tmp/multipartBody164755718119575666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_20_05_5226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4a8f69f48810ca3f589b80d3aa9c140.jpg","text":"TemporaryFile(/tmp/multipartBody3414894735378746832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_38_53_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/22/9e964b091a2d2d44a0f045583ac30ac7.jpg","text":"TemporaryFile(/tmp/multipartBody290401711120837381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531574119,"filename":"image_22012025_08_37_59_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539226","file1":"1330539221","file0":"1330539210","file4":"1330539265","file5":"1330539270","file3":"1330539254"},"map_files_photo_id_array":[{"photo_id":"1330539270","filename":"file5"},{"photo_id":"1330539226","filename":"file2"},{"photo_id":"1330539265","filename":"file4"},{"photo_id":"1330539221","filename":"file1"},{"photo_id":"1330539210","filename":"file0"},{"photo_id":"1330539254","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539221":["hashtag1","hashtag2"]},{"1330539265":["hashtag1","hashtag2"]},{"1330539226":["hashtag1","hashtag2"]},{"1330539270":["hashtag1","hashtag2"]},{"1330539210":["hashtag1","hashtag2"]},{"1330539254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539221, 1330539265, 1330539226, 1330539270, 1330539210, 1330539254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.32827019691467 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:39:22.120778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/39/image_22012025_08_39_41_6532.jpg', '/media/data/images/22012025/08/39/image_22012025_08_39_17_5281.jpg', '/media/data/images/22012025/08/39/image_22012025_08_39_06_6899.jpg', '/media/data/images/22012025/08/38/image_22012025_08_38_59_5266.jpg', '/media/data/images/22012025/08/18/image_22012025_08_18_17_5520.jpg', '/media/data/images/22012025/08/18/image_22012025_08_18_12_6237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/39/image_22012025_08_39_41_6532.jpg
/media/data/images/22012025/08/39/image_22012025_08_39_17_5281.jpg
/media/data/images/22012025/08/39/image_22012025_08_39_06_6899.jpg
/media/data/images/22012025/08/38/image_22012025_08_38_59_5266.jpg
/media/data/images/22012025/08/18/image_22012025_08_18_17_5520.jpg
/media/data/images/22012025/08/18/image_22012025_08_18_12_6237.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539338","1330539358","1330539328","1330539343","1330539333","1330539353"],"photo_ids_order":["1330539328","1330539333","1330539338","1330539343","1330539353","1330539358"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4461475a7637616ecf73dfeda1d291ba.jpg","text":"TemporaryFile(/tmp/multipartBody673308202970277496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_39_06_6899.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/33278bee3db83655b53d45362e6f45c4.jpg","text":"TemporaryFile(/tmp/multipartBody7243111734009365935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_18_12_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/22/c3c2b49fbc08cb2fd48293f2977a6fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7660613244960788804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_39_41_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/22/2bce0aec30129cba25f077db710d4b05.jpg","text":"TemporaryFile(/tmp/multipartBody3574535923476124484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_38_59_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/22/552fbdea4b3f486971d1367ed6fc7c32.jpg","text":"TemporaryFile(/tmp/multipartBody7313726061898401947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_39_17_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/22/1fdfdf82e2e189336d34b89fd6f1e659.jpg","text":"TemporaryFile(/tmp/multipartBody6035705194062128054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531635366,"filename":"image_22012025_08_18_17_5520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539338","file1":"1330539333","file0":"1330539328","file4":"1330539353","file5":"1330539358","file3":"1330539343"},"map_files_photo_id_array":[{"photo_id":"1330539358","filename":"file5"},{"photo_id":"1330539338","filename":"file2"},{"photo_id":"1330539353","filename":"file4"},{"photo_id":"1330539333","filename":"file1"},{"photo_id":"1330539328","filename":"file0"},{"photo_id":"1330539343","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539338":["hashtag1","hashtag2"]},{"1330539358":["hashtag1","hashtag2"]},{"1330539328":["hashtag1","hashtag2"]},{"1330539343":["hashtag1","hashtag2"]},{"1330539333":["hashtag1","hashtag2"]},{"1330539353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539338, 1330539358, 1330539328, 1330539343, 1330539333, 1330539353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.87924075126648 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:40:22.245606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/40/image_22012025_08_40_53_5281.jpg', '/media/data/images/22012025/08/40/image_22012025_08_40_41_5291.jpg', '/media/data/images/22012025/08/40/image_22012025_08_40_30_6463.jpg', '/media/data/images/22012025/08/40/image_22012025_08_40_17_6817.jpg', '/media/data/images/22012025/08/40/image_22012025_08_40_11_6157.jpg', '/media/data/images/22012025/08/39/image_22012025_08_39_47_5283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/40/image_22012025_08_40_53_5281.jpg
/media/data/images/22012025/08/40/image_22012025_08_40_41_5291.jpg
/media/data/images/22012025/08/40/image_22012025_08_40_30_6463.jpg
/media/data/images/22012025/08/40/image_22012025_08_40_17_6817.jpg
/media/data/images/22012025/08/40/image_22012025_08_40_11_6157.jpg
/media/data/images/22012025/08/39/image_22012025_08_39_47_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":["1330539482","1330539446","1330539478","1330539454","1330539468","1330539459"],"photo_ids_order":["1330539446","1330539454","1330539459","1330539468","1330539478","1330539482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3f92499fc001132df88b2350ab9b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody6456828026057040311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_39_47_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/22/fd0ac888d214e388910e5f396cd1c745.jpg","text":"TemporaryFile(/tmp/multipartBody5781941246759979105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_40_53_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/22/bd655c2d717f6580b594dec7109b0e16.jpg","text":"TemporaryFile(/tmp/multipartBody4267848479804275229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_40_11_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/22/b573b5956816eedf3224de3b446ef689.jpg","text":"TemporaryFile(/tmp/multipartBody3093955328329136248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_40_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/22/7ba76851990d14106e42b7ae964e71de.jpg","text":"TemporaryFile(/tmp/multipartBody5011298232754596860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_40_17_6817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b27e0d53b4a032332ccc971fdd9ff74.jpg","text":"TemporaryFile(/tmp/multipartBody2336906285763296322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531693345,"filename":"image_22012025_08_40_30_6463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539459","file1":"1330539454","file0":"1330539446","file4":"1330539478","file5":"1330539482","file3":"1330539468"},"map_files_photo_id_array":[{"photo_id":"1330539482","filename":"file5"},{"photo_id":"1330539459","filename":"file2"},{"photo_id":"1330539478","filename":"file4"},{"photo_id":"1330539454","filename":"file1"},{"photo_id":"1330539446","filename":"file0"},{"photo_id":"1330539468","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539482":["hashtag1","hashtag2"]},{"1330539446":["hashtag1","hashtag2"]},{"1330539478":["hashtag1","hashtag2"]},{"1330539454":["hashtag1","hashtag2"]},{"1330539468":["hashtag1","hashtag2"]},{"1330539459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539482, 1330539446, 1330539478, 1330539454, 1330539468, 1330539459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17152142524719 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:41:22.401919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/41/image_22012025_08_41_47_6536.jpg', '/media/data/images/22012025/08/41/image_22012025_08_41_41_5282.jpg', '/media/data/images/22012025/08/41/image_22012025_08_41_35_6856.jpg', '/media/data/images/22012025/08/41/image_22012025_08_41_17_6302.jpg', '/media/data/images/22012025/08/41/image_22012025_08_41_11_5748.jpg', '/media/data/images/22012025/08/41/image_22012025_08_41_05_5629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/41/image_22012025_08_41_47_6536.jpg
/media/data/images/22012025/08/41/image_22012025_08_41_41_5282.jpg
/media/data/images/22012025/08/41/image_22012025_08_41_35_6856.jpg
/media/data/images/22012025/08/41/image_22012025_08_41_17_6302.jpg
/media/data/images/22012025/08/41/image_22012025_08_41_11_5748.jpg
/media/data/images/22012025/08/41/image_22012025_08_41_05_5629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539530","1330539518","1330539568","1330539526","1330539573","1330539561"],"photo_ids_order":["1330539518","1330539526","1330539530","1330539561","1330539568","1330539573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ae3496709932f421c1e7dccd05e9cac.jpg","text":"TemporaryFile(/tmp/multipartBody8811401601011100318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_35_6856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/13e1311fcdf55cd71e4f997e56b7333a.jpg","text":"TemporaryFile(/tmp/multipartBody221701006353212638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_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/22/cb70338117b61aadab834a8b70bc8e21.jpg","text":"TemporaryFile(/tmp/multipartBody686504224029615752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_11_5748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f4dae8b0ff0a39d329819216932450aa.jpg","text":"TemporaryFile(/tmp/multipartBody8196498999849364964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_41_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/22/0af352c9458163752cf46a8123da90d1.jpg","text":"TemporaryFile(/tmp/multipartBody2159582518965133880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_05_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0870ce0c7b59a51908ee606786ddcb5f.jpg","text":"TemporaryFile(/tmp/multipartBody1437213685355427143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531748559,"filename":"image_22012025_08_41_17_6302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539530","file1":"1330539526","file0":"1330539518","file4":"1330539568","file5":"1330539573","file3":"1330539561"},"map_files_photo_id_array":[{"photo_id":"1330539573","filename":"file5"},{"photo_id":"1330539530","filename":"file2"},{"photo_id":"1330539568","filename":"file4"},{"photo_id":"1330539526","filename":"file1"},{"photo_id":"1330539518","filename":"file0"},{"photo_id":"1330539561","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539530":["hashtag1","hashtag2"]},{"1330539518":["hashtag1","hashtag2"]},{"1330539568":["hashtag1","hashtag2"]},{"1330539526":["hashtag1","hashtag2"]},{"1330539573":["hashtag1","hashtag2"]},{"1330539561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539530, 1330539518, 1330539568, 1330539526, 1330539573, 1330539561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72576117515564 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:42:03.657283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/40/image_22012025_08_40_59_6520.jpg', '/media/data/images/22012025/08/17/image_22012025_08_17_53_5460.jpg', '/media/data/images/22012025/08/17/image_22012025_08_17_47_6756.jpg', '/media/data/images/22012025/08/17/image_22012025_08_17_41_5428.jpg', '/media/data/images/22012025/08/17/image_22012025_08_17_28_5500.jpg', '/media/data/images/22012025/08/17/image_22012025_08_17_23_5455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/40/image_22012025_08_40_59_6520.jpg
/media/data/images/22012025/08/17/image_22012025_08_17_53_5460.jpg
/media/data/images/22012025/08/17/image_22012025_08_17_47_6756.jpg
/media/data/images/22012025/08/17/image_22012025_08_17_41_5428.jpg
/media/data/images/22012025/08/17/image_22012025_08_17_28_5500.jpg
/media/data/images/22012025/08/17/image_22012025_08_17_23_5455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539623","1330539613","1330539616","1330539604","1330539594","1330539636"],"photo_ids_order":["1330539594","1330539604","1330539613","1330539616","1330539623","1330539636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/841e6f93db284e3ffe7aa1e2a3b325ce.jpg","text":"TemporaryFile(/tmp/multipartBody6837880067413098573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_17_28_5500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e78313d6ba35ea6493972d7c54f7b970.jpg","text":"TemporaryFile(/tmp/multipartBody1350978359342512769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_17_47_6756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19efd8d989c46abc885d0636ae88a88b.jpg","text":"TemporaryFile(/tmp/multipartBody2835368522853819123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_17_41_5428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aef186e9b350bcd53a608cc01c80599c.jpg","text":"TemporaryFile(/tmp/multipartBody2549733111485159732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_17_53_5460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fe016b9a72a693e63e94986489bc4768.jpg","text":"TemporaryFile(/tmp/multipartBody3090203802758768890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_40_59_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/22/cd831576edece30ab75a44977fdab5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4426469578241842848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531796908,"filename":"image_22012025_08_17_23_5455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539613","file1":"1330539604","file0":"1330539594","file4":"1330539623","file5":"1330539636","file3":"1330539616"},"map_files_photo_id_array":[{"photo_id":"1330539636","filename":"file5"},{"photo_id":"1330539613","filename":"file2"},{"photo_id":"1330539623","filename":"file4"},{"photo_id":"1330539604","filename":"file1"},{"photo_id":"1330539594","filename":"file0"},{"photo_id":"1330539616","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539623":["hashtag1","hashtag2"]},{"1330539613":["hashtag1","hashtag2"]},{"1330539616":["hashtag1","hashtag2"]},{"1330539604":["hashtag1","hashtag2"]},{"1330539594":["hashtag1","hashtag2"]},{"1330539636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539623, 1330539613, 1330539616, 1330539604, 1330539594, 1330539636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.18475580215454 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:43:03.979766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/42/image_22012025_08_42_47_5380.jpg', '/media/data/images/22012025/08/42/image_22012025_08_42_35_5347.jpg', '/media/data/images/22012025/08/42/image_22012025_08_42_29_5870.jpg', '/media/data/images/22012025/08/42/image_22012025_08_42_24_6592.jpg', '/media/data/images/22012025/08/42/image_22012025_08_42_17_6123.jpg', '/media/data/images/22012025/08/42/image_22012025_08_42_11_5923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/42/image_22012025_08_42_47_5380.jpg
/media/data/images/22012025/08/42/image_22012025_08_42_35_5347.jpg
/media/data/images/22012025/08/42/image_22012025_08_42_29_5870.jpg
/media/data/images/22012025/08/42/image_22012025_08_42_24_6592.jpg
/media/data/images/22012025/08/42/image_22012025_08_42_17_6123.jpg
/media/data/images/22012025/08/42/image_22012025_08_42_11_5923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539710","1330539715","1330539741","1330539735","1330539729","1330539723"],"photo_ids_order":["1330539710","1330539715","1330539723","1330539729","1330539735","1330539741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0529b8c8c9e2c2f6e8f22fadf076bef2.jpg","text":"TemporaryFile(/tmp/multipartBody3352938652048646830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_47_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/22/0c8af1002ca311721a62f7c2625245d8.jpg","text":"TemporaryFile(/tmp/multipartBody8859006671227697347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_35_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/22/425d83fe5df48262e2da38ead4b1375b.jpg","text":"TemporaryFile(/tmp/multipartBody6668960474950538994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_11_5923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2e706e3d33ce2145d21ad5ade2e20ff.jpg","text":"TemporaryFile(/tmp/multipartBody2336997820028294674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_17_6123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/84b2a6b37b8c4a43cec73ccf6ec10926.jpg","text":"TemporaryFile(/tmp/multipartBody905277990977339531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_24_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/22/ef720edfcc09aae3214d984987c71500.jpg","text":"TemporaryFile(/tmp/multipartBody7360949718177286624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531856681,"filename":"image_22012025_08_42_29_5870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539723","file1":"1330539715","file0":"1330539710","file4":"1330539735","file5":"1330539741","file3":"1330539729"},"map_files_photo_id_array":[{"photo_id":"1330539741","filename":"file5"},{"photo_id":"1330539723","filename":"file2"},{"photo_id":"1330539735","filename":"file4"},{"photo_id":"1330539715","filename":"file1"},{"photo_id":"1330539710","filename":"file0"},{"photo_id":"1330539729","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539710":["hashtag1","hashtag2"]},{"1330539715":["hashtag1","hashtag2"]},{"1330539741":["hashtag1","hashtag2"]},{"1330539735":["hashtag1","hashtag2"]},{"1330539729":["hashtag1","hashtag2"]},{"1330539723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539710, 1330539715, 1330539741, 1330539735, 1330539729, 1330539723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.40526819229126 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 08:44:04.351777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/43/image_22012025_08_43_53_5381.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_47_6622.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_41_5305.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_35_6588.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_29_5346.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_23_5787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/43/image_22012025_08_43_53_5381.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_47_6622.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_41_5305.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_35_6588.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_29_5346.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_23_5787.jpg
2025-01-22 08:44:04.649904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/43/image_22012025_08_43_53_5381.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_47_6622.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_41_5305.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_35_6588.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_29_5346.jpg', '/media/data/images/22012025/08/43/image_22012025_08_43_23_5787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/43/image_22012025_08_43_53_5381.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_47_6622.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_41_5305.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_35_6588.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_29_5346.jpg
/media/data/images/22012025/08/43/image_22012025_08_43_23_5787.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":["1330539812","1330539806","1330539821","1330539809","1330539817","1330539801"],"photo_ids_order":["1330539801","1330539806","1330539809","1330539812","1330539817","1330539821"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8548f3d4ddfd19f89ce6535bb4916f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5993339419500010586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_35_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/22/4b72b30427a7f25079ffa72da3645bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6168404714169456917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_47_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0471b61d0ac57251a555117643174c20.jpg","text":"TemporaryFile(/tmp/multipartBody2242118538192329917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_23_5787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1fb0d9682935fe827ffe2e731ec8623b.jpg","text":"TemporaryFile(/tmp/multipartBody3020962838929980548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_41_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/22/f263bbfb63da384a2c7caf317ae0e815.jpg","text":"TemporaryFile(/tmp/multipartBody9046375102048462915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_29_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/22/c091984e3a91008e2b9b0aad5a4ae566.jpg","text":"TemporaryFile(/tmp/multipartBody8826053431394478948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531931115,"filename":"image_22012025_08_43_53_5381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539809","file1":"1330539806","file0":"1330539801","file4":"1330539817","file5":"1330539821","file3":"1330539812"},"map_files_photo_id_array":[{"photo_id":"1330539821","filename":"file5"},{"photo_id":"1330539809","filename":"file2"},{"photo_id":"1330539817","filename":"file4"},{"photo_id":"1330539806","filename":"file1"},{"photo_id":"1330539801","filename":"file0"},{"photo_id":"1330539812","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539812":["hashtag1","hashtag2"]},{"1330539806":["hashtag1","hashtag2"]},{"1330539821":["hashtag1","hashtag2"]},{"1330539809":["hashtag1","hashtag2"]},{"1330539817":["hashtag1","hashtag2"]},{"1330539801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539812, 1330539806, 1330539821, 1330539809, 1330539817, 1330539801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.37840938568115 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539824","1330539827","1330539815","1330539811","1330539820","1330539842"],"photo_ids_order":["1330539811","1330539815","1330539820","1330539824","1330539827","1330539842"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c832586ddc958ba9fee4e25b5afa637.jpg","text":"TemporaryFile(/tmp/multipartBody2034462017506414213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_35_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/22/85cce35cc4369a56f2eebfa46a7cf561.jpg","text":"TemporaryFile(/tmp/multipartBody2307702335787497148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_29_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/22/312602ab57488bc64865c9cf14619287.jpg","text":"TemporaryFile(/tmp/multipartBody6698970379867816699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_47_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ba260bcb85467b8ba46d48d49c5e473.jpg","text":"TemporaryFile(/tmp/multipartBody7127907545276991298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_53_5381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54d027a2b7d1dbbfca44089b87b73266.jpg","text":"TemporaryFile(/tmp/multipartBody3723817272161773336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_41_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/22/27c40dacdde4010ca900587c12eb1fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7964879454073977429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531943039,"filename":"image_22012025_08_43_23_5787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539820","file1":"1330539815","file0":"1330539811","file4":"1330539827","file5":"1330539842","file3":"1330539824"},"map_files_photo_id_array":[{"photo_id":"1330539842","filename":"file5"},{"photo_id":"1330539820","filename":"file2"},{"photo_id":"1330539827","filename":"file4"},{"photo_id":"1330539815","filename":"file1"},{"photo_id":"1330539811","filename":"file0"},{"photo_id":"1330539824","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539824":["hashtag1","hashtag2"]},{"1330539827":["hashtag1","hashtag2"]},{"1330539815":["hashtag1","hashtag2"]},{"1330539811":["hashtag1","hashtag2"]},{"1330539820":["hashtag1","hashtag2"]},{"1330539842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539824, 1330539827, 1330539815, 1330539811, 1330539820, 1330539842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.19803643226624 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:45:22.210568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/45/image_22012025_08_45_53_6448.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_46_4554.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_42_6261.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_36_6225.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_30_6686.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_23_4930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/45/image_22012025_08_45_53_6448.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_46_4554.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_42_6261.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_36_6225.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_30_6686.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_23_4930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539938","1330539932","1330539919","1330539885","1330539903","1330539890"],"photo_ids_order":["1330539885","1330539890","1330539903","1330539919","1330539932","1330539938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/938977b13397a832a74959ced4c0dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody1538662917169176814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_23_4930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6fc34023b4ce7d2115fb3804e47fc8a0.jpg","text":"TemporaryFile(/tmp/multipartBody750208403929094852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_30_6686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5a15c01a55f8e56b88894612eb6b920.jpg","text":"TemporaryFile(/tmp/multipartBody1666449184629646683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_36_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/22/b4fdfe09ab88c762683dfe0622de1cea.jpg","text":"TemporaryFile(/tmp/multipartBody8961466804858233693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_53_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/22/0e8d6e6cab3607bd306ba39a522ddbfc.jpg","text":"TemporaryFile(/tmp/multipartBody4903856499514652370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_42_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/22/bcd5834d7ba4082fed4ad1d9d718fe80.jpg","text":"TemporaryFile(/tmp/multipartBody8385068264563052345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737531986579,"filename":"image_22012025_08_45_46_4554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539903","file1":"1330539890","file0":"1330539885","file4":"1330539932","file5":"1330539938","file3":"1330539919"},"map_files_photo_id_array":[{"photo_id":"1330539938","filename":"file5"},{"photo_id":"1330539903","filename":"file2"},{"photo_id":"1330539932","filename":"file4"},{"photo_id":"1330539890","filename":"file1"},{"photo_id":"1330539885","filename":"file0"},{"photo_id":"1330539919","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539938":["hashtag1","hashtag2"]},{"1330539932":["hashtag1","hashtag2"]},{"1330539919":["hashtag1","hashtag2"]},{"1330539885":["hashtag1","hashtag2"]},{"1330539903":["hashtag1","hashtag2"]},{"1330539890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539938, 1330539932, 1330539919, 1330539885, 1330539903, 1330539890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81155228614807 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:46:03.359144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/45/image_22012025_08_45_18_6466.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_12_6654.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_05_5804.jpg', '/media/data/images/22012025/08/44/image_22012025_08_44_59_5367.jpg', '/media/data/images/22012025/08/44/image_22012025_08_44_53_6475.jpg', '/media/data/images/22012025/08/44/image_22012025_08_44_47_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/45/image_22012025_08_45_18_6466.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_12_6654.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_05_5804.jpg
/media/data/images/22012025/08/44/image_22012025_08_44_59_5367.jpg
/media/data/images/22012025/08/44/image_22012025_08_44_53_6475.jpg
/media/data/images/22012025/08/44/image_22012025_08_44_47_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: 4.762939691543579 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:46:22.246658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/46/image_22012025_08_46_53_5314.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_47_6441.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_41_6467.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_34_5229.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_29_6409.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_23_6552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/46/image_22012025_08_46_53_5314.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_47_6441.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_41_6467.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_34_5229.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_29_6409.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_23_6552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330539971","1330539985","1330539981","1330540033","1330540044","1330539968"],"photo_ids_order":["1330539968","1330539971","1330539981","1330539985","1330540033","1330540044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6efa72706b002ecf156101e51a250592.jpg","text":"TemporaryFile(/tmp/multipartBody1871069403768589299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_47_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/22/7bc7583ff2c50becb587b61bb39b8311.jpg","text":"TemporaryFile(/tmp/multipartBody2488567976346668263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_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/22/dba0485aab45343cb55c0c8a312030ca.jpg","text":"TemporaryFile(/tmp/multipartBody2644806812996998676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_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/22/c1fedb93faded16d44510658abd684f4.jpg","text":"TemporaryFile(/tmp/multipartBody1649198395920565459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_29_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/22/b498aba0026911ef5005e64c38cdb97a.jpg","text":"TemporaryFile(/tmp/multipartBody240967602512598710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_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/22/ff3c3a4d9b0c9edccc7a0b182e94dc52.jpg","text":"TemporaryFile(/tmp/multipartBody8269329544505145260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532046186,"filename":"image_22012025_08_46_53_5314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330539981","file1":"1330539971","file0":"1330539968","file4":"1330540033","file5":"1330540044","file3":"1330539985"},"map_files_photo_id_array":[{"photo_id":"1330540044","filename":"file5"},{"photo_id":"1330539981","filename":"file2"},{"photo_id":"1330540033","filename":"file4"},{"photo_id":"1330539971","filename":"file1"},{"photo_id":"1330539968","filename":"file0"},{"photo_id":"1330539985","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330539971":["hashtag1","hashtag2"]},{"1330539985":["hashtag1","hashtag2"]},{"1330539981":["hashtag1","hashtag2"]},{"1330540033":["hashtag1","hashtag2"]},{"1330540044":["hashtag1","hashtag2"]},{"1330539968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330539971, 1330539985, 1330539981, 1330540033, 1330540044, 1330539968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29935383796692 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:47:03.855214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/46/image_22012025_08_46_16_5296.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_11_5959.jpg', '/media/data/images/22012025/08/46/image_22012025_08_46_05_5731.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_59_6457.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_18_6466.jpg', '/media/data/images/22012025/08/45/image_22012025_08_45_12_6654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/46/image_22012025_08_46_16_5296.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_11_5959.jpg
/media/data/images/22012025/08/46/image_22012025_08_46_05_5731.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_59_6457.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_18_6466.jpg
/media/data/images/22012025/08/45/image_22012025_08_45_12_6654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540136","1330540139","1330540148","1330540129","1330540144","1330540125"],"photo_ids_order":["1330540125","1330540129","1330540136","1330540139","1330540144","1330540148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7c19baabf6e2240e49569ae923f6730.jpg","text":"TemporaryFile(/tmp/multipartBody6425605528497250064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_46_05_5731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ee7ce8cccb11ac05326a21cf1e4d1f56.jpg","text":"TemporaryFile(/tmp/multipartBody6363370533737339725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_45_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/22/15a52a7a6f7417c1863e8e1496046813.jpg","text":"TemporaryFile(/tmp/multipartBody2630756628117523491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_45_12_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/22/df18901af64ef3e256f549c1d3a7c799.jpg","text":"TemporaryFile(/tmp/multipartBody8994817543310730229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_46_11_5959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60c310382b4c398117cb457293091bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6178719275053588820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_45_18_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/22/b07597606354381558a5c991499feb45.jpg","text":"TemporaryFile(/tmp/multipartBody8212582406670123654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532093522,"filename":"image_22012025_08_46_16_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540136","file1":"1330540129","file0":"1330540125","file4":"1330540144","file5":"1330540148","file3":"1330540139"},"map_files_photo_id_array":[{"photo_id":"1330540148","filename":"file5"},{"photo_id":"1330540136","filename":"file2"},{"photo_id":"1330540144","filename":"file4"},{"photo_id":"1330540129","filename":"file1"},{"photo_id":"1330540125","filename":"file0"},{"photo_id":"1330540139","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540136":["hashtag1","hashtag2"]},{"1330540139":["hashtag1","hashtag2"]},{"1330540148":["hashtag1","hashtag2"]},{"1330540129":["hashtag1","hashtag2"]},{"1330540144":["hashtag1","hashtag2"]},{"1330540125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540136, 1330540139, 1330540148, 1330540129, 1330540144, 1330540125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02566337585449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:48:03.342123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/47/image_22012025_08_47_41_6439.jpg', '/media/data/images/22012025/08/47/image_22012025_08_47_35_5238.jpg', '/media/data/images/22012025/08/47/image_22012025_08_47_29_6975.jpg', '/media/data/images/22012025/08/47/image_22012025_08_47_23_5369.jpg', '/media/data/images/22012025/08/47/image_22012025_08_47_17_5692.jpg', '/media/data/images/22012025/08/47/image_22012025_08_47_11_5864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/47/image_22012025_08_47_41_6439.jpg
/media/data/images/22012025/08/47/image_22012025_08_47_35_5238.jpg
/media/data/images/22012025/08/47/image_22012025_08_47_29_6975.jpg
/media/data/images/22012025/08/47/image_22012025_08_47_23_5369.jpg
/media/data/images/22012025/08/47/image_22012025_08_47_17_5692.jpg
/media/data/images/22012025/08/47/image_22012025_08_47_11_5864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540295","1330540259","1330540285","1330540299","1330540303","1330540281"],"photo_ids_order":["1330540259","1330540281","1330540285","1330540295","1330540299","1330540303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0c18bc3d3e8f53ca2a7812c8053745f.jpg","text":"TemporaryFile(/tmp/multipartBody2584608568267670509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_23_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/22/53048e17a21814197d144a8c4dd73cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8990684269812232768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_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/22/7a4d010005c1826ef30060ed4055b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6421453527372501429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_29_6975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7fc25504d104526a75c564600533ccae.jpg","text":"TemporaryFile(/tmp/multipartBody9031645104984816046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_17_5692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1631f6f7972d0427127119367864852.jpg","text":"TemporaryFile(/tmp/multipartBody6515662626417294643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_11_5864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6da02b5e3be9b749d791c4be23ca77c7.jpg","text":"TemporaryFile(/tmp/multipartBody5325533972483040674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532157538,"filename":"image_22012025_08_47_35_5238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540285","file1":"1330540281","file0":"1330540259","file4":"1330540299","file5":"1330540303","file3":"1330540295"},"map_files_photo_id_array":[{"photo_id":"1330540303","filename":"file5"},{"photo_id":"1330540285","filename":"file2"},{"photo_id":"1330540299","filename":"file4"},{"photo_id":"1330540281","filename":"file1"},{"photo_id":"1330540259","filename":"file0"},{"photo_id":"1330540295","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540295":["hashtag1","hashtag2"]},{"1330540259":["hashtag1","hashtag2"]},{"1330540285":["hashtag1","hashtag2"]},{"1330540299":["hashtag1","hashtag2"]},{"1330540303":["hashtag1","hashtag2"]},{"1330540281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540295, 1330540259, 1330540285, 1330540299, 1330540303, 1330540281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.69951367378235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 08:49:04.883781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/48/image_22012025_08_48_53_5230.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_47_6557.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_41_5316.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_35_6580.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_29_5359.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_23_6900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/48/image_22012025_08_48_53_5230.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_47_6557.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_41_5316.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_35_6580.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_29_5359.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_23_6900.jpg
2025-01-22 08:49:04.868934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/48/image_22012025_08_48_53_5230.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_47_6557.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_41_5316.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_35_6580.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_29_5359.jpg', '/media/data/images/22012025/08/48/image_22012025_08_48_23_6900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/48/image_22012025_08_48_53_5230.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_47_6557.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_41_5316.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_35_6580.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_29_5359.jpg
/media/data/images/22012025/08/48/image_22012025_08_48_23_6900.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":["1330540450","1330540453","1330540447","1330540470","1330540464","1330540458"],"photo_ids_order":["1330540447","1330540450","1330540453","1330540458","1330540464","1330540470"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/50d073676652e3a0a79407811913d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody2854452960841724630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_47_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/22/9a707f54a8e914417d7232229f1be542.jpg","text":"TemporaryFile(/tmp/multipartBody3047227106720075432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_41_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/22/7418155d358aec9254eedbdefda31b37.jpg","text":"TemporaryFile(/tmp/multipartBody1041053657158352450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_53_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/22/2c910ff16dfab0413d341941a620e040.jpg","text":"TemporaryFile(/tmp/multipartBody8568126161430611834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_23_6900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdad2e2bd6d18aa826ad4c0f7033d833.jpg","text":"TemporaryFile(/tmp/multipartBody5550233545280109879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_29_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/22/2a68712fc7267e840b43834497fa0fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8191269709798737558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532229109,"filename":"image_22012025_08_48_35_6580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540453","file1":"1330540450","file0":"1330540447","file4":"1330540464","file5":"1330540470","file3":"1330540458"},"map_files_photo_id_array":[{"photo_id":"1330540470","filename":"file5"},{"photo_id":"1330540453","filename":"file2"},{"photo_id":"1330540464","filename":"file4"},{"photo_id":"1330540450","filename":"file1"},{"photo_id":"1330540447","filename":"file0"},{"photo_id":"1330540458","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540450":["hashtag1","hashtag2"]},{"1330540453":["hashtag1","hashtag2"]},{"1330540447":["hashtag1","hashtag2"]},{"1330540470":["hashtag1","hashtag2"]},{"1330540464":["hashtag1","hashtag2"]},{"1330540458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540450, 1330540453, 1330540447, 1330540470, 1330540464, 1330540458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.60573434829712 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540454","1330540477","1330540471","1330540465","1330540459","1330540452"],"photo_ids_order":["1330540452","1330540454","1330540459","1330540465","1330540471","1330540477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fe81a767469646cdab6cb3b5ab03d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8558598614573108064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_47_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/22/de4b1e4a7763a93da1627ea1191cb69a.jpg","text":"TemporaryFile(/tmp/multipartBody5081592500059316357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_23_6900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0319e95345818f7e30f77716de418e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6644587152429789985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_29_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/22/5497d4ed2d010c752ac090faec95ae77.jpg","text":"TemporaryFile(/tmp/multipartBody7790762838188438581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_35_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/22/5a41baa767655ecce1300b83ef08e4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2362546989028069863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_41_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/22/a48d10b161d40e04af16ebc69edc1bde.jpg","text":"TemporaryFile(/tmp/multipartBody6234229492085211109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532235093,"filename":"image_22012025_08_48_53_5230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540459","file1":"1330540454","file0":"1330540452","file4":"1330540471","file5":"1330540477","file3":"1330540465"},"map_files_photo_id_array":[{"photo_id":"1330540477","filename":"file5"},{"photo_id":"1330540459","filename":"file2"},{"photo_id":"1330540471","filename":"file4"},{"photo_id":"1330540454","filename":"file1"},{"photo_id":"1330540452","filename":"file0"},{"photo_id":"1330540465","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540454":["hashtag1","hashtag2"]},{"1330540477":["hashtag1","hashtag2"]},{"1330540471":["hashtag1","hashtag2"]},{"1330540465":["hashtag1","hashtag2"]},{"1330540459":["hashtag1","hashtag2"]},{"1330540452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540454, 1330540477, 1330540471, 1330540465, 1330540459, 1330540452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.59648585319519 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:50:22.806931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/50/image_22012025_08_50_53_5183.jpg', '/media/data/images/22012025/08/50/image_22012025_08_50_47_6425.jpg', '/media/data/images/22012025/08/50/image_22012025_08_50_41_5204.jpg', '/media/data/images/22012025/08/50/image_22012025_08_50_36_6312.jpg', '/media/data/images/22012025/08/50/image_22012025_08_50_30_5344.jpg', '/media/data/images/22012025/08/50/image_22012025_08_50_25_7634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/50/image_22012025_08_50_53_5183.jpg
/media/data/images/22012025/08/50/image_22012025_08_50_47_6425.jpg
/media/data/images/22012025/08/50/image_22012025_08_50_41_5204.jpg
/media/data/images/22012025/08/50/image_22012025_08_50_36_6312.jpg
/media/data/images/22012025/08/50/image_22012025_08_50_30_5344.jpg
/media/data/images/22012025/08/50/image_22012025_08_50_25_7634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540520","1330540514","1330540537","1330540525","1330540534","1330540530"],"photo_ids_order":["1330540514","1330540520","1330540525","1330540530","1330540534","1330540537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9c638a8b63d342dbdd63fc53ce5198d.jpg","text":"TemporaryFile(/tmp/multipartBody2583911733650038945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_47_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/22/cb03e11b95083090098cf441a7dd17b2.jpg","text":"TemporaryFile(/tmp/multipartBody2522433130930977273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_53_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/22/62daf2d3106133689da1b8bfa077a022.jpg","text":"TemporaryFile(/tmp/multipartBody4704258163724850783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_25_7634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e6a65a62a1e77ffb886a5992ea0cd1de.jpg","text":"TemporaryFile(/tmp/multipartBody6945411554927648304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_41_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/22/7f3a57a0c4988e6b1b31a45c7e9f9be5.jpg","text":"TemporaryFile(/tmp/multipartBody8388671351031212627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_30_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/22/58e13af4acefb5937a2cc94574b4cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody2786017355732958880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532292394,"filename":"image_22012025_08_50_36_6312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540525","file1":"1330540520","file0":"1330540514","file4":"1330540534","file5":"1330540537","file3":"1330540530"},"map_files_photo_id_array":[{"photo_id":"1330540537","filename":"file5"},{"photo_id":"1330540525","filename":"file2"},{"photo_id":"1330540534","filename":"file4"},{"photo_id":"1330540520","filename":"file1"},{"photo_id":"1330540514","filename":"file0"},{"photo_id":"1330540530","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540520":["hashtag1","hashtag2"]},{"1330540514":["hashtag1","hashtag2"]},{"1330540537":["hashtag1","hashtag2"]},{"1330540525":["hashtag1","hashtag2"]},{"1330540534":["hashtag1","hashtag2"]},{"1330540530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540520, 1330540514, 1330540537, 1330540525, 1330540534, 1330540530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22653031349182 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:51:21.887027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/51/image_22012025_08_51_53_6451.jpg', '/media/data/images/22012025/08/51/image_22012025_08_51_46_5278.jpg', '/media/data/images/22012025/08/51/image_22012025_08_51_41_6462.jpg', '/media/data/images/22012025/08/51/image_22012025_08_51_35_5096.jpg', '/media/data/images/22012025/08/51/image_22012025_08_51_30_6182.jpg', '/media/data/images/22012025/08/51/image_22012025_08_51_24_6519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/51/image_22012025_08_51_53_6451.jpg
/media/data/images/22012025/08/51/image_22012025_08_51_46_5278.jpg
/media/data/images/22012025/08/51/image_22012025_08_51_41_6462.jpg
/media/data/images/22012025/08/51/image_22012025_08_51_35_5096.jpg
/media/data/images/22012025/08/51/image_22012025_08_51_30_6182.jpg
/media/data/images/22012025/08/51/image_22012025_08_51_24_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":["1330540585","1330540588","1330540573","1330540579","1330540564","1330540575"],"photo_ids_order":["1330540564","1330540573","1330540575","1330540579","1330540585","1330540588"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d05cb9c1caa71c876bc490756f6ff5c.jpg","text":"TemporaryFile(/tmp/multipartBody1175503128502167192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_30_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/22/8361cddb961a571e8527ea4d0f0c4219.jpg","text":"TemporaryFile(/tmp/multipartBody8946975158651388444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_24_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/22/1e5afcb1a524b16c08b60287a4f0e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody3412918448733743002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_46_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/22/ca9ae33a4981c66389aee11f8bdee3cf.jpg","text":"TemporaryFile(/tmp/multipartBody722812562840949509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_35_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/22/82c9ce31af705e7859e21508e4b4250a.jpg","text":"TemporaryFile(/tmp/multipartBody3077239130171734062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_53_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/22/6ca700f552bf7a7eeb823ecaaaf83c61.jpg","text":"TemporaryFile(/tmp/multipartBody4896330410642131869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532350327,"filename":"image_22012025_08_51_41_6462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540575","file1":"1330540573","file0":"1330540564","file4":"1330540585","file5":"1330540588","file3":"1330540579"},"map_files_photo_id_array":[{"photo_id":"1330540588","filename":"file5"},{"photo_id":"1330540575","filename":"file2"},{"photo_id":"1330540585","filename":"file4"},{"photo_id":"1330540573","filename":"file1"},{"photo_id":"1330540564","filename":"file0"},{"photo_id":"1330540579","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540585":["hashtag1","hashtag2"]},{"1330540588":["hashtag1","hashtag2"]},{"1330540573":["hashtag1","hashtag2"]},{"1330540579":["hashtag1","hashtag2"]},{"1330540564":["hashtag1","hashtag2"]},{"1330540575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540585, 1330540588, 1330540573, 1330540579, 1330540564, 1330540575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48003172874451 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:52:22.033118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/52/image_22012025_08_52_53_6464.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_47_5241.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_41_6471.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_35_5837.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_30_6163.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_23_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/52/image_22012025_08_52_53_6464.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_47_5241.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_41_6471.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_35_5837.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_30_6163.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_23_6451.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.416236639022827 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:52:42.011343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/52/image_22012025_08_52_53_6464.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_47_5241.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_41_6471.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_35_5837.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_30_6163.jpg', '/media/data/images/22012025/08/52/image_22012025_08_52_23_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/52/image_22012025_08_52_53_6464.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_47_5241.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_41_6471.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_35_5837.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_30_6163.jpg
/media/data/images/22012025/08/52/image_22012025_08_52_23_6451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540682","1330540676","1330540670","1330540687","1330540666","1330540671"],"photo_ids_order":["1330540666","1330540670","1330540671","1330540676","1330540682","1330540687"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bf70e96a3e5b713abb9b36242cf50b72.jpg","text":"TemporaryFile(/tmp/multipartBody5109598038222884650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_30_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/22/d5e77b89ef7777a2f8940e77dcef6903.jpg","text":"TemporaryFile(/tmp/multipartBody2666062879150633142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_35_5837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b928ebcf55fe930da72bfddbe569fca.jpg","text":"TemporaryFile(/tmp/multipartBody1699494068614335802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_47_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/22/c1bed9ef47480206bc5e3fc32677b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8379949206364549975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_23_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/22/0343a49823ad5ac60f9765af9d016ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2141826306372782912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_53_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/22/48b4e5ef688cf05a796788027355f358.jpg","text":"TemporaryFile(/tmp/multipartBody6785372123423808104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532428961,"filename":"image_22012025_08_52_41_6471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540671","file1":"1330540670","file0":"1330540666","file4":"1330540682","file5":"1330540687","file3":"1330540676"},"map_files_photo_id_array":[{"photo_id":"1330540687","filename":"file5"},{"photo_id":"1330540671","filename":"file2"},{"photo_id":"1330540682","filename":"file4"},{"photo_id":"1330540670","filename":"file1"},{"photo_id":"1330540666","filename":"file0"},{"photo_id":"1330540676","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540682":["hashtag1","hashtag2"]},{"1330540676":["hashtag1","hashtag2"]},{"1330540670":["hashtag1","hashtag2"]},{"1330540687":["hashtag1","hashtag2"]},{"1330540666":["hashtag1","hashtag2"]},{"1330540671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540682, 1330540676, 1330540670, 1330540687, 1330540666, 1330540671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6360068321228 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:53:42.096614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/53/image_22012025_08_53_53_6085.jpg', '/media/data/images/22012025/08/53/image_22012025_08_53_48_6567.jpg', '/media/data/images/22012025/08/53/image_22012025_08_53_41_5357.jpg', '/media/data/images/22012025/08/53/image_22012025_08_53_35_6654.jpg', '/media/data/images/22012025/08/53/image_22012025_08_53_29_6223.jpg', '/media/data/images/22012025/08/53/image_22012025_08_53_23_5269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/53/image_22012025_08_53_53_6085.jpg
/media/data/images/22012025/08/53/image_22012025_08_53_48_6567.jpg
/media/data/images/22012025/08/53/image_22012025_08_53_41_5357.jpg
/media/data/images/22012025/08/53/image_22012025_08_53_35_6654.jpg
/media/data/images/22012025/08/53/image_22012025_08_53_29_6223.jpg
/media/data/images/22012025/08/53/image_22012025_08_53_23_5269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540751","1330540724","1330540744","1330540717","1330540734","1330540713"],"photo_ids_order":["1330540713","1330540717","1330540724","1330540734","1330540744","1330540751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/037bd922f1ffa21d1bc808e8621a1cc5.jpg","text":"TemporaryFile(/tmp/multipartBody680817973017322139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_23_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/22/28a24edd0a01a2aa656a2a2c654e659e.jpg","text":"TemporaryFile(/tmp/multipartBody3195988266733195212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_41_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/22/03600f83993ee683dd5b5b862fbbaf43.jpg","text":"TemporaryFile(/tmp/multipartBody3102551208306361482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_29_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/22/6adbd546c7e816438ef986b6167205c7.jpg","text":"TemporaryFile(/tmp/multipartBody3731917510478550093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_48_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/22/55b58f0ae93c8ebdcaf4c3f5199988d8.jpg","text":"TemporaryFile(/tmp/multipartBody6660479609635221911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_35_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/22/e238abc18da63389aabbdce72217a8de.jpg","text":"TemporaryFile(/tmp/multipartBody8000367862354851106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532487220,"filename":"image_22012025_08_53_53_6085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540724","file1":"1330540717","file0":"1330540713","file4":"1330540744","file5":"1330540751","file3":"1330540734"},"map_files_photo_id_array":[{"photo_id":"1330540751","filename":"file5"},{"photo_id":"1330540724","filename":"file2"},{"photo_id":"1330540744","filename":"file4"},{"photo_id":"1330540717","filename":"file1"},{"photo_id":"1330540713","filename":"file0"},{"photo_id":"1330540734","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540751":["hashtag1","hashtag2"]},{"1330540724":["hashtag1","hashtag2"]},{"1330540744":["hashtag1","hashtag2"]},{"1330540717":["hashtag1","hashtag2"]},{"1330540734":["hashtag1","hashtag2"]},{"1330540713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540751, 1330540724, 1330540744, 1330540717, 1330540734, 1330540713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60298681259155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:54:22.355173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/54/image_22012025_08_54_53_6689.jpg', '/media/data/images/22012025/08/54/image_22012025_08_54_47_6218.jpg', '/media/data/images/22012025/08/54/image_22012025_08_54_40_5270.jpg', '/media/data/images/22012025/08/54/image_22012025_08_54_35_6420.jpg', '/media/data/images/22012025/08/54/image_22012025_08_54_29_5240.jpg', '/media/data/images/22012025/08/54/image_22012025_08_54_23_6514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/54/image_22012025_08_54_53_6689.jpg
/media/data/images/22012025/08/54/image_22012025_08_54_47_6218.jpg
/media/data/images/22012025/08/54/image_22012025_08_54_40_5270.jpg
/media/data/images/22012025/08/54/image_22012025_08_54_35_6420.jpg
/media/data/images/22012025/08/54/image_22012025_08_54_29_5240.jpg
/media/data/images/22012025/08/54/image_22012025_08_54_23_6514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540787","1330540789","1330540794","1330540797","1330540782","1330540799"],"photo_ids_order":["1330540782","1330540787","1330540789","1330540794","1330540797","1330540799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4c1459ef340ec093e1e53d75ab3cfac7.jpg","text":"TemporaryFile(/tmp/multipartBody2522139499623433772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_47_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/22/e7fe83f14038041bb27038d2b2a14bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5001595481851427809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_40_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/22/2ddbc197a402d6a97f9e7ffbcb9c1ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4482400340612429827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_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/22/001044989e65510dd53019dae9fdde85.jpg","text":"TemporaryFile(/tmp/multipartBody2695016209870136538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_29_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/22/67401ca3fe3fe66a67e2eb2f5aa48cc9.jpg","text":"TemporaryFile(/tmp/multipartBody9050109752296243455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_53_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a247abe1f1274ad52e24006d26054c04.jpg","text":"TemporaryFile(/tmp/multipartBody248655538934735265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532531519,"filename":"image_22012025_08_54_23_6514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540789","file1":"1330540787","file0":"1330540782","file4":"1330540797","file5":"1330540799","file3":"1330540794"},"map_files_photo_id_array":[{"photo_id":"1330540799","filename":"file5"},{"photo_id":"1330540789","filename":"file2"},{"photo_id":"1330540797","filename":"file4"},{"photo_id":"1330540787","filename":"file1"},{"photo_id":"1330540782","filename":"file0"},{"photo_id":"1330540794","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540787":["hashtag1","hashtag2"]},{"1330540789":["hashtag1","hashtag2"]},{"1330540794":["hashtag1","hashtag2"]},{"1330540797":["hashtag1","hashtag2"]},{"1330540782":["hashtag1","hashtag2"]},{"1330540799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540787, 1330540789, 1330540794, 1330540797, 1330540782, 1330540799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.458908557891846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:55:22.395479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/55/image_22012025_08_55_53_6379.jpg', '/media/data/images/22012025/08/55/image_22012025_08_55_47_6409.jpg', '/media/data/images/22012025/08/55/image_22012025_08_55_40_5203.jpg', '/media/data/images/22012025/08/55/image_22012025_08_55_35_6485.jpg', '/media/data/images/22012025/08/55/image_22012025_08_55_29_6121.jpg', '/media/data/images/22012025/08/55/image_22012025_08_55_23_5278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/55/image_22012025_08_55_53_6379.jpg
/media/data/images/22012025/08/55/image_22012025_08_55_47_6409.jpg
/media/data/images/22012025/08/55/image_22012025_08_55_40_5203.jpg
/media/data/images/22012025/08/55/image_22012025_08_55_35_6485.jpg
/media/data/images/22012025/08/55/image_22012025_08_55_29_6121.jpg
/media/data/images/22012025/08/55/image_22012025_08_55_23_5278.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540883","1330540887","1330540875","1330540863","1330540866","1330540860"],"photo_ids_order":["1330540860","1330540863","1330540866","1330540875","1330540883","1330540887"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/90e759412d037c418996682652147594.jpg","text":"TemporaryFile(/tmp/multipartBody3002412267537061250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_29_6121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32620ca2dce81e9bcb7638029e2135f0.jpg","text":"TemporaryFile(/tmp/multipartBody4051668206932564256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_23_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/22/f1db624f7994ee1fe045b7188fea9a29.jpg","text":"TemporaryFile(/tmp/multipartBody6858196749305392383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_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/22/12145bb9bbf2bf53cb8aad7d05100951.jpg","text":"TemporaryFile(/tmp/multipartBody4851101085710128807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_47_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/22/ab3432500dff9d4e79bb575153330275.jpg","text":"TemporaryFile(/tmp/multipartBody2787756046537758815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_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/22/756d18edd91179bce92cc5330813b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3582246786017211330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532589739,"filename":"image_22012025_08_55_53_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540866","file1":"1330540863","file0":"1330540860","file4":"1330540883","file5":"1330540887","file3":"1330540875"},"map_files_photo_id_array":[{"photo_id":"1330540887","filename":"file5"},{"photo_id":"1330540866","filename":"file2"},{"photo_id":"1330540883","filename":"file4"},{"photo_id":"1330540863","filename":"file1"},{"photo_id":"1330540860","filename":"file0"},{"photo_id":"1330540875","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540883":["hashtag1","hashtag2"]},{"1330540887":["hashtag1","hashtag2"]},{"1330540875":["hashtag1","hashtag2"]},{"1330540863":["hashtag1","hashtag2"]},{"1330540866":["hashtag1","hashtag2"]},{"1330540860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540883, 1330540887, 1330540875, 1330540863, 1330540866, 1330540860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.546271562576294 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-22 08:56:22.481636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/56/image_22012025_08_56_53_6472.jpg', '/media/data/images/22012025/08/56/image_22012025_08_56_46_5241.jpg', '/media/data/images/22012025/08/56/image_22012025_08_56_41_6479.jpg', '/media/data/images/22012025/08/56/image_22012025_08_56_35_5252.jpg', '/media/data/images/22012025/08/56/image_22012025_08_56_29_6214.jpg', '/media/data/images/22012025/08/56/image_22012025_08_56_24_6528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/56/image_22012025_08_56_53_6472.jpg
/media/data/images/22012025/08/56/image_22012025_08_56_46_5241.jpg
/media/data/images/22012025/08/56/image_22012025_08_56_41_6479.jpg
/media/data/images/22012025/08/56/image_22012025_08_56_35_5252.jpg
/media/data/images/22012025/08/56/image_22012025_08_56_29_6214.jpg
/media/data/images/22012025/08/56/image_22012025_08_56_24_6528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330540923","1330540934","1330540931","1330540927","1330540935","1330540920"],"photo_ids_order":["1330540920","1330540923","1330540927","1330540931","1330540934","1330540935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a9b576a11fbd8b4cbf8fcb9157e0844.jpg","text":"TemporaryFile(/tmp/multipartBody5712220963011037192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_46_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/22/623d8a1493fe3c380bd5e764fe492817.jpg","text":"TemporaryFile(/tmp/multipartBody7836616342641143204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_29_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/22/b770e902a46ed6fc0d042fd76510cd81.jpg","text":"TemporaryFile(/tmp/multipartBody5844632315460432988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_35_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/22/873d5b19e5fdd328e983223c107ddfa1.jpg","text":"TemporaryFile(/tmp/multipartBody7979041241202954313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_41_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/22/1cb21dd4788fe64746e47ced749eef19.jpg","text":"TemporaryFile(/tmp/multipartBody7803533176409385755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_24_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/22/6e04af1dc4b0b6cb78d92b4d6a3dc1f9.jpg","text":"TemporaryFile(/tmp/multipartBody1173730773121224587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532652500,"filename":"image_22012025_08_56_53_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330540927","file1":"1330540923","file0":"1330540920","file4":"1330540934","file5":"1330540935","file3":"1330540931"},"map_files_photo_id_array":[{"photo_id":"1330540935","filename":"file5"},{"photo_id":"1330540927","filename":"file2"},{"photo_id":"1330540934","filename":"file4"},{"photo_id":"1330540923","filename":"file1"},{"photo_id":"1330540920","filename":"file0"},{"photo_id":"1330540931","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330540923":["hashtag1","hashtag2"]},{"1330540934":["hashtag1","hashtag2"]},{"1330540931":["hashtag1","hashtag2"]},{"1330540927":["hashtag1","hashtag2"]},{"1330540935":["hashtag1","hashtag2"]},{"1330540920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330540923, 1330540934, 1330540931, 1330540927, 1330540935, 1330540920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39630365371704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 08:57:22.567257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/57/image_22012025_08_57_53_5330.jpg', '/media/data/images/22012025/08/57/image_22012025_08_57_48_6627.jpg', '/media/data/images/22012025/08/57/image_22012025_08_57_41_5469.jpg', '/media/data/images/22012025/08/57/image_22012025_08_57_35_5835.jpg', '/media/data/images/22012025/08/57/image_22012025_08_57_30_7025.jpg', '/media/data/images/22012025/08/57/image_22012025_08_57_23_5514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/57/image_22012025_08_57_53_5330.jpg
/media/data/images/22012025/08/57/image_22012025_08_57_48_6627.jpg
/media/data/images/22012025/08/57/image_22012025_08_57_41_5469.jpg
/media/data/images/22012025/08/57/image_22012025_08_57_35_5835.jpg
/media/data/images/22012025/08/57/image_22012025_08_57_30_7025.jpg
/media/data/images/22012025/08/57/image_22012025_08_57_23_5514.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-22 08:59:03.777815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/58/image_22012025_08_58_52_5238.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_47_6459.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_41_6270.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_35_4719.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_30_6514.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_24_6479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/58/image_22012025_08_58_52_5238.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_47_6459.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_41_6270.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_35_4719.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_30_6514.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_24_6479.jpg
2025-01-22 08:59:04.596135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/08/58/image_22012025_08_58_52_5238.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_47_6459.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_41_6270.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_35_4719.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_30_6514.jpg', '/media/data/images/22012025/08/58/image_22012025_08_58_24_6479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/08/58/image_22012025_08_58_52_5238.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_47_6459.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_41_6270.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_35_4719.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_30_6514.jpg
/media/data/images/22012025/08/58/image_22012025_08_58_24_6479.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":["1330541069","1330541095","1330541125","1330541128","1330541122","1330541106"],"photo_ids_order":["1330541069","1330541095","1330541106","1330541122","1330541125","1330541128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6bc8456964684e7e29b779d84e646e89.jpg","text":"TemporaryFile(/tmp/multipartBody9002986787601079781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_52_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/22/03c2d3ba9ab6637dafa7b7e96ff71b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2643589374078736826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_47_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/22/67fe9b69384e8eec447a99b1200a985b.jpg","text":"TemporaryFile(/tmp/multipartBody1291079025528469491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_30_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/22/1c63a839c80fbe3129784a9520733652.jpg","text":"TemporaryFile(/tmp/multipartBody1742077456920230251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_24_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/22/3576aab68ced1b24e916912aece6525a.jpg","text":"TemporaryFile(/tmp/multipartBody3851947715038847524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_35_4719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e4a0b2206e8c8747e337d3ed6d60d14.jpg","text":"TemporaryFile(/tmp/multipartBody3391828019405935284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532821211,"filename":"image_22012025_08_58_41_6270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541106","file1":"1330541095","file0":"1330541069","file4":"1330541125","file5":"1330541128","file3":"1330541122"},"map_files_photo_id_array":[{"photo_id":"1330541128","filename":"file5"},{"photo_id":"1330541106","filename":"file2"},{"photo_id":"1330541125","filename":"file4"},{"photo_id":"1330541095","filename":"file1"},{"photo_id":"1330541069","filename":"file0"},{"photo_id":"1330541122","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541069":["hashtag1","hashtag2"]},{"1330541095":["hashtag1","hashtag2"]},{"1330541125":["hashtag1","hashtag2"]},{"1330541128":["hashtag1","hashtag2"]},{"1330541122":["hashtag1","hashtag2"]},{"1330541106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541069, 1330541095, 1330541125, 1330541128, 1330541122, 1330541106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.03890681266785 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330541132","1330541129","1330541102","1330541094","1330541124","1330541121"],"photo_ids_order":["1330541094","1330541102","1330541121","1330541124","1330541129","1330541132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c9fb30d642b1f0f4b17586207ed04e2.jpg","text":"TemporaryFile(/tmp/multipartBody7344612780088315534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_24_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/22/89b4bc30c4e2868d00ad26030b18bda7.jpg","text":"TemporaryFile(/tmp/multipartBody5871131521380759990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_30_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/22/cf427b89c9a7e0a0b6405293208a5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2065977767174651214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_47_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/22/0682a45e38651e0de5a783b67d387009.jpg","text":"TemporaryFile(/tmp/multipartBody1096318652373920877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_52_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/22/380827858caa25f8e842edc6a5f60959.jpg","text":"TemporaryFile(/tmp/multipartBody7197293098414916205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_35_4719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/21ea705bd88c0a148578714b22ff2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody9025135898532316300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532826073,"filename":"image_22012025_08_58_41_6270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541121","file1":"1330541102","file0":"1330541094","file4":"1330541129","file5":"1330541132","file3":"1330541124"},"map_files_photo_id_array":[{"photo_id":"1330541132","filename":"file5"},{"photo_id":"1330541121","filename":"file2"},{"photo_id":"1330541129","filename":"file4"},{"photo_id":"1330541102","filename":"file1"},{"photo_id":"1330541094","filename":"file0"},{"photo_id":"1330541124","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541132":["hashtag1","hashtag2"]},{"1330541129":["hashtag1","hashtag2"]},{"1330541102":["hashtag1","hashtag2"]},{"1330541094":["hashtag1","hashtag2"]},{"1330541124":["hashtag1","hashtag2"]},{"1330541121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541132, 1330541129, 1330541102, 1330541094, 1330541124, 1330541121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.023857831954956 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:00:22.072165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/00/image_22012025_09_00_47_6437.jpg', '/media/data/images/22012025/09/00/image_22012025_09_00_41_5296.jpg', '/media/data/images/22012025/09/00/image_22012025_09_00_35_6525.jpg', '/media/data/images/22012025/09/00/image_22012025_09_00_29_5712.jpg', '/media/data/images/22012025/09/00/image_22012025_09_00_24_5277.jpg', '/media/data/images/22012025/09/00/image_22012025_09_00_19_7317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/00/image_22012025_09_00_47_6437.jpg
/media/data/images/22012025/09/00/image_22012025_09_00_41_5296.jpg
/media/data/images/22012025/09/00/image_22012025_09_00_35_6525.jpg
/media/data/images/22012025/09/00/image_22012025_09_00_29_5712.jpg
/media/data/images/22012025/09/00/image_22012025_09_00_24_5277.jpg
/media/data/images/22012025/09/00/image_22012025_09_00_19_7317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330541491","1330541494","1330541524","1330541509","1330541401","1330541457"],"photo_ids_order":["1330541401","1330541457","1330541491","1330541494","1330541509","1330541524"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b86ff1339f0e7febbc5d5741c57438b.jpg","text":"TemporaryFile(/tmp/multipartBody9093416920324821386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_35_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/22/d5c42c31767ae20bc3ae4343d96c7495.jpg","text":"TemporaryFile(/tmp/multipartBody1942652973198326143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_29_5712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ff046b133da3085f7287a0bce5a388e.jpg","text":"TemporaryFile(/tmp/multipartBody410233892717687072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_19_7317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ff2c7abd7c7419f8e769a47b749c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6568558317652381697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_24_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/22/0c1219bf9801dd2bafa4cc2885fdf2c8.jpg","text":"TemporaryFile(/tmp/multipartBody1869990426541923165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_47_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/22/7299babba191b6564f72efffd9fdf893.jpg","text":"TemporaryFile(/tmp/multipartBody5146019680977272988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532902581,"filename":"image_22012025_09_00_41_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541491","file1":"1330541457","file0":"1330541401","file4":"1330541509","file5":"1330541524","file3":"1330541494"},"map_files_photo_id_array":[{"photo_id":"1330541524","filename":"file5"},{"photo_id":"1330541491","filename":"file2"},{"photo_id":"1330541509","filename":"file4"},{"photo_id":"1330541457","filename":"file1"},{"photo_id":"1330541401","filename":"file0"},{"photo_id":"1330541494","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541491":["hashtag1","hashtag2"]},{"1330541494":["hashtag1","hashtag2"]},{"1330541524":["hashtag1","hashtag2"]},{"1330541509":["hashtag1","hashtag2"]},{"1330541401":["hashtag1","hashtag2"]},{"1330541457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541491, 1330541494, 1330541524, 1330541509, 1330541401, 1330541457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.126343727111816 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:01:22.302900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/01/image_22012025_09_01_52_5363.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_47_6486.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_41_4947.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_36_6621.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_30_4975.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_25_7228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/01/image_22012025_09_01_52_5363.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_47_6486.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_41_4947.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_36_6621.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_30_4975.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_25_7228.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.910630464553833 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:01:42.316066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/01/image_22012025_09_01_52_5363.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_47_6486.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_41_4947.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_36_6621.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_30_4975.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_25_7228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/01/image_22012025_09_01_52_5363.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_47_6486.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_41_4947.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_36_6621.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_30_4975.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_25_7228.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330541621","1330541630","1330541612","1330541617","1330541625","1330541619"],"photo_ids_order":["1330541612","1330541617","1330541619","1330541621","1330541625","1330541630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aceb95fffcae417b2e1386a95fd77041.jpg","text":"TemporaryFile(/tmp/multipartBody195477685666484746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_36_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/22/9a34d2c665274900af664f7fd257bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6875006454195658912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_25_7228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d8e7ce22590cd3dad6b8ac75571f2397.jpg","text":"TemporaryFile(/tmp/multipartBody6026177538803725244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_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/22/ace47d8601f2cec6321616cfd3451578.jpg","text":"TemporaryFile(/tmp/multipartBody5280367516153694030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_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/22/f58a8e65c7889b74c6468b76853ea54c.jpg","text":"TemporaryFile(/tmp/multipartBody4188876890432763535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_30_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/22/aa495bb1d5c8059a0bc032820aae7d46.jpg","text":"TemporaryFile(/tmp/multipartBody2222663775431650912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737532968034,"filename":"image_22012025_09_01_41_4947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541619","file1":"1330541617","file0":"1330541612","file4":"1330541625","file5":"1330541630","file3":"1330541621"},"map_files_photo_id_array":[{"photo_id":"1330541630","filename":"file5"},{"photo_id":"1330541619","filename":"file2"},{"photo_id":"1330541625","filename":"file4"},{"photo_id":"1330541617","filename":"file1"},{"photo_id":"1330541612","filename":"file0"},{"photo_id":"1330541621","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541621":["hashtag1","hashtag2"]},{"1330541630":["hashtag1","hashtag2"]},{"1330541612":["hashtag1","hashtag2"]},{"1330541617":["hashtag1","hashtag2"]},{"1330541625":["hashtag1","hashtag2"]},{"1330541619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541621, 1330541630, 1330541612, 1330541617, 1330541625, 1330541619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.169188022613525 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:02:22.448895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/02/image_22012025_09_02_53_5724.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_48_5614.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_42_6595.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_35_6481.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_29_6047.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_23_5375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/02/image_22012025_09_02_53_5724.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_48_5614.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_42_6595.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_35_6481.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_29_6047.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_23_5375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330541663","1330541651","1330541658","1330541667","1330541654","1330541648"],"photo_ids_order":["1330541648","1330541651","1330541654","1330541658","1330541663","1330541667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0cb4acfecb962a78fe5d7923a15828c9.jpg","text":"TemporaryFile(/tmp/multipartBody2964012521192312024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_29_6047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ee7479d7169284c856e363ae3fb5eb50.jpg","text":"TemporaryFile(/tmp/multipartBody1158931615537408013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_48_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/465cdd88ab9de43f27c4f9c188d65bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3620849809866010323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_35_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/22/2eaf22c502420c6fec028b85436c0451.jpg","text":"TemporaryFile(/tmp/multipartBody4537036043076659689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_23_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/22/b3883b6ee115142bb7ea57d68271818c.jpg","text":"TemporaryFile(/tmp/multipartBody9187051451097884778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_42_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/22/4a9a9f6ae7b184988cec0c0d5d68c650.jpg","text":"TemporaryFile(/tmp/multipartBody7337110528934777492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533007655,"filename":"image_22012025_09_02_53_5724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541654","file1":"1330541651","file0":"1330541648","file4":"1330541663","file5":"1330541667","file3":"1330541658"},"map_files_photo_id_array":[{"photo_id":"1330541667","filename":"file5"},{"photo_id":"1330541654","filename":"file2"},{"photo_id":"1330541663","filename":"file4"},{"photo_id":"1330541651","filename":"file1"},{"photo_id":"1330541648","filename":"file0"},{"photo_id":"1330541658","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541663":["hashtag1","hashtag2"]},{"1330541651":["hashtag1","hashtag2"]},{"1330541658":["hashtag1","hashtag2"]},{"1330541667":["hashtag1","hashtag2"]},{"1330541654":["hashtag1","hashtag2"]},{"1330541648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541663, 1330541651, 1330541658, 1330541667, 1330541654, 1330541648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63212180137634 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:03:04.051838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/02/image_22012025_09_02_17_5532.jpg', '/media/data/images/22012025/09/02/image_22012025_09_02_05_5874.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_59_6681.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_17_5291.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_11_6959.jpg', '/media/data/images/22012025/09/01/image_22012025_09_01_05_5550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/02/image_22012025_09_02_17_5532.jpg
/media/data/images/22012025/09/02/image_22012025_09_02_05_5874.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_59_6681.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_17_5291.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_11_6959.jpg
/media/data/images/22012025/09/01/image_22012025_09_01_05_5550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330541777","1330541698","1330541701","1330541690","1330541693","1330541687"],"photo_ids_order":["1330541687","1330541690","1330541693","1330541698","1330541701","1330541777"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ec8c21b6d1f95a69fabb5b4520048b8.jpg","text":"TemporaryFile(/tmp/multipartBody6919562880867375423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_01_05_5550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e08279bf41e94d36265853a4a293d099.jpg","text":"TemporaryFile(/tmp/multipartBody5697707955557862145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_01_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/22/d441d2e99d8266b75504dc9a21dedc2b.jpg","text":"TemporaryFile(/tmp/multipartBody3971354658779043324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_01_11_6959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/792bb7d837bc10462ed702badd17b095.jpg","text":"TemporaryFile(/tmp/multipartBody4786744219288701699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_02_05_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/51edf6d40c07a120aafd0b0134d17542.jpg","text":"TemporaryFile(/tmp/multipartBody3505085533614620341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_01_59_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/22/addbcf999f6329a6ac07549868f196f8.jpg","text":"TemporaryFile(/tmp/multipartBody2963845872653603609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533049819,"filename":"image_22012025_09_02_17_5532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330541693","file1":"1330541690","file0":"1330541687","file4":"1330541701","file5":"1330541777","file3":"1330541698"},"map_files_photo_id_array":[{"photo_id":"1330541777","filename":"file5"},{"photo_id":"1330541693","filename":"file2"},{"photo_id":"1330541701","filename":"file4"},{"photo_id":"1330541690","filename":"file1"},{"photo_id":"1330541687","filename":"file0"},{"photo_id":"1330541698","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330541777":["hashtag1","hashtag2"]},{"1330541698":["hashtag1","hashtag2"]},{"1330541701":["hashtag1","hashtag2"]},{"1330541690":["hashtag1","hashtag2"]},{"1330541693":["hashtag1","hashtag2"]},{"1330541687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330541777, 1330541698, 1330541701, 1330541690, 1330541693, 1330541687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.384504318237305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 09:04:04.321249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/03/image_22012025_09_03_53_5362.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_47_6590.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_41_5344.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_35_6486.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_29_5590.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_23_6516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/03/image_22012025_09_03_53_5362.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_47_6590.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_41_5344.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_35_6486.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_29_5590.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_23_6516.jpg
2025-01-22 09:04:04.435949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/03/image_22012025_09_03_53_5362.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_47_6590.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_41_5344.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_35_6486.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_29_5590.jpg', '/media/data/images/22012025/09/03/image_22012025_09_03_23_6516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/03/image_22012025_09_03_53_5362.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_47_6590.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_41_5344.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_35_6486.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_29_5590.jpg
/media/data/images/22012025/09/03/image_22012025_09_03_23_6516.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":["1330542442","1330542211","1330542243","1330542237","1330542219","1330542227"],"photo_ids_order":["1330542211","1330542219","1330542227","1330542237","1330542243","1330542442"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9461bc6a0d30e431bf09d9f8a9753c3.jpg","text":"TemporaryFile(/tmp/multipartBody4771397089920533412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_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/22/4ef85895947d01f241e5f59a396374b1.jpg","text":"TemporaryFile(/tmp/multipartBody6486385746299440380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_53_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/22/c424a1885202a439d9181c7456631a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5230829023362526755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_29_5590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f734a6bfde446c28fe290142f0e3221.jpg","text":"TemporaryFile(/tmp/multipartBody4175881490540319715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_35_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/22/94d1eccd375e19677db88eaf8f076cea.jpg","text":"TemporaryFile(/tmp/multipartBody2460732011218246809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_47_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/22/c6aa117de4657901e4d1554ba525bf7b.jpg","text":"TemporaryFile(/tmp/multipartBody5271764842376177478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533112925,"filename":"image_22012025_09_03_41_5344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542227","file1":"1330542219","file0":"1330542211","file4":"1330542243","file5":"1330542442","file3":"1330542237"},"map_files_photo_id_array":[{"photo_id":"1330542442","filename":"file5"},{"photo_id":"1330542227","filename":"file2"},{"photo_id":"1330542243","filename":"file4"},{"photo_id":"1330542219","filename":"file1"},{"photo_id":"1330542211","filename":"file0"},{"photo_id":"1330542237","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542442":["hashtag1","hashtag2"]},{"1330542211":["hashtag1","hashtag2"]},{"1330542243":["hashtag1","hashtag2"]},{"1330542237":["hashtag1","hashtag2"]},{"1330542219":["hashtag1","hashtag2"]},{"1330542227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542442, 1330542211, 1330542243, 1330542237, 1330542219, 1330542227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84296631813049 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330542241","1330542234","1330542321","1330542222","1330542216","1330542446"],"photo_ids_order":["1330542216","1330542222","1330542234","1330542241","1330542321","1330542446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2dac75ab8851a8e35829b6df1ebd8a2.jpg","text":"TemporaryFile(/tmp/multipartBody4641180118787563151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_35_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/22/f329a329ebe0ad71f085fc89f932c54f.jpg","text":"TemporaryFile(/tmp/multipartBody6645660213613044991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_41_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/22/c2ea856c7e27bf709d9dafc8594b196c.jpg","text":"TemporaryFile(/tmp/multipartBody1615066680004926287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_29_5590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d8a0426e9ce68ddf93b59ed2de21912.jpg","text":"TemporaryFile(/tmp/multipartBody7406920721648369379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_47_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/22/1e8e8ab098e73c8180d3fb40f6c0f13d.jpg","text":"TemporaryFile(/tmp/multipartBody2653287141569302905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_53_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/22/cac9c14f8ab30462a6b305f99bed267a.jpg","text":"TemporaryFile(/tmp/multipartBody8755981255128740089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533114677,"filename":"image_22012025_09_03_23_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542234","file1":"1330542222","file0":"1330542216","file4":"1330542321","file5":"1330542446","file3":"1330542241"},"map_files_photo_id_array":[{"photo_id":"1330542446","filename":"file5"},{"photo_id":"1330542234","filename":"file2"},{"photo_id":"1330542321","filename":"file4"},{"photo_id":"1330542222","filename":"file1"},{"photo_id":"1330542216","filename":"file0"},{"photo_id":"1330542241","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542241":["hashtag1","hashtag2"]},{"1330542234":["hashtag1","hashtag2"]},{"1330542321":["hashtag1","hashtag2"]},{"1330542222":["hashtag1","hashtag2"]},{"1330542216":["hashtag1","hashtag2"]},{"1330542446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542241, 1330542234, 1330542321, 1330542222, 1330542216, 1330542446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74314069747925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:05:04.254304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/04/image_22012025_09_04_53_6450.jpg', '/media/data/images/22012025/09/04/image_22012025_09_04_47_6469.jpg', '/media/data/images/22012025/09/04/image_22012025_09_04_40_5251.jpg', '/media/data/images/22012025/09/04/image_22012025_09_04_35_6392.jpg', '/media/data/images/22012025/09/04/image_22012025_09_04_29_6437.jpg', '/media/data/images/22012025/09/04/image_22012025_09_04_22_5230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/04/image_22012025_09_04_53_6450.jpg
/media/data/images/22012025/09/04/image_22012025_09_04_47_6469.jpg
/media/data/images/22012025/09/04/image_22012025_09_04_40_5251.jpg
/media/data/images/22012025/09/04/image_22012025_09_04_35_6392.jpg
/media/data/images/22012025/09/04/image_22012025_09_04_29_6437.jpg
/media/data/images/22012025/09/04/image_22012025_09_04_22_5230.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330542544","1330542568","1330542553","1330542564","1330542558","1330542548"],"photo_ids_order":["1330542544","1330542548","1330542553","1330542558","1330542564","1330542568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c89f724eaa4b93f17bf5436b5cfa02c5.jpg","text":"TemporaryFile(/tmp/multipartBody8151196077943273621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_53_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/22/4d2eac493f7f692677c194d27a1a3dea.jpg","text":"TemporaryFile(/tmp/multipartBody7429235281666793867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_22_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/22/cd9d6389f6ce64e79c8f7965d19daed9.jpg","text":"TemporaryFile(/tmp/multipartBody8489350156011989729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_40_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/22/d06611e4d11633a318efc5ecd008283c.jpg","text":"TemporaryFile(/tmp/multipartBody8982955290410104422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_29_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/22/df4a7a55d7dfa4cf583bfdae8f14c163.jpg","text":"TemporaryFile(/tmp/multipartBody3612303605170253433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_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/22/2facc60cf15916b16f67e703c35014d7.jpg","text":"TemporaryFile(/tmp/multipartBody6385076582546344619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533168237,"filename":"image_22012025_09_04_47_6469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542553","file1":"1330542548","file0":"1330542544","file4":"1330542564","file5":"1330542568","file3":"1330542558"},"map_files_photo_id_array":[{"photo_id":"1330542568","filename":"file5"},{"photo_id":"1330542553","filename":"file2"},{"photo_id":"1330542564","filename":"file4"},{"photo_id":"1330542548","filename":"file1"},{"photo_id":"1330542544","filename":"file0"},{"photo_id":"1330542558","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542544":["hashtag1","hashtag2"]},{"1330542568":["hashtag1","hashtag2"]},{"1330542553":["hashtag1","hashtag2"]},{"1330542564":["hashtag1","hashtag2"]},{"1330542558":["hashtag1","hashtag2"]},{"1330542548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542544, 1330542568, 1330542553, 1330542564, 1330542558, 1330542548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5909960269928 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:05:42.784596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/05/image_22012025_09_05_52_5196.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_47_6437.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_41_5233.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_35_6471.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_29_6497.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_22_5528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/05/image_22012025_09_05_52_5196.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_47_6437.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_41_5233.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_35_6471.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_29_6497.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_22_5528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330542605","1330542589","1330542583","1330542577","1330542637","1330542581"],"photo_ids_order":["1330542577","1330542581","1330542583","1330542589","1330542605","1330542637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dbf85532cd65c48646ecce7774227bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3042830368595874990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_29_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/22/bfa9ec615969d8381da1003b204a7615.jpg","text":"TemporaryFile(/tmp/multipartBody9145665490886915410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_35_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/22/edaa30aded329fd341f7f1e62c4daa32.jpg","text":"TemporaryFile(/tmp/multipartBody5381049122970270875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_41_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/22/94020c59be4176a804c92a28f84dc941.jpg","text":"TemporaryFile(/tmp/multipartBody7446160981093151744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_52_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/22/f54c407e29470d3acd31432fb9cab511.jpg","text":"TemporaryFile(/tmp/multipartBody8140276663518419213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_22_5528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e9606ae657dcff45a1301685bd5cc168.jpg","text":"TemporaryFile(/tmp/multipartBody6738184944306134220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533206218,"filename":"image_22012025_09_05_47_6437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542583","file1":"1330542581","file0":"1330542577","file4":"1330542605","file5":"1330542637","file3":"1330542589"},"map_files_photo_id_array":[{"photo_id":"1330542637","filename":"file5"},{"photo_id":"1330542583","filename":"file2"},{"photo_id":"1330542605","filename":"file4"},{"photo_id":"1330542581","filename":"file1"},{"photo_id":"1330542577","filename":"file0"},{"photo_id":"1330542589","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542605":["hashtag1","hashtag2"]},{"1330542589":["hashtag1","hashtag2"]},{"1330542583":["hashtag1","hashtag2"]},{"1330542577":["hashtag1","hashtag2"]},{"1330542637":["hashtag1","hashtag2"]},{"1330542581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542605, 1330542589, 1330542583, 1330542577, 1330542637, 1330542581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.806132793426514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:06:21.938855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/06/image_22012025_09_06_53_5255.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_47_6241.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_41_6469.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_35_5359.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_29_6464.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_23_6464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/06/image_22012025_09_06_53_5255.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_47_6241.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_41_6469.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_35_5359.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_29_6464.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_23_6464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330542688","1330542771","1330542695","1330542698","1330542707","1330542701"],"photo_ids_order":["1330542688","1330542695","1330542698","1330542701","1330542707","1330542771"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c854c2296e7bef645c5a0ab5c91ce11b.jpg","text":"TemporaryFile(/tmp/multipartBody1566482766043522890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_53_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/22/771c334be9240d7c4a5cd1b68ffdf798.jpg","text":"TemporaryFile(/tmp/multipartBody5389194724416904579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_23_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/22/6ce5a28c1bdbf79c1dac66bf95c0cf55.jpg","text":"TemporaryFile(/tmp/multipartBody6965873590546540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_47_6241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e6e96f38fa574563aeb4001d96442d5a.jpg","text":"TemporaryFile(/tmp/multipartBody8801262767564568113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_41_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/22/2ec458bb9c42819818ebeb27d874c49d.jpg","text":"TemporaryFile(/tmp/multipartBody7682221085148588307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_29_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/22/b27f9236f3c4e675f8ef6b97a434d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody192384075088884647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533245865,"filename":"image_22012025_09_06_35_5359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542698","file1":"1330542695","file0":"1330542688","file4":"1330542707","file5":"1330542771","file3":"1330542701"},"map_files_photo_id_array":[{"photo_id":"1330542771","filename":"file5"},{"photo_id":"1330542698","filename":"file2"},{"photo_id":"1330542707","filename":"file4"},{"photo_id":"1330542695","filename":"file1"},{"photo_id":"1330542688","filename":"file0"},{"photo_id":"1330542701","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542688":["hashtag1","hashtag2"]},{"1330542771":["hashtag1","hashtag2"]},{"1330542695":["hashtag1","hashtag2"]},{"1330542698":["hashtag1","hashtag2"]},{"1330542707":["hashtag1","hashtag2"]},{"1330542701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542688, 1330542771, 1330542695, 1330542698, 1330542707, 1330542701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61381268501282 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:07:03.722334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/06/image_22012025_09_06_16_5978.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_11_4430.jpg', '/media/data/images/22012025/09/06/image_22012025_09_06_07_7176.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_59_6458.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_17_5811.jpg', '/media/data/images/22012025/09/05/image_22012025_09_05_12_6576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/06/image_22012025_09_06_16_5978.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_11_4430.jpg
/media/data/images/22012025/09/06/image_22012025_09_06_07_7176.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_59_6458.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_17_5811.jpg
/media/data/images/22012025/09/05/image_22012025_09_05_12_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":["1330542835","1330542811","1330542909","1330542912","1330542947","1330542914"],"photo_ids_order":["1330542811","1330542835","1330542909","1330542912","1330542914","1330542947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c278b7affe417bf38bfd4747f914b160.jpg","text":"TemporaryFile(/tmp/multipartBody1296969701904588472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_06_11_4430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a72f16ea88d6b2ad1d2dc9c1f9f0205e.jpg","text":"TemporaryFile(/tmp/multipartBody3558302801263283182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_06_16_5978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a5d6b38f4982b8ea0da64592f1533a33.jpg","text":"TemporaryFile(/tmp/multipartBody3389962912216721069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_06_07_7176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7e53462b682af155751e121aa0e9bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5047771957166413743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_05_59_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/22/fbeedfd4b1eced1b0fcb2336a3994bc4.jpg","text":"TemporaryFile(/tmp/multipartBody9207665593342603326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_05_12_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/22/882e324b7f088e6b0ac40e05fac4c0e1.jpg","text":"TemporaryFile(/tmp/multipartBody8565159249824541881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533292739,"filename":"image_22012025_09_05_17_5811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542909","file1":"1330542835","file0":"1330542811","file4":"1330542914","file5":"1330542947","file3":"1330542912"},"map_files_photo_id_array":[{"photo_id":"1330542947","filename":"file5"},{"photo_id":"1330542909","filename":"file2"},{"photo_id":"1330542914","filename":"file4"},{"photo_id":"1330542835","filename":"file1"},{"photo_id":"1330542811","filename":"file0"},{"photo_id":"1330542912","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330542835":["hashtag1","hashtag2"]},{"1330542811":["hashtag1","hashtag2"]},{"1330542909":["hashtag1","hashtag2"]},{"1330542912":["hashtag1","hashtag2"]},{"1330542947":["hashtag1","hashtag2"]},{"1330542914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330542835, 1330542811, 1330542909, 1330542912, 1330542947, 1330542914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.76878333091736 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:08:03.244882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/07/image_22012025_09_07_52_5054.jpg', '/media/data/images/22012025/09/07/image_22012025_09_07_47_6486.jpg', '/media/data/images/22012025/09/07/image_22012025_09_07_41_6480.jpg', '/media/data/images/22012025/09/07/image_22012025_09_07_34_5257.jpg', '/media/data/images/22012025/09/07/image_22012025_09_07_29_6328.jpg', '/media/data/images/22012025/09/07/image_22012025_09_07_23_5405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/07/image_22012025_09_07_52_5054.jpg
/media/data/images/22012025/09/07/image_22012025_09_07_47_6486.jpg
/media/data/images/22012025/09/07/image_22012025_09_07_41_6480.jpg
/media/data/images/22012025/09/07/image_22012025_09_07_34_5257.jpg
/media/data/images/22012025/09/07/image_22012025_09_07_29_6328.jpg
/media/data/images/22012025/09/07/image_22012025_09_07_23_5405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543015","1330542994","1330543018","1330543012","1330542984","1330542998"],"photo_ids_order":["1330542984","1330542994","1330542998","1330543012","1330543015","1330543018"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dbc3558c2ad68bb2fbbeb1e32768e128.jpg","text":"TemporaryFile(/tmp/multipartBody5738867375572635885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_29_6328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c165c85e88167fa7dc80a526b02f9a51.jpg","text":"TemporaryFile(/tmp/multipartBody1477169411145613036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_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/22/38c3ea938b788be431c6116542705869.jpg","text":"TemporaryFile(/tmp/multipartBody6967157578019796519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_23_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/22/0ec64a06b8de9bfea669f2ef0a8aec88.jpg","text":"TemporaryFile(/tmp/multipartBody5182393910541453818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_34_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/22/603535e6d70b1e3a722ecaf416017756.jpg","text":"TemporaryFile(/tmp/multipartBody5499557137229049929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_52_5054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c99c95770cdb8058772de63e88c761cf.jpg","text":"TemporaryFile(/tmp/multipartBody2842534166364136651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533356195,"filename":"image_22012025_09_07_41_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330542998","file1":"1330542994","file0":"1330542984","file4":"1330543015","file5":"1330543018","file3":"1330543012"},"map_files_photo_id_array":[{"photo_id":"1330543018","filename":"file5"},{"photo_id":"1330542998","filename":"file2"},{"photo_id":"1330543015","filename":"file4"},{"photo_id":"1330542994","filename":"file1"},{"photo_id":"1330542984","filename":"file0"},{"photo_id":"1330543012","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543015":["hashtag1","hashtag2"]},{"1330542994":["hashtag1","hashtag2"]},{"1330543018":["hashtag1","hashtag2"]},{"1330543012":["hashtag1","hashtag2"]},{"1330542984":["hashtag1","hashtag2"]},{"1330542998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543015, 1330542994, 1330543018, 1330543012, 1330542984, 1330542998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40087699890137 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 09:09:04.538830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/08/image_22012025_09_08_53_6530.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_47_5219.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_41_6431.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_35_6437.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_29_5239.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_23_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/08/image_22012025_09_08_53_6530.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_47_5219.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_41_6431.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_35_6437.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_29_5239.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_23_6551.jpg
2025-01-22 09:09:04.765405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/08/image_22012025_09_08_53_6530.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_47_5219.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_41_6431.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_35_6437.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_29_5239.jpg', '/media/data/images/22012025/09/08/image_22012025_09_08_23_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/08/image_22012025_09_08_53_6530.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_47_5219.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_41_6431.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_35_6437.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_29_5239.jpg
/media/data/images/22012025/09/08/image_22012025_09_08_23_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":["1330543060","1330543063","1330543050","1330543068","1330543053","1330543055"],"photo_ids_order":["1330543050","1330543053","1330543055","1330543060","1330543063","1330543068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/520662004247b891879aadf122726a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5866014540229375494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_35_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/22/ae551374798c73c1229783fc55c368cc.jpg","text":"TemporaryFile(/tmp/multipartBody6295944635465413478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_29_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/22/d91158cce203b91c1a7e72dbee8227fb.jpg","text":"TemporaryFile(/tmp/multipartBody8265273572735746791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_53_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/22/6c3047fb82d6fd59f1ba2acc2588b352.jpg","text":"TemporaryFile(/tmp/multipartBody4157747056856189652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_23_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/22/88045a0191d69d2879cf78806c8b1190.jpg","text":"TemporaryFile(/tmp/multipartBody6317021321130191112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_47_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/22/e99bfb71ff4adcd1586f605ab2786bde.jpg","text":"TemporaryFile(/tmp/multipartBody1757825601717142674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533408085,"filename":"image_22012025_09_08_41_6431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543055","file1":"1330543053","file0":"1330543050","file4":"1330543063","file5":"1330543068","file3":"1330543060"},"map_files_photo_id_array":[{"photo_id":"1330543068","filename":"file5"},{"photo_id":"1330543055","filename":"file2"},{"photo_id":"1330543063","filename":"file4"},{"photo_id":"1330543053","filename":"file1"},{"photo_id":"1330543050","filename":"file0"},{"photo_id":"1330543060","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543060":["hashtag1","hashtag2"]},{"1330543063":["hashtag1","hashtag2"]},{"1330543050":["hashtag1","hashtag2"]},{"1330543068":["hashtag1","hashtag2"]},{"1330543053":["hashtag1","hashtag2"]},{"1330543055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543060, 1330543063, 1330543050, 1330543068, 1330543053, 1330543055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710874795913696 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543054","1330543057","1330543071","1330543061","1330543064","1330543051"],"photo_ids_order":["1330543051","1330543054","1330543057","1330543061","1330543064","1330543071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/020f6b2fc0dc8e7597fc0b83dfc1c9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5580414724686622568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_47_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/22/bc40e9759008c6262a8eb3cacfacce8b.jpg","text":"TemporaryFile(/tmp/multipartBody7274978263672926977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_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/22/a785016d9707ec570d3bcf3ef418a39d.jpg","text":"TemporaryFile(/tmp/multipartBody2378368967902988786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_23_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/22/941ea24619cc2e6de1aea8bfbe8223e9.jpg","text":"TemporaryFile(/tmp/multipartBody6169677216443785359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_35_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/22/d76761fb8ad7542fddcf6e3e811034e4.jpg","text":"TemporaryFile(/tmp/multipartBody5070145086685801101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_29_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/22/df8a1d640af94ff5485d18a54dd77296.jpg","text":"TemporaryFile(/tmp/multipartBody4068873858471473157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533409123,"filename":"image_22012025_09_08_53_6530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543057","file1":"1330543054","file0":"1330543051","file4":"1330543064","file5":"1330543071","file3":"1330543061"},"map_files_photo_id_array":[{"photo_id":"1330543071","filename":"file5"},{"photo_id":"1330543057","filename":"file2"},{"photo_id":"1330543064","filename":"file4"},{"photo_id":"1330543054","filename":"file1"},{"photo_id":"1330543051","filename":"file0"},{"photo_id":"1330543061","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543054":["hashtag1","hashtag2"]},{"1330543057":["hashtag1","hashtag2"]},{"1330543071":["hashtag1","hashtag2"]},{"1330543061":["hashtag1","hashtag2"]},{"1330543064":["hashtag1","hashtag2"]},{"1330543051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543054, 1330543057, 1330543071, 1330543061, 1330543064, 1330543051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56347846984863 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:10:03.379774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/09/image_22012025_09_09_53_6677.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_41_5410.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_36_6659.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_23_6500.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_17_6237.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_11_5777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/09/image_22012025_09_09_53_6677.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_41_5410.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_36_6659.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_23_6500.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_17_6237.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_11_5777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543135","1330543114","1330543125","1330543116","1330543110","1330543104"],"photo_ids_order":["1330543104","1330543110","1330543114","1330543116","1330543125","1330543135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d6a91b51136c6d4cd6efa454b526aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody1580042356827096228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_11_5777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aa82d086f95ab513cde2cef204aa2911.jpg","text":"TemporaryFile(/tmp/multipartBody8386682617158466469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_36_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adcf1bacfaafb560eb9e4286e71d2958.jpg","text":"TemporaryFile(/tmp/multipartBody2966172166633483493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_17_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/22/b2e8a11625a5248f3ac9daf0942ac45f.jpg","text":"TemporaryFile(/tmp/multipartBody3618733697456204634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_23_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/22/e0408873d61e0fcd20332e7672515578.jpg","text":"TemporaryFile(/tmp/multipartBody4226675880200517800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_41_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/22/3effc18f729eb8ff8af04e5d0b630749.jpg","text":"TemporaryFile(/tmp/multipartBody4624828901120833004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533474911,"filename":"image_22012025_09_09_53_6677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543114","file1":"1330543110","file0":"1330543104","file4":"1330543125","file5":"1330543135","file3":"1330543116"},"map_files_photo_id_array":[{"photo_id":"1330543135","filename":"file5"},{"photo_id":"1330543114","filename":"file2"},{"photo_id":"1330543125","filename":"file4"},{"photo_id":"1330543110","filename":"file1"},{"photo_id":"1330543104","filename":"file0"},{"photo_id":"1330543116","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543135":["hashtag1","hashtag2"]},{"1330543114":["hashtag1","hashtag2"]},{"1330543125":["hashtag1","hashtag2"]},{"1330543116":["hashtag1","hashtag2"]},{"1330543110":["hashtag1","hashtag2"]},{"1330543104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543135, 1330543114, 1330543125, 1330543116, 1330543110, 1330543104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.42450952529907 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:11:03.983582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/10/image_22012025_09_10_41_6663.jpg', '/media/data/images/22012025/09/10/image_22012025_09_10_35_5397.jpg', '/media/data/images/22012025/09/10/image_22012025_09_10_23_5421.jpg', '/media/data/images/22012025/09/10/image_22012025_09_10_11_6499.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_58_5412.jpg', '/media/data/images/22012025/09/09/image_22012025_09_09_05_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/10/image_22012025_09_10_41_6663.jpg
/media/data/images/22012025/09/10/image_22012025_09_10_35_5397.jpg
/media/data/images/22012025/09/10/image_22012025_09_10_23_5421.jpg
/media/data/images/22012025/09/10/image_22012025_09_10_11_6499.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_58_5412.jpg
/media/data/images/22012025/09/09/image_22012025_09_09_05_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":["1330543185","1330543224","1330543212","1330543169","1330543178","1330543189"],"photo_ids_order":["1330543169","1330543178","1330543185","1330543189","1330543212","1330543224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/16f5d381cca96fcee606411aa648d3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3514420236919958610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_10_23_5421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98fff5e727f4965debe91e89ab18a1d8.jpg","text":"TemporaryFile(/tmp/multipartBody5512151349667170927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_09_05_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/22/4a05d2d4357c653719ef9b3a2edb8885.jpg","text":"TemporaryFile(/tmp/multipartBody5919019827850002973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_09_58_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3dabfa082438493556f948b59d186a18.jpg","text":"TemporaryFile(/tmp/multipartBody4413376963624133099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_10_41_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/22/3c3b2770577b6e8f6e2a3d2c52408635.jpg","text":"TemporaryFile(/tmp/multipartBody3837336875204939377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_10_35_5397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48f29617165e751e0c9a2169f3c580d8.jpg","text":"TemporaryFile(/tmp/multipartBody1747929094489968678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533543926,"filename":"image_22012025_09_10_11_6499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543185","file1":"1330543178","file0":"1330543169","file4":"1330543212","file5":"1330543224","file3":"1330543189"},"map_files_photo_id_array":[{"photo_id":"1330543224","filename":"file5"},{"photo_id":"1330543185","filename":"file2"},{"photo_id":"1330543212","filename":"file4"},{"photo_id":"1330543178","filename":"file1"},{"photo_id":"1330543169","filename":"file0"},{"photo_id":"1330543189","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543185":["hashtag1","hashtag2"]},{"1330543224":["hashtag1","hashtag2"]},{"1330543212":["hashtag1","hashtag2"]},{"1330543169":["hashtag1","hashtag2"]},{"1330543178":["hashtag1","hashtag2"]},{"1330543189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543185, 1330543224, 1330543212, 1330543169, 1330543178, 1330543189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.78929281234741 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:12:04.071605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/11/image_22012025_09_11_47_5415.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_41_6673.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_35_5548.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_29_5431.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_17_4895.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_12_6882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/11/image_22012025_09_11_47_5415.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_41_6673.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_35_5548.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_29_5431.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_17_4895.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_12_6882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543290","1330543303","1330543287","1330543281","1330543284","1330543297"],"photo_ids_order":["1330543281","1330543284","1330543287","1330543290","1330543297","1330543303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a5a5ca0c41e9e3df0bf4eb8383ecb64.jpg","text":"TemporaryFile(/tmp/multipartBody9108296652083701689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_29_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/22/59ec34c8d10da756496f1a90d6078c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6751639714350366323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_12_6882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3bb68b929d079aac003b9fc1b3894d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4383390260226572425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_35_5548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea317ed5455234bf2dbcaf656716a10f.jpg","text":"TemporaryFile(/tmp/multipartBody7807000319934152267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_47_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/22/794ab839ac120e119fc1851c3c0217f2.jpg","text":"TemporaryFile(/tmp/multipartBody7615387235760893753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_41_6673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18b54b7f919895acdfcba794ebd30d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7478807031880250486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533604337,"filename":"image_22012025_09_11_17_4895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543287","file1":"1330543284","file0":"1330543281","file4":"1330543297","file5":"1330543303","file3":"1330543290"},"map_files_photo_id_array":[{"photo_id":"1330543303","filename":"file5"},{"photo_id":"1330543287","filename":"file2"},{"photo_id":"1330543297","filename":"file4"},{"photo_id":"1330543284","filename":"file1"},{"photo_id":"1330543281","filename":"file0"},{"photo_id":"1330543290","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543290":["hashtag1","hashtag2"]},{"1330543303":["hashtag1","hashtag2"]},{"1330543287":["hashtag1","hashtag2"]},{"1330543281":["hashtag1","hashtag2"]},{"1330543284":["hashtag1","hashtag2"]},{"1330543297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543290, 1330543303, 1330543287, 1330543281, 1330543284, 1330543297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.553845167160034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:13:03.522196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/12/image_22012025_09_12_53_5397.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_47_6653.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_40_5406.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_35_6669.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_28_4406.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_24_7670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/12/image_22012025_09_12_53_5397.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_47_6653.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_40_5406.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_35_6669.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_28_4406.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_24_7670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543341","1330543359","1330543344","1330543347","1330543364","1330543352"],"photo_ids_order":["1330543341","1330543344","1330543347","1330543352","1330543359","1330543364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b671ab473f029e46f5a7bf9ce02f7b67.jpg","text":"TemporaryFile(/tmp/multipartBody684579826944139688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_53_5397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/214967c0c3a821def8a804afefad75e2.jpg","text":"TemporaryFile(/tmp/multipartBody5946209393549626212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_28_4406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f97bf872177c2d0dc9a7929ffed2d9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3986571604499949179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_47_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/22/a03c6e18f12a119948fe7ec0311cbc64.jpg","text":"TemporaryFile(/tmp/multipartBody7635892727956862308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_40_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/22/0db3b7b1a94f6ca245f1b4237d975c58.jpg","text":"TemporaryFile(/tmp/multipartBody4547558035180159493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_24_7670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01cce6b6a77effdbb114d331da535c11.jpg","text":"TemporaryFile(/tmp/multipartBody8654499554747834094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533661972,"filename":"image_22012025_09_12_35_6669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543347","file1":"1330543344","file0":"1330543341","file4":"1330543359","file5":"1330543364","file3":"1330543352"},"map_files_photo_id_array":[{"photo_id":"1330543364","filename":"file5"},{"photo_id":"1330543347","filename":"file2"},{"photo_id":"1330543359","filename":"file4"},{"photo_id":"1330543344","filename":"file1"},{"photo_id":"1330543341","filename":"file0"},{"photo_id":"1330543352","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543341":["hashtag1","hashtag2"]},{"1330543359":["hashtag1","hashtag2"]},{"1330543344":["hashtag1","hashtag2"]},{"1330543347":["hashtag1","hashtag2"]},{"1330543364":["hashtag1","hashtag2"]},{"1330543352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543341, 1330543359, 1330543344, 1330543347, 1330543364, 1330543352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.2543671131134 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 09:14:03.731974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/13/image_22012025_09_13_12_6244.jpg', '/media/data/images/22012025/09/13/image_22012025_09_13_05_6215.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_59_6648.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_17_5698.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_11_5257.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_59_5484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/13/image_22012025_09_13_12_6244.jpg
/media/data/images/22012025/09/13/image_22012025_09_13_05_6215.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_59_6648.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_17_5698.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_11_5257.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_59_5484.jpg
2025-01-22 09:14:04.046071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/13/image_22012025_09_13_12_6244.jpg', '/media/data/images/22012025/09/13/image_22012025_09_13_05_6215.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_59_6648.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_17_5698.jpg', '/media/data/images/22012025/09/12/image_22012025_09_12_11_5257.jpg', '/media/data/images/22012025/09/11/image_22012025_09_11_59_5484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/13/image_22012025_09_13_12_6244.jpg
/media/data/images/22012025/09/13/image_22012025_09_13_05_6215.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_59_6648.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_17_5698.jpg
/media/data/images/22012025/09/12/image_22012025_09_12_11_5257.jpg
/media/data/images/22012025/09/11/image_22012025_09_11_59_5484.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":["1330543414","1330543443","1330543431","1330543425","1330543419","1330543436"],"photo_ids_order":["1330543414","1330543419","1330543425","1330543431","1330543436","1330543443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2a7077f466e6715b972451e991afe9a.jpg","text":"TemporaryFile(/tmp/multipartBody8085356702029426816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_13_12_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/22/30b053dd1973507b4742e1df55d74a49.jpg","text":"TemporaryFile(/tmp/multipartBody1739398188538844161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_11_59_5484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b3c0d778dbe644ff614ee5b476b9dfd8.jpg","text":"TemporaryFile(/tmp/multipartBody1597772874884861580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_12_17_5698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3800c0e735b383f30c46d4d6aa7c3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5451242515955472742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_12_59_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/22/95d68d4a5f1be2774876160dffd0ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody124728662399982562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_13_05_6215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c890d13e44d7c3eea0168ae4feb199f.jpg","text":"TemporaryFile(/tmp/multipartBody2316727773529542049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533740307,"filename":"image_22012025_09_12_11_5257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543425","file1":"1330543419","file0":"1330543414","file4":"1330543436","file5":"1330543443","file3":"1330543431"},"map_files_photo_id_array":[{"photo_id":"1330543443","filename":"file5"},{"photo_id":"1330543425","filename":"file2"},{"photo_id":"1330543436","filename":"file4"},{"photo_id":"1330543419","filename":"file1"},{"photo_id":"1330543414","filename":"file0"},{"photo_id":"1330543431","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543414":["hashtag1","hashtag2"]},{"1330543443":["hashtag1","hashtag2"]},{"1330543431":["hashtag1","hashtag2"]},{"1330543425":["hashtag1","hashtag2"]},{"1330543419":["hashtag1","hashtag2"]},{"1330543436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543414, 1330543443, 1330543431, 1330543425, 1330543419, 1330543436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.53847002983093 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543447","1330543435","1330543430","1330543424","1330543418","1330543441"],"photo_ids_order":["1330543418","1330543424","1330543430","1330543435","1330543441","1330543447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ef67acb1d72fd87db6096937a4139ee.jpg","text":"TemporaryFile(/tmp/multipartBody7483751267032408229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_11_59_5484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c57ca3bf5efc8f21e770ad8090d0e74.jpg","text":"TemporaryFile(/tmp/multipartBody210561882783880077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_12_17_5698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b4cfc24b8871f3796d91292ed3030cf.jpg","text":"TemporaryFile(/tmp/multipartBody1099820408514351114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_12_59_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/22/1e811432ccec8731224217f1e2e34740.jpg","text":"TemporaryFile(/tmp/multipartBody7622254971979755077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_13_05_6215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dda97bcf2efd45127df4d3cbcdfac981.jpg","text":"TemporaryFile(/tmp/multipartBody4126440789639594267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_13_12_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/22/68f44f2cb5b562e16a1d7647bbeda94c.jpg","text":"TemporaryFile(/tmp/multipartBody4290758200569423203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533744552,"filename":"image_22012025_09_12_11_5257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543430","file1":"1330543424","file0":"1330543418","file4":"1330543441","file5":"1330543447","file3":"1330543435"},"map_files_photo_id_array":[{"photo_id":"1330543447","filename":"file5"},{"photo_id":"1330543430","filename":"file2"},{"photo_id":"1330543441","filename":"file4"},{"photo_id":"1330543424","filename":"file1"},{"photo_id":"1330543418","filename":"file0"},{"photo_id":"1330543435","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543447":["hashtag1","hashtag2"]},{"1330543435":["hashtag1","hashtag2"]},{"1330543430":["hashtag1","hashtag2"]},{"1330543424":["hashtag1","hashtag2"]},{"1330543418":["hashtag1","hashtag2"]},{"1330543441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543447, 1330543435, 1330543430, 1330543424, 1330543418, 1330543441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.59808897972107 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:15:22.331136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/15/image_22012025_09_15_53_6516.jpg', '/media/data/images/22012025/09/15/image_22012025_09_15_46_5627.jpg', '/media/data/images/22012025/09/15/image_22012025_09_15_41_6267.jpg', '/media/data/images/22012025/09/15/image_22012025_09_15_35_6063.jpg', '/media/data/images/22012025/09/15/image_22012025_09_15_29_4734.jpg', '/media/data/images/22012025/09/15/image_22012025_09_15_24_6642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/15/image_22012025_09_15_53_6516.jpg
/media/data/images/22012025/09/15/image_22012025_09_15_46_5627.jpg
/media/data/images/22012025/09/15/image_22012025_09_15_41_6267.jpg
/media/data/images/22012025/09/15/image_22012025_09_15_35_6063.jpg
/media/data/images/22012025/09/15/image_22012025_09_15_29_4734.jpg
/media/data/images/22012025/09/15/image_22012025_09_15_24_6642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543516","1330543488","1330543518","1330543511","1330543520","1330543505"],"photo_ids_order":["1330543488","1330543505","1330543511","1330543516","1330543518","1330543520"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/12cda656ec05c2193fdfb77f0821d289.jpg","text":"TemporaryFile(/tmp/multipartBody8978085076193978113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_35_6063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a8437c6e437c7a5a26b0b52428cf4aa7.jpg","text":"TemporaryFile(/tmp/multipartBody518664407267619033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_53_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/22/29cca882e2f1cef3d2205f07b4aaa3a3.jpg","text":"TemporaryFile(/tmp/multipartBody1306345493069598131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_29_4734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b9d0bdee0eca4658a77565da9d6b5259.jpg","text":"TemporaryFile(/tmp/multipartBody7350362108286025826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_41_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/22/c1f5050db177e4110b2c07c86da7a576.jpg","text":"TemporaryFile(/tmp/multipartBody8461914298413573578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_24_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/22/3c4c819f2f45892bd8ea3c769a4bf2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3598883009464735795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533795120,"filename":"image_22012025_09_15_46_5627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543511","file1":"1330543505","file0":"1330543488","file4":"1330543518","file5":"1330543520","file3":"1330543516"},"map_files_photo_id_array":[{"photo_id":"1330543520","filename":"file5"},{"photo_id":"1330543511","filename":"file2"},{"photo_id":"1330543518","filename":"file4"},{"photo_id":"1330543505","filename":"file1"},{"photo_id":"1330543488","filename":"file0"},{"photo_id":"1330543516","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543516":["hashtag1","hashtag2"]},{"1330543488":["hashtag1","hashtag2"]},{"1330543518":["hashtag1","hashtag2"]},{"1330543511":["hashtag1","hashtag2"]},{"1330543520":["hashtag1","hashtag2"]},{"1330543505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543516, 1330543488, 1330543518, 1330543511, 1330543520, 1330543505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.629748582839966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:16:22.441199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/16/image_22012025_09_16_53_6435.jpg', '/media/data/images/22012025/09/16/image_22012025_09_16_46_5295.jpg', '/media/data/images/22012025/09/16/image_22012025_09_16_30_6295.jpg', '/media/data/images/22012025/09/16/image_22012025_09_16_24_6517.jpg', '/media/data/images/22012025/09/16/image_22012025_09_16_17_5691.jpg', '/media/data/images/22012025/09/16/image_22012025_09_16_11_6216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/16/image_22012025_09_16_53_6435.jpg
/media/data/images/22012025/09/16/image_22012025_09_16_46_5295.jpg
/media/data/images/22012025/09/16/image_22012025_09_16_30_6295.jpg
/media/data/images/22012025/09/16/image_22012025_09_16_24_6517.jpg
/media/data/images/22012025/09/16/image_22012025_09_16_17_5691.jpg
/media/data/images/22012025/09/16/image_22012025_09_16_11_6216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543773","1330543871","1330543853","1330543777","1330543792","1330543888"],"photo_ids_order":["1330543773","1330543777","1330543792","1330543853","1330543871","1330543888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b613fc8676d18958ec97c9a653b0372.jpg","text":"TemporaryFile(/tmp/multipartBody1479626760409280531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_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/22/aaf592438e82b37c89a0df9b7571b9bf.jpg","text":"TemporaryFile(/tmp/multipartBody1424557294039717910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_17_5691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0fcab952f852ef81c035799c53df0d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2754690483994821837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_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/22/f9a67e2e57602049dabdd28216cbb54d.jpg","text":"TemporaryFile(/tmp/multipartBody936571184951290565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_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/22/febd7d910240d8088fbeeae0d9631dd1.jpg","text":"TemporaryFile(/tmp/multipartBody9213927073110010281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_30_6295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/985a4346f7db88f198bbd0e4968f0373.jpg","text":"TemporaryFile(/tmp/multipartBody6315336499972857643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533855716,"filename":"image_22012025_09_16_11_6216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543792","file1":"1330543777","file0":"1330543773","file4":"1330543871","file5":"1330543888","file3":"1330543853"},"map_files_photo_id_array":[{"photo_id":"1330543888","filename":"file5"},{"photo_id":"1330543792","filename":"file2"},{"photo_id":"1330543871","filename":"file4"},{"photo_id":"1330543777","filename":"file1"},{"photo_id":"1330543773","filename":"file0"},{"photo_id":"1330543853","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543773":["hashtag1","hashtag2"]},{"1330543871":["hashtag1","hashtag2"]},{"1330543853":["hashtag1","hashtag2"]},{"1330543777":["hashtag1","hashtag2"]},{"1330543792":["hashtag1","hashtag2"]},{"1330543888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543773, 1330543871, 1330543853, 1330543777, 1330543792, 1330543888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.467161417007446 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:17:22.580666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/17/image_22012025_09_17_53_5309.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_41_5257.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_36_6457.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_30_5806.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_23_6509.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_17_6482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/17/image_22012025_09_17_53_5309.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_41_5257.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_36_6457.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_30_5806.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_23_6509.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_17_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":["1330543927","1330543936","1330543921","1330543918","1330543940","1330543931"],"photo_ids_order":["1330543918","1330543921","1330543927","1330543931","1330543936","1330543940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0b40db541138bd1d2e47e54efe5d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7224875938382509927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_36_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/22/88c7cc669ff717d02e09f5412c5b4754.jpg","text":"TemporaryFile(/tmp/multipartBody4360907796196040782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_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/22/775e3c774b5167575c4a377ce525ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody2910578695190013108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_41_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/22/6d1a864018686b3b9fb1650e415031f8.jpg","text":"TemporaryFile(/tmp/multipartBody7098869390445178450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_53_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/22/06cf707aa0114af29fc406339c38281b.jpg","text":"TemporaryFile(/tmp/multipartBody5387559388267791583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_17_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/22/c4e8fe862ddaef932d6ba6cb958705e5.jpg","text":"TemporaryFile(/tmp/multipartBody5221045960912193208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533920207,"filename":"image_22012025_09_17_30_5806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543927","file1":"1330543921","file0":"1330543918","file4":"1330543936","file5":"1330543940","file3":"1330543931"},"map_files_photo_id_array":[{"photo_id":"1330543940","filename":"file5"},{"photo_id":"1330543927","filename":"file2"},{"photo_id":"1330543936","filename":"file4"},{"photo_id":"1330543921","filename":"file1"},{"photo_id":"1330543918","filename":"file0"},{"photo_id":"1330543931","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543927":["hashtag1","hashtag2"]},{"1330543936":["hashtag1","hashtag2"]},{"1330543921":["hashtag1","hashtag2"]},{"1330543918":["hashtag1","hashtag2"]},{"1330543940":["hashtag1","hashtag2"]},{"1330543931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543927, 1330543936, 1330543921, 1330543918, 1330543940, 1330543931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95463752746582 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:18:22.629194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/18/image_22012025_09_18_53_6587.jpg', '/media/data/images/22012025/09/18/image_22012025_09_18_46_5330.jpg', '/media/data/images/22012025/09/18/image_22012025_09_18_41_6446.jpg', '/media/data/images/22012025/09/18/image_22012025_09_18_30_6804.jpg', '/media/data/images/22012025/09/18/image_22012025_09_18_23_5353.jpg', '/media/data/images/22012025/09/17/image_22012025_09_17_59_6555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/18/image_22012025_09_18_53_6587.jpg
/media/data/images/22012025/09/18/image_22012025_09_18_46_5330.jpg
/media/data/images/22012025/09/18/image_22012025_09_18_41_6446.jpg
/media/data/images/22012025/09/18/image_22012025_09_18_30_6804.jpg
/media/data/images/22012025/09/18/image_22012025_09_18_23_5353.jpg
/media/data/images/22012025/09/17/image_22012025_09_17_59_6555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330543960","1330543986","1330543995","1330543980","1330543991","1330543970"],"photo_ids_order":["1330543960","1330543970","1330543980","1330543986","1330543991","1330543995"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/56f8fc2d0d4d6bbc9a81190e9f2e6848.jpg","text":"TemporaryFile(/tmp/multipartBody8982920174515857304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_18_53_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/22/3fe257a9c82015cb975b97f4eca1320a.jpg","text":"TemporaryFile(/tmp/multipartBody7903136483369811024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_18_30_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c9c0605b6c36d6109726ef6e341dee6.jpg","text":"TemporaryFile(/tmp/multipartBody8168867732348868632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_17_59_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/22/bb67ca0d5e5c51a8b2f54d51b13577f3.jpg","text":"TemporaryFile(/tmp/multipartBody7105585801405153925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_18_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/22/b0e231d6efbb98b76a0efdf5f6803124.jpg","text":"TemporaryFile(/tmp/multipartBody7761889837001987258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_18_23_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/22/b09df07d5c7486d73fa10b11074a612e.jpg","text":"TemporaryFile(/tmp/multipartBody5467706711319652864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737533980873,"filename":"image_22012025_09_18_46_5330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330543980","file1":"1330543970","file0":"1330543960","file4":"1330543991","file5":"1330543995","file3":"1330543986"},"map_files_photo_id_array":[{"photo_id":"1330543995","filename":"file5"},{"photo_id":"1330543980","filename":"file2"},{"photo_id":"1330543991","filename":"file4"},{"photo_id":"1330543970","filename":"file1"},{"photo_id":"1330543960","filename":"file0"},{"photo_id":"1330543986","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330543960":["hashtag1","hashtag2"]},{"1330543986":["hashtag1","hashtag2"]},{"1330543995":["hashtag1","hashtag2"]},{"1330543980":["hashtag1","hashtag2"]},{"1330543991":["hashtag1","hashtag2"]},{"1330543970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330543960, 1330543986, 1330543995, 1330543980, 1330543991, 1330543970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.177682638168335 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:19:22.818135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/19/image_22012025_09_19_53_5392.jpg', '/media/data/images/22012025/09/19/image_22012025_09_19_36_6612.jpg', '/media/data/images/22012025/09/19/image_22012025_09_19_29_6384.jpg', '/media/data/images/22012025/09/19/image_22012025_09_19_23_5348.jpg', '/media/data/images/22012025/09/19/image_22012025_09_19_17_6590.jpg', '/media/data/images/22012025/09/19/image_22012025_09_19_11_5587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/19/image_22012025_09_19_53_5392.jpg
/media/data/images/22012025/09/19/image_22012025_09_19_36_6612.jpg
/media/data/images/22012025/09/19/image_22012025_09_19_29_6384.jpg
/media/data/images/22012025/09/19/image_22012025_09_19_23_5348.jpg
/media/data/images/22012025/09/19/image_22012025_09_19_17_6590.jpg
/media/data/images/22012025/09/19/image_22012025_09_19_11_5587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544067","1330544037","1330544075","1330544048","1330544033","1330544029"],"photo_ids_order":["1330544029","1330544033","1330544037","1330544048","1330544067","1330544075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09dc0b9f41145506640b4533f665098f.jpg","text":"TemporaryFile(/tmp/multipartBody770263311337087139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_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/22/f47074992aca15deadf140161bfcdb5a.jpg","text":"TemporaryFile(/tmp/multipartBody7800674578921066086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_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/22/3c17a94f519d9202c30679edd3b18b48.jpg","text":"TemporaryFile(/tmp/multipartBody703862631152571359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_11_5587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/529fadc6750d333bdbbe4ae43a26382d.jpg","text":"TemporaryFile(/tmp/multipartBody3545958737966377212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_23_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/22/23f5ae954f94028a38ddbeeb54e7de7a.jpg","text":"TemporaryFile(/tmp/multipartBody2116325557116845053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_36_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/22/e5a8047d8a9b402c638bd3f057f09d8d.jpg","text":"TemporaryFile(/tmp/multipartBody113370804966325106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534027612,"filename":"image_22012025_09_19_53_5392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544037","file1":"1330544033","file0":"1330544029","file4":"1330544067","file5":"1330544075","file3":"1330544048"},"map_files_photo_id_array":[{"photo_id":"1330544075","filename":"file5"},{"photo_id":"1330544037","filename":"file2"},{"photo_id":"1330544067","filename":"file4"},{"photo_id":"1330544033","filename":"file1"},{"photo_id":"1330544029","filename":"file0"},{"photo_id":"1330544048","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544067":["hashtag1","hashtag2"]},{"1330544037":["hashtag1","hashtag2"]},{"1330544075":["hashtag1","hashtag2"]},{"1330544048":["hashtag1","hashtag2"]},{"1330544033":["hashtag1","hashtag2"]},{"1330544029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544067, 1330544037, 1330544075, 1330544048, 1330544033, 1330544029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.056349992752075 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:20:22.030846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/20/image_22012025_09_20_53_6518.jpg', '/media/data/images/22012025/09/20/image_22012025_09_20_47_5272.jpg', '/media/data/images/22012025/09/20/image_22012025_09_20_42_6513.jpg', '/media/data/images/22012025/09/20/image_22012025_09_20_35_6518.jpg', '/media/data/images/22012025/09/20/image_22012025_09_20_28_5849.jpg', '/media/data/images/22012025/09/20/image_22012025_09_20_23_5395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/20/image_22012025_09_20_53_6518.jpg
/media/data/images/22012025/09/20/image_22012025_09_20_47_5272.jpg
/media/data/images/22012025/09/20/image_22012025_09_20_42_6513.jpg
/media/data/images/22012025/09/20/image_22012025_09_20_35_6518.jpg
/media/data/images/22012025/09/20/image_22012025_09_20_28_5849.jpg
/media/data/images/22012025/09/20/image_22012025_09_20_23_5395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544308","1330544280","1330544288","1330544276","1330544272","1330544284"],"photo_ids_order":["1330544272","1330544276","1330544280","1330544284","1330544288","1330544308"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed0060346c5f4bfaf39f99879c8cd73e.jpg","text":"TemporaryFile(/tmp/multipartBody7747329184009491058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_23_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/22/4fbdd09a63de35d908392e79cac17ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1890687571615779203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_42_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/22/a69eca7883695609c72084ea8ca3ebea.jpg","text":"TemporaryFile(/tmp/multipartBody3806953206917003333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_28_5849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69d0bd571e76233371e02a5e32c04066.jpg","text":"TemporaryFile(/tmp/multipartBody3766197155792954042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_47_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/22/0d0ac5932ea876feac64e42c39a96ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7338512125198161170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_53_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/22/fc873733c1743ab1f60bab2ab2c7626f.jpg","text":"TemporaryFile(/tmp/multipartBody6595585268306303194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534098497,"filename":"image_22012025_09_20_35_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544280","file1":"1330544276","file0":"1330544272","file4":"1330544288","file5":"1330544308","file3":"1330544284"},"map_files_photo_id_array":[{"photo_id":"1330544308","filename":"file5"},{"photo_id":"1330544280","filename":"file2"},{"photo_id":"1330544288","filename":"file4"},{"photo_id":"1330544276","filename":"file1"},{"photo_id":"1330544272","filename":"file0"},{"photo_id":"1330544284","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544308":["hashtag1","hashtag2"]},{"1330544280":["hashtag1","hashtag2"]},{"1330544288":["hashtag1","hashtag2"]},{"1330544276":["hashtag1","hashtag2"]},{"1330544272":["hashtag1","hashtag2"]},{"1330544284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544308, 1330544280, 1330544288, 1330544276, 1330544272, 1330544284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.728384256362915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:21:22.145344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/21/image_22012025_09_21_46_5331.jpg', '/media/data/images/22012025/09/21/image_22012025_09_21_41_5464.jpg', '/media/data/images/22012025/09/21/image_22012025_09_21_36_6141.jpg', '/media/data/images/22012025/09/21/image_22012025_09_21_30_6394.jpg', '/media/data/images/22012025/09/21/image_22012025_09_21_23_6622.jpg', '/media/data/images/22012025/09/21/image_22012025_09_21_16_5292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/21/image_22012025_09_21_46_5331.jpg
/media/data/images/22012025/09/21/image_22012025_09_21_41_5464.jpg
/media/data/images/22012025/09/21/image_22012025_09_21_36_6141.jpg
/media/data/images/22012025/09/21/image_22012025_09_21_30_6394.jpg
/media/data/images/22012025/09/21/image_22012025_09_21_23_6622.jpg
/media/data/images/22012025/09/21/image_22012025_09_21_16_5292.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544445","1330544421","1330544435","1330544414","1330544440","1330544416"],"photo_ids_order":["1330544414","1330544416","1330544421","1330544435","1330544440","1330544445"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2ed7ca9ae653e1d2ebc76daafc31d346.jpg","text":"TemporaryFile(/tmp/multipartBody5811509717528427904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_16_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/22/e5c51ef83845a5e9fe1ef3c4fc681e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1432904286065853668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_36_6141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e804c0565ff6422ee0f98306962c4eb0.jpg","text":"TemporaryFile(/tmp/multipartBody6849054558181126635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_30_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/22/bd80f332a932b8419505eaec3a7bcbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5620656787110615411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_46_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/22/a6c0e4b4f8d98009eb9cc56073b40afb.jpg","text":"TemporaryFile(/tmp/multipartBody2964716139892498403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_23_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9fc8426031b28136936ad77476e4240f.jpg","text":"TemporaryFile(/tmp/multipartBody814383607035470225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534178284,"filename":"image_22012025_09_21_41_5464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544421","file1":"1330544416","file0":"1330544414","file4":"1330544440","file5":"1330544445","file3":"1330544435"},"map_files_photo_id_array":[{"photo_id":"1330544445","filename":"file5"},{"photo_id":"1330544421","filename":"file2"},{"photo_id":"1330544440","filename":"file4"},{"photo_id":"1330544416","filename":"file1"},{"photo_id":"1330544414","filename":"file0"},{"photo_id":"1330544435","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544445":["hashtag1","hashtag2"]},{"1330544421":["hashtag1","hashtag2"]},{"1330544435":["hashtag1","hashtag2"]},{"1330544414":["hashtag1","hashtag2"]},{"1330544440":["hashtag1","hashtag2"]},{"1330544416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544445, 1330544421, 1330544435, 1330544414, 1330544440, 1330544416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.20415616035461 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:22:42.405680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/22/image_22012025_09_22_54_6260.jpg', '/media/data/images/22012025/09/22/image_22012025_09_22_48_6458.jpg', '/media/data/images/22012025/09/22/image_22012025_09_22_41_5206.jpg', '/media/data/images/22012025/09/22/image_22012025_09_22_36_6623.jpg', '/media/data/images/22012025/09/22/image_22012025_09_22_30_6453.jpg', '/media/data/images/22012025/09/22/image_22012025_09_22_23_5296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/22/image_22012025_09_22_54_6260.jpg
/media/data/images/22012025/09/22/image_22012025_09_22_48_6458.jpg
/media/data/images/22012025/09/22/image_22012025_09_22_41_5206.jpg
/media/data/images/22012025/09/22/image_22012025_09_22_36_6623.jpg
/media/data/images/22012025/09/22/image_22012025_09_22_30_6453.jpg
/media/data/images/22012025/09/22/image_22012025_09_22_23_5296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544544","1330544535","1330544540","1330544551","1330544554","1330544548"],"photo_ids_order":["1330544535","1330544540","1330544544","1330544548","1330544551","1330544554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cda3a4d30da88cbeb02f7581ce69956f.jpg","text":"TemporaryFile(/tmp/multipartBody2691389600506805211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_41_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/22/ec3007b8c1272e7801e8e691c5a8bdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6774164620012366337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_54_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/22/a20e816aad59fb4d0b139d21f47b9490.jpg","text":"TemporaryFile(/tmp/multipartBody630623187073781106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_48_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/22/4b60780e0b85b6f04dba059294f253fe.jpg","text":"TemporaryFile(/tmp/multipartBody3795024004859670646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_30_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/22/912eef5e9a5f958943d194c1e1327706.jpg","text":"TemporaryFile(/tmp/multipartBody1198121749630644633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_23_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/22/00f025ec152b3b541fb2d2ae8d384a19.jpg","text":"TemporaryFile(/tmp/multipartBody7464906344951078708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534259152,"filename":"image_22012025_09_22_36_6623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544544","file1":"1330544540","file0":"1330544535","file4":"1330544551","file5":"1330544554","file3":"1330544548"},"map_files_photo_id_array":[{"photo_id":"1330544554","filename":"file5"},{"photo_id":"1330544544","filename":"file2"},{"photo_id":"1330544551","filename":"file4"},{"photo_id":"1330544540","filename":"file1"},{"photo_id":"1330544535","filename":"file0"},{"photo_id":"1330544548","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544544":["hashtag1","hashtag2"]},{"1330544535":["hashtag1","hashtag2"]},{"1330544540":["hashtag1","hashtag2"]},{"1330544551":["hashtag1","hashtag2"]},{"1330544554":["hashtag1","hashtag2"]},{"1330544548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544544, 1330544535, 1330544540, 1330544551, 1330544554, 1330544548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.29169201850891 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 09:24:04.403885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/23/image_22012025_09_23_54_6469.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_47_6457.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_35_6557.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_23_6543.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_11_6851.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_05_5114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/23/image_22012025_09_23_54_6469.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_47_6457.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_35_6557.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_23_6543.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_11_6851.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_05_5114.jpg
2025-01-22 09:24:04.803381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/23/image_22012025_09_23_54_6469.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_47_6457.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_35_6557.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_23_6543.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_11_6851.jpg', '/media/data/images/22012025/09/23/image_22012025_09_23_05_5114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/23/image_22012025_09_23_54_6469.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_47_6457.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_35_6557.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_23_6543.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_11_6851.jpg
/media/data/images/22012025/09/23/image_22012025_09_23_05_5114.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":["1330544604","1330544612","1330544596","1330544600","1330544608","1330544592"],"photo_ids_order":["1330544592","1330544596","1330544600","1330544604","1330544608","1330544612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/441700d37eb9d9d538222ec7ec7b47a3.jpg","text":"TemporaryFile(/tmp/multipartBody8482898154321272922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_23_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/22/13be64d013dc8b9c8685b87fe64fe0d5.jpg","text":"TemporaryFile(/tmp/multipartBody6372403960831589342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_05_5114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/406344b122d6cd908d69e6e152905d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2529027401883170527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_47_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/22/43e0fe5fa65181da4f7e475e6c33c3fc.jpg","text":"TemporaryFile(/tmp/multipartBody9165833676014059704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_35_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/22/3955fad3c8ba3fc5e9b4ad6c871f86c9.jpg","text":"TemporaryFile(/tmp/multipartBody4417009363929196213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_11_6851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0661cb06efc4986ef527df7bf889e273.jpg","text":"TemporaryFile(/tmp/multipartBody3782859537670809158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534340897,"filename":"image_22012025_09_23_54_6469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544600","file1":"1330544596","file0":"1330544592","file4":"1330544608","file5":"1330544612","file3":"1330544604"},"map_files_photo_id_array":[{"photo_id":"1330544612","filename":"file5"},{"photo_id":"1330544600","filename":"file2"},{"photo_id":"1330544608","filename":"file4"},{"photo_id":"1330544596","filename":"file1"},{"photo_id":"1330544592","filename":"file0"},{"photo_id":"1330544604","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544604":["hashtag1","hashtag2"]},{"1330544612":["hashtag1","hashtag2"]},{"1330544596":["hashtag1","hashtag2"]},{"1330544600":["hashtag1","hashtag2"]},{"1330544608":["hashtag1","hashtag2"]},{"1330544592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544604, 1330544612, 1330544596, 1330544600, 1330544608, 1330544592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.57841920852661 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544619","1330544597","1330544606","1330544609","1330544614","1330544602"],"photo_ids_order":["1330544597","1330544602","1330544606","1330544609","1330544614","1330544619"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5e48890a85d5f388794fff2aeef6c49.jpg","text":"TemporaryFile(/tmp/multipartBody8638135548431893658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_05_5114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20a8507d5fff1fb6d0845ed84cdc2701.jpg","text":"TemporaryFile(/tmp/multipartBody5526830327484129411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_54_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/22/e9b941be1cd0f0a84442ef919ad39ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6536603272186406705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_35_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/22/4155f3168b49212f7afce6d6868352d7.jpg","text":"TemporaryFile(/tmp/multipartBody6990981779978331107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_23_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/22/87c9561f89a5c4d22e1b1100a8d32d86.jpg","text":"TemporaryFile(/tmp/multipartBody9202659453554444901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_11_6851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/28945f0be225aa70503a6d248fe7fc62.jpg","text":"TemporaryFile(/tmp/multipartBody579498188021024780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534346271,"filename":"image_22012025_09_23_47_6457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544606","file1":"1330544602","file0":"1330544597","file4":"1330544614","file5":"1330544619","file3":"1330544609"},"map_files_photo_id_array":[{"photo_id":"1330544619","filename":"file5"},{"photo_id":"1330544606","filename":"file2"},{"photo_id":"1330544614","filename":"file4"},{"photo_id":"1330544602","filename":"file1"},{"photo_id":"1330544597","filename":"file0"},{"photo_id":"1330544609","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544619":["hashtag1","hashtag2"]},{"1330544597":["hashtag1","hashtag2"]},{"1330544606":["hashtag1","hashtag2"]},{"1330544609":["hashtag1","hashtag2"]},{"1330544614":["hashtag1","hashtag2"]},{"1330544602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544619, 1330544597, 1330544606, 1330544609, 1330544614, 1330544602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.09324359893799 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:25:22.030374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/25/image_22012025_09_25_53_6474.jpg', '/media/data/images/22012025/09/25/image_22012025_09_25_47_5554.jpg', '/media/data/images/22012025/09/25/image_22012025_09_25_41_6302.jpg', '/media/data/images/22012025/09/25/image_22012025_09_25_36_6166.jpg', '/media/data/images/22012025/09/25/image_22012025_09_25_29_4867.jpg', '/media/data/images/22012025/09/25/image_22012025_09_25_25_6717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/25/image_22012025_09_25_53_6474.jpg
/media/data/images/22012025/09/25/image_22012025_09_25_47_5554.jpg
/media/data/images/22012025/09/25/image_22012025_09_25_41_6302.jpg
/media/data/images/22012025/09/25/image_22012025_09_25_36_6166.jpg
/media/data/images/22012025/09/25/image_22012025_09_25_29_4867.jpg
/media/data/images/22012025/09/25/image_22012025_09_25_25_6717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544688","1330544676","1330544658","1330544651","1330544647","1330544656"],"photo_ids_order":["1330544647","1330544651","1330544656","1330544658","1330544676","1330544688"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0986449159b41549461b21a738889019.jpg","text":"TemporaryFile(/tmp/multipartBody529575386525410825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_25_6717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc1a4026dc817777a40409dd623a30d6.jpg","text":"TemporaryFile(/tmp/multipartBody8153435209537201055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_29_4867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad853abfd2e2997d59a9f7973b472d76.jpg","text":"TemporaryFile(/tmp/multipartBody3083763011547205456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_36_6166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57ee31da98e328b43f6c0042c4a5c1e4.jpg","text":"TemporaryFile(/tmp/multipartBody8874179213038497710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_47_5554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/be49530b978b757126e5346f5f6db219.jpg","text":"TemporaryFile(/tmp/multipartBody3064900364279477993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_53_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/22/1f21ee4314820320bc397eac6ede6ba9.jpg","text":"TemporaryFile(/tmp/multipartBody7789731999194439263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534401816,"filename":"image_22012025_09_25_41_6302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544656","file1":"1330544651","file0":"1330544647","file4":"1330544676","file5":"1330544688","file3":"1330544658"},"map_files_photo_id_array":[{"photo_id":"1330544688","filename":"file5"},{"photo_id":"1330544656","filename":"file2"},{"photo_id":"1330544676","filename":"file4"},{"photo_id":"1330544651","filename":"file1"},{"photo_id":"1330544647","filename":"file0"},{"photo_id":"1330544658","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544688":["hashtag1","hashtag2"]},{"1330544676":["hashtag1","hashtag2"]},{"1330544658":["hashtag1","hashtag2"]},{"1330544651":["hashtag1","hashtag2"]},{"1330544647":["hashtag1","hashtag2"]},{"1330544656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544688, 1330544676, 1330544658, 1330544651, 1330544647, 1330544656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.02984929084778 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:26:22.134856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/26/image_22012025_09_26_53_6481.jpg', '/media/data/images/22012025/09/26/image_22012025_09_26_47_5421.jpg', '/media/data/images/22012025/09/26/image_22012025_09_26_41_6231.jpg', '/media/data/images/22012025/09/26/image_22012025_09_26_35_6530.jpg', '/media/data/images/22012025/09/26/image_22012025_09_26_29_4521.jpg', '/media/data/images/22012025/09/26/image_22012025_09_26_24_6979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/26/image_22012025_09_26_53_6481.jpg
/media/data/images/22012025/09/26/image_22012025_09_26_47_5421.jpg
/media/data/images/22012025/09/26/image_22012025_09_26_41_6231.jpg
/media/data/images/22012025/09/26/image_22012025_09_26_35_6530.jpg
/media/data/images/22012025/09/26/image_22012025_09_26_29_4521.jpg
/media/data/images/22012025/09/26/image_22012025_09_26_24_6979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544763","1330544757","1330544721","1330544768","1330544735","1330544729"],"photo_ids_order":["1330544721","1330544729","1330544735","1330544757","1330544763","1330544768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a087817263aa92689716fb001829997d.jpg","text":"TemporaryFile(/tmp/multipartBody5617182665183872199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_29_4521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/046b3189fa8b082f0ddd954798039a6d.jpg","text":"TemporaryFile(/tmp/multipartBody8071004879746071619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_35_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/22/d19d5ece62efeea87ba37982b456240d.jpg","text":"TemporaryFile(/tmp/multipartBody6796946355336717433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_53_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/22/5502f7e6d369786423487f631fa75052.jpg","text":"TemporaryFile(/tmp/multipartBody1868639552126844361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_24_6979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70a4a128b7629993b353dc94c282d089.jpg","text":"TemporaryFile(/tmp/multipartBody6602827057095579763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_41_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/22/da4ac0b6c03ea03abf4695422a50c327.jpg","text":"TemporaryFile(/tmp/multipartBody7854631986918084087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534456381,"filename":"image_22012025_09_26_47_5421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544735","file1":"1330544729","file0":"1330544721","file4":"1330544763","file5":"1330544768","file3":"1330544757"},"map_files_photo_id_array":[{"photo_id":"1330544768","filename":"file5"},{"photo_id":"1330544735","filename":"file2"},{"photo_id":"1330544763","filename":"file4"},{"photo_id":"1330544729","filename":"file1"},{"photo_id":"1330544721","filename":"file0"},{"photo_id":"1330544757","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544763":["hashtag1","hashtag2"]},{"1330544757":["hashtag1","hashtag2"]},{"1330544721":["hashtag1","hashtag2"]},{"1330544768":["hashtag1","hashtag2"]},{"1330544735":["hashtag1","hashtag2"]},{"1330544729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544763, 1330544757, 1330544721, 1330544768, 1330544735, 1330544729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.2918336391449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:27:22.399796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/27/image_22012025_09_27_52_5182.jpg', '/media/data/images/22012025/09/27/image_22012025_09_27_47_6492.jpg', '/media/data/images/22012025/09/27/image_22012025_09_27_41_6396.jpg', '/media/data/images/22012025/09/27/image_22012025_09_27_35_4576.jpg', '/media/data/images/22012025/09/27/image_22012025_09_27_30_6309.jpg', '/media/data/images/22012025/09/27/image_22012025_09_27_24_6607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/27/image_22012025_09_27_52_5182.jpg
/media/data/images/22012025/09/27/image_22012025_09_27_47_6492.jpg
/media/data/images/22012025/09/27/image_22012025_09_27_41_6396.jpg
/media/data/images/22012025/09/27/image_22012025_09_27_35_4576.jpg
/media/data/images/22012025/09/27/image_22012025_09_27_30_6309.jpg
/media/data/images/22012025/09/27/image_22012025_09_27_24_6607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330544820","1330544828","1330544816","1330544830","1330544824","1330544833"],"photo_ids_order":["1330544816","1330544820","1330544824","1330544828","1330544830","1330544833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/187bab688e335d8662eed07b69471c54.jpg","text":"TemporaryFile(/tmp/multipartBody3452655629459230356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_47_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/22/e6deca7cff0cb9177ca6b61bf12d5bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6816734143842139432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_35_4576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1258c9322f13e13e8c1a2f5f79e8e94c.jpg","text":"TemporaryFile(/tmp/multipartBody3087353769576773585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_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/22/a67a82d9c1a810a1effe6bd58d7e1b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1536523615283874499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_30_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/22/486cd8769edd6f391986e52e51737658.jpg","text":"TemporaryFile(/tmp/multipartBody3735651738709815081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_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/22/41453ecfbfbe00a4befce77aa8ee52a4.jpg","text":"TemporaryFile(/tmp/multipartBody6680701732991108100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534510937,"filename":"image_22012025_09_27_24_6607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330544824","file1":"1330544820","file0":"1330544816","file4":"1330544830","file5":"1330544833","file3":"1330544828"},"map_files_photo_id_array":[{"photo_id":"1330544833","filename":"file5"},{"photo_id":"1330544824","filename":"file2"},{"photo_id":"1330544830","filename":"file4"},{"photo_id":"1330544820","filename":"file1"},{"photo_id":"1330544816","filename":"file0"},{"photo_id":"1330544828","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330544820":["hashtag1","hashtag2"]},{"1330544828":["hashtag1","hashtag2"]},{"1330544816":["hashtag1","hashtag2"]},{"1330544830":["hashtag1","hashtag2"]},{"1330544824":["hashtag1","hashtag2"]},{"1330544833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330544820, 1330544828, 1330544816, 1330544830, 1330544824, 1330544833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81100654602051 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:28:22.415913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/28/image_22012025_09_28_52_5232.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_47_6435.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_41_5272.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_35_6257.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_30_6333.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_23_5309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/28/image_22012025_09_28_52_5232.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_47_6435.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_41_5272.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_35_6257.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_30_6333.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_23_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":["1330545075","1330545036","1330545056","1330545044","1330544899","1330545093"],"photo_ids_order":["1330544899","1330545036","1330545044","1330545056","1330545075","1330545093"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c2620045cf78a69465e086d5f9c72f1c.jpg","text":"TemporaryFile(/tmp/multipartBody967448633667974235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_30_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/22/d58f87f75ddb980b608398bb73d68832.jpg","text":"TemporaryFile(/tmp/multipartBody7696396568548245739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_47_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/22/18ba60706edbce55fcf46dc791fc46b7.jpg","text":"TemporaryFile(/tmp/multipartBody2364060821550954362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_35_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/22/9a79829a513d1012c27aa63ea2cc4681.jpg","text":"TemporaryFile(/tmp/multipartBody1691537890292824763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_41_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/22/170f59d071c7100ab1ca7f08df61ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody4083331184673678118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_52_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/22/0b636f576a4dddbaf886383319a4cd09.jpg","text":"TemporaryFile(/tmp/multipartBody741502909216297304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534576284,"filename":"image_22012025_09_28_23_5309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545044","file1":"1330545036","file0":"1330544899","file4":"1330545075","file5":"1330545093","file3":"1330545056"},"map_files_photo_id_array":[{"photo_id":"1330545093","filename":"file5"},{"photo_id":"1330545044","filename":"file2"},{"photo_id":"1330545075","filename":"file4"},{"photo_id":"1330545036","filename":"file1"},{"photo_id":"1330544899","filename":"file0"},{"photo_id":"1330545056","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330545075":["hashtag1","hashtag2"]},{"1330545036":["hashtag1","hashtag2"]},{"1330545056":["hashtag1","hashtag2"]},{"1330545044":["hashtag1","hashtag2"]},{"1330544899":["hashtag1","hashtag2"]},{"1330545093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330545075, 1330545036, 1330545056, 1330545044, 1330544899, 1330545093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.428547620773315 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:29:22.674273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/29/image_22012025_09_29_53_6543.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_47_5387.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_41_5272.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_36_6188.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_30_6593.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_24_6620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/29/image_22012025_09_29_53_6543.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_47_5387.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_41_5272.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_36_6188.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_30_6593.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_24_6620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330545168","1330545143","1330545146","1330545181","1330545189","1330545177"],"photo_ids_order":["1330545143","1330545146","1330545168","1330545177","1330545181","1330545189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/451ea7c9132b00e6fe79054cc5f799f2.jpg","text":"TemporaryFile(/tmp/multipartBody7811924885146058528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_41_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/22/c5a4f84d5be4f9c76de4f4125b5964e0.jpg","text":"TemporaryFile(/tmp/multipartBody8336239592750419211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_53_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/22/2cf79e0ba97dd96c777fd3437f9d988f.jpg","text":"TemporaryFile(/tmp/multipartBody7414675232445984363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_47_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/22/b18d6454cce25e5d2480573b751c259c.jpg","text":"TemporaryFile(/tmp/multipartBody2910414365951605485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_30_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/22/bca820b9ab20920246e94c0d14871e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2174382126652199722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_24_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/22/48d7c8b0f70d6da70cf42ffc1c0750f2.jpg","text":"TemporaryFile(/tmp/multipartBody2835205745927719394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534627578,"filename":"image_22012025_09_29_36_6188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545168","file1":"1330545146","file0":"1330545143","file4":"1330545181","file5":"1330545189","file3":"1330545177"},"map_files_photo_id_array":[{"photo_id":"1330545189","filename":"file5"},{"photo_id":"1330545168","filename":"file2"},{"photo_id":"1330545181","filename":"file4"},{"photo_id":"1330545146","filename":"file1"},{"photo_id":"1330545143","filename":"file0"},{"photo_id":"1330545177","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330545168":["hashtag1","hashtag2"]},{"1330545143":["hashtag1","hashtag2"]},{"1330545146":["hashtag1","hashtag2"]},{"1330545181":["hashtag1","hashtag2"]},{"1330545189":["hashtag1","hashtag2"]},{"1330545177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330545168, 1330545143, 1330545146, 1330545181, 1330545189, 1330545177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.567182302474976 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:30:04.188524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/29/image_22012025_09_29_17_5281.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_11_5745.jpg', '/media/data/images/22012025/09/29/image_22012025_09_29_06_6773.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_59_6427.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_17_6748.jpg', '/media/data/images/22012025/09/28/image_22012025_09_28_11_6032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/29/image_22012025_09_29_17_5281.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_11_5745.jpg
/media/data/images/22012025/09/29/image_22012025_09_29_06_6773.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_59_6427.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_17_6748.jpg
/media/data/images/22012025/09/28/image_22012025_09_28_11_6032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330545225","1330545219","1330545236","1330545230","1330545233","1330545214"],"photo_ids_order":["1330545214","1330545219","1330545225","1330545230","1330545233","1330545236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/95b0ee9af1099e92c39a94a56089af31.jpg","text":"TemporaryFile(/tmp/multipartBody1957168461547224182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_29_06_6773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dbc2e32c6574d2d5eb3710e32e9f0a91.jpg","text":"TemporaryFile(/tmp/multipartBody4338410822685511348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_29_11_5745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/47b0122ffeead9798570da0b278397c1.jpg","text":"TemporaryFile(/tmp/multipartBody3490848534046156496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_28_11_6032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0df397a481670dee79158041e122031e.jpg","text":"TemporaryFile(/tmp/multipartBody5970225527582845586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_28_59_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/22/3f8e5a9b4b656efe352ecfbc97438a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7649011398575024733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_28_17_6748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d13dc0d4daf1884f4cb53b0eb26531a.jpg","text":"TemporaryFile(/tmp/multipartBody6062120013314450235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534677608,"filename":"image_22012025_09_29_17_5281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545225","file1":"1330545219","file0":"1330545214","file4":"1330545233","file5":"1330545236","file3":"1330545230"},"map_files_photo_id_array":[{"photo_id":"1330545236","filename":"file5"},{"photo_id":"1330545225","filename":"file2"},{"photo_id":"1330545233","filename":"file4"},{"photo_id":"1330545219","filename":"file1"},{"photo_id":"1330545214","filename":"file0"},{"photo_id":"1330545230","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330545225":["hashtag1","hashtag2"]},{"1330545219":["hashtag1","hashtag2"]},{"1330545236":["hashtag1","hashtag2"]},{"1330545230":["hashtag1","hashtag2"]},{"1330545233":["hashtag1","hashtag2"]},{"1330545214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330545225, 1330545219, 1330545236, 1330545230, 1330545233, 1330545214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.84106159210205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:31:03.509957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/30/image_22012025_09_30_53_5179.jpg', '/media/data/images/22012025/09/30/image_22012025_09_30_47_6456.jpg', '/media/data/images/22012025/09/30/image_22012025_09_30_41_6476.jpg', '/media/data/images/22012025/09/30/image_22012025_09_30_35_5247.jpg', '/media/data/images/22012025/09/30/image_22012025_09_30_29_6622.jpg', '/media/data/images/22012025/09/30/image_22012025_09_30_23_5218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/30/image_22012025_09_30_53_5179.jpg
/media/data/images/22012025/09/30/image_22012025_09_30_47_6456.jpg
/media/data/images/22012025/09/30/image_22012025_09_30_41_6476.jpg
/media/data/images/22012025/09/30/image_22012025_09_30_35_5247.jpg
/media/data/images/22012025/09/30/image_22012025_09_30_29_6622.jpg
/media/data/images/22012025/09/30/image_22012025_09_30_23_5218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330545312","1330545286","1330545316","1330545301","1330545310","1330545276"],"photo_ids_order":["1330545276","1330545286","1330545301","1330545310","1330545312","1330545316"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ac5f3b2bad4134fae036ca5f556dd064.jpg","text":"TemporaryFile(/tmp/multipartBody5260152229467374059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_29_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4389644dbb4d3074bbdfcf76901f6d37.jpg","text":"TemporaryFile(/tmp/multipartBody1283867670201540483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_47_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/22/8304b1ed78414d00982944bc782e4159.jpg","text":"TemporaryFile(/tmp/multipartBody574853657679312271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_23_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/22/cde465c2a01f698f5fdf766e0fab20ae.jpg","text":"TemporaryFile(/tmp/multipartBody1368225677987326886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_41_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/22/b8fd4595839554b7ffc5c333caa0c01d.jpg","text":"TemporaryFile(/tmp/multipartBody1990649399019926860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_35_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/22/204572e03c26c57f671006d3f7058525.jpg","text":"TemporaryFile(/tmp/multipartBody7329848525358774034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534733493,"filename":"image_22012025_09_30_53_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545301","file1":"1330545286","file0":"1330545276","file4":"1330545312","file5":"1330545316","file3":"1330545310"},"map_files_photo_id_array":[{"photo_id":"1330545316","filename":"file5"},{"photo_id":"1330545301","filename":"file2"},{"photo_id":"1330545312","filename":"file4"},{"photo_id":"1330545286","filename":"file1"},{"photo_id":"1330545276","filename":"file0"},{"photo_id":"1330545310","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330545312":["hashtag1","hashtag2"]},{"1330545286":["hashtag1","hashtag2"]},{"1330545316":["hashtag1","hashtag2"]},{"1330545301":["hashtag1","hashtag2"]},{"1330545310":["hashtag1","hashtag2"]},{"1330545276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330545312, 1330545286, 1330545316, 1330545301, 1330545310, 1330545276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.732707262039185 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:32:02.979826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/31/image_22012025_09_31_53_6427.jpg', '/media/data/images/22012025/09/31/image_22012025_09_31_47_6576.jpg', '/media/data/images/22012025/09/31/image_22012025_09_31_40_5211.jpg', '/media/data/images/22012025/09/31/image_22012025_09_31_35_6413.jpg', '/media/data/images/22012025/09/31/image_22012025_09_31_29_6452.jpg', '/media/data/images/22012025/09/31/image_22012025_09_31_22_4407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/31/image_22012025_09_31_53_6427.jpg
/media/data/images/22012025/09/31/image_22012025_09_31_47_6576.jpg
/media/data/images/22012025/09/31/image_22012025_09_31_40_5211.jpg
/media/data/images/22012025/09/31/image_22012025_09_31_35_6413.jpg
/media/data/images/22012025/09/31/image_22012025_09_31_29_6452.jpg
/media/data/images/22012025/09/31/image_22012025_09_31_22_4407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.682538270950317 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:32:22.014118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/32/image_22012025_09_32_54_6512.jpg', '/media/data/images/22012025/09/32/image_22012025_09_32_47_6484.jpg', '/media/data/images/22012025/09/32/image_22012025_09_32_41_5178.jpg', '/media/data/images/22012025/09/32/image_22012025_09_32_35_6407.jpg', '/media/data/images/22012025/09/32/image_22012025_09_32_29_6443.jpg', '/media/data/images/22012025/09/32/image_22012025_09_32_22_5328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/32/image_22012025_09_32_54_6512.jpg
/media/data/images/22012025/09/32/image_22012025_09_32_47_6484.jpg
/media/data/images/22012025/09/32/image_22012025_09_32_41_5178.jpg
/media/data/images/22012025/09/32/image_22012025_09_32_35_6407.jpg
/media/data/images/22012025/09/32/image_22012025_09_32_29_6443.jpg
/media/data/images/22012025/09/32/image_22012025_09_32_22_5328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330545414","1330545431","1330545404","1330545427","1330545421","1330545409"],"photo_ids_order":["1330545404","1330545409","1330545414","1330545421","1330545427","1330545431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35067401532d63e5ab4925c84ad54ebf.jpg","text":"TemporaryFile(/tmp/multipartBody8801534057479937917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_41_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/22/107078baf72368986a7b5289508c0bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7988282632935040536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_22_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/22/d8cf94356a49a670d7e0af1baaed44c9.jpg","text":"TemporaryFile(/tmp/multipartBody3182519424314798555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_54_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/22/702db63c8cf7bffcbcfc45e3d688c0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2865446687590040150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_29_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/22/e2c92cbd5ccb0f36392eb5011c853157.jpg","text":"TemporaryFile(/tmp/multipartBody2516075339191553241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_35_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/22/cd326e165e41ef7a0609490e9c5eebe7.jpg","text":"TemporaryFile(/tmp/multipartBody597939960067310631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534815276,"filename":"image_22012025_09_32_47_6484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545414","file1":"1330545409","file0":"1330545404","file4":"1330545427","file5":"1330545431","file3":"1330545421"},"map_files_photo_id_array":[{"photo_id":"1330545431","filename":"file5"},{"photo_id":"1330545414","filename":"file2"},{"photo_id":"1330545427","filename":"file4"},{"photo_id":"1330545409","filename":"file1"},{"photo_id":"1330545404","filename":"file0"},{"photo_id":"1330545421","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330545414":["hashtag1","hashtag2"]},{"1330545431":["hashtag1","hashtag2"]},{"1330545404":["hashtag1","hashtag2"]},{"1330545427":["hashtag1","hashtag2"]},{"1330545421":["hashtag1","hashtag2"]},{"1330545409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330545414, 1330545431, 1330545404, 1330545427, 1330545421, 1330545409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.38555860519409 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:33:22.194477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/33/image_22012025_09_33_53_6514.jpg', '/media/data/images/22012025/09/33/image_22012025_09_33_47_5328.jpg', '/media/data/images/22012025/09/33/image_22012025_09_33_41_5324.jpg', '/media/data/images/22012025/09/33/image_22012025_09_33_36_6659.jpg', '/media/data/images/22012025/09/33/image_22012025_09_33_30_6899.jpg', '/media/data/images/22012025/09/33/image_22012025_09_33_23_5672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/33/image_22012025_09_33_53_6514.jpg
/media/data/images/22012025/09/33/image_22012025_09_33_47_5328.jpg
/media/data/images/22012025/09/33/image_22012025_09_33_41_5324.jpg
/media/data/images/22012025/09/33/image_22012025_09_33_36_6659.jpg
/media/data/images/22012025/09/33/image_22012025_09_33_30_6899.jpg
/media/data/images/22012025/09/33/image_22012025_09_33_23_5672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546118","1330545982","1330545991","1330545994","1330545987","1330546110"],"photo_ids_order":["1330545982","1330545987","1330545991","1330545994","1330546110","1330546118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7367a333b9b1b8bbd9047fd92dfc0212.jpg","text":"TemporaryFile(/tmp/multipartBody3720351515951590642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_23_5672.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b18cd7f855ca09eafa6090e08c26b992.jpg","text":"TemporaryFile(/tmp/multipartBody1861749226874214676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_53_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/22/413c2e391c444c387c243d14e1abcad6.jpg","text":"TemporaryFile(/tmp/multipartBody280058975234005669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_41_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/22/a02ebd16c11eaa718ce0bda712800d9b.jpg","text":"TemporaryFile(/tmp/multipartBody817105193935245225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_36_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9f58aea5e408f7ad600f1fd5dba420b4.jpg","text":"TemporaryFile(/tmp/multipartBody5531655590788012245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_47_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/22/3f4e26a9ce2a568cf9b58c63881ac5ff.jpg","text":"TemporaryFile(/tmp/multipartBody3446456701887371077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534883156,"filename":"image_22012025_09_33_30_6899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330545991","file1":"1330545987","file0":"1330545982","file4":"1330546110","file5":"1330546118","file3":"1330545994"},"map_files_photo_id_array":[{"photo_id":"1330546118","filename":"file5"},{"photo_id":"1330545991","filename":"file2"},{"photo_id":"1330546110","filename":"file4"},{"photo_id":"1330545987","filename":"file1"},{"photo_id":"1330545982","filename":"file0"},{"photo_id":"1330545994","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546118":["hashtag1","hashtag2"]},{"1330545982":["hashtag1","hashtag2"]},{"1330545991":["hashtag1","hashtag2"]},{"1330545994":["hashtag1","hashtag2"]},{"1330545987":["hashtag1","hashtag2"]},{"1330546110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546118, 1330545982, 1330545991, 1330545994, 1330545987, 1330546110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.78000998497009 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:34:22.495739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/34/image_22012025_09_34_53_6572.jpg', '/media/data/images/22012025/09/34/image_22012025_09_34_47_4643.jpg', '/media/data/images/22012025/09/34/image_22012025_09_34_43_6640.jpg', '/media/data/images/22012025/09/34/image_22012025_09_34_36_6459.jpg', '/media/data/images/22012025/09/34/image_22012025_09_34_29_6552.jpg', '/media/data/images/22012025/09/34/image_22012025_09_34_23_5333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/34/image_22012025_09_34_53_6572.jpg
/media/data/images/22012025/09/34/image_22012025_09_34_47_4643.jpg
/media/data/images/22012025/09/34/image_22012025_09_34_43_6640.jpg
/media/data/images/22012025/09/34/image_22012025_09_34_36_6459.jpg
/media/data/images/22012025/09/34/image_22012025_09_34_29_6552.jpg
/media/data/images/22012025/09/34/image_22012025_09_34_23_5333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546220","1330546226","1330546216","1330546230","1330546233","1330546212"],"photo_ids_order":["1330546212","1330546216","1330546220","1330546226","1330546230","1330546233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b74b2f6ada708408c3b1e6d845e685f.jpg","text":"TemporaryFile(/tmp/multipartBody5134464260279816360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_43_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f5c311fbacbe78649a3a456f55e321bc.jpg","text":"TemporaryFile(/tmp/multipartBody8905314067599595314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_36_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/22/cde6672bca0767f1d59d90c95b7c0bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6608447721118627861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_47_4643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e8b684d69b931ad8093ba079453edb2e.jpg","text":"TemporaryFile(/tmp/multipartBody8380220657737273830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_29_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/22/465a83618bd9494eaecdd736f0095e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8894143988511909098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_23_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/22/51704d9cea2e7917a1f1c07610f31b75.jpg","text":"TemporaryFile(/tmp/multipartBody5767671461242253945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737534951131,"filename":"image_22012025_09_34_53_6572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546220","file1":"1330546216","file0":"1330546212","file4":"1330546230","file5":"1330546233","file3":"1330546226"},"map_files_photo_id_array":[{"photo_id":"1330546233","filename":"file5"},{"photo_id":"1330546220","filename":"file2"},{"photo_id":"1330546230","filename":"file4"},{"photo_id":"1330546216","filename":"file1"},{"photo_id":"1330546212","filename":"file0"},{"photo_id":"1330546226","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546220":["hashtag1","hashtag2"]},{"1330546226":["hashtag1","hashtag2"]},{"1330546216":["hashtag1","hashtag2"]},{"1330546230":["hashtag1","hashtag2"]},{"1330546233":["hashtag1","hashtag2"]},{"1330546212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546220, 1330546226, 1330546216, 1330546230, 1330546233, 1330546212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.475173473358154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:35:43.205611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/35/image_22012025_09_35_55_6810.jpg', '/media/data/images/22012025/09/35/image_22012025_09_35_47_6543.jpg', '/media/data/images/22012025/09/35/image_22012025_09_35_41_4700.jpg', '/media/data/images/22012025/09/35/image_22012025_09_35_36_6553.jpg', '/media/data/images/22012025/09/35/image_22012025_09_35_30_6612.jpg', '/media/data/images/22012025/09/35/image_22012025_09_35_23_5315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/35/image_22012025_09_35_55_6810.jpg
/media/data/images/22012025/09/35/image_22012025_09_35_47_6543.jpg
/media/data/images/22012025/09/35/image_22012025_09_35_41_4700.jpg
/media/data/images/22012025/09/35/image_22012025_09_35_36_6553.jpg
/media/data/images/22012025/09/35/image_22012025_09_35_30_6612.jpg
/media/data/images/22012025/09/35/image_22012025_09_35_23_5315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546274","1330546322","1330546316","1330546310","1330546269","1330546305"],"photo_ids_order":["1330546269","1330546274","1330546305","1330546310","1330546316","1330546322"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9ae0851560d0672f9ec204bcdee1d481.jpg","text":"TemporaryFile(/tmp/multipartBody3289277414502184524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_47_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/22/22251e05894830ee8372d63d51e37974.jpg","text":"TemporaryFile(/tmp/multipartBody5825965716865347423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_23_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/22/207c922f59e61b57f49350b415a52b61.jpg","text":"TemporaryFile(/tmp/multipartBody3434586314322647515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_30_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/22/be8cdc46a7b45ee5837c97b0de0c8ca3.jpg","text":"TemporaryFile(/tmp/multipartBody94056500301495155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_36_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/22/7d8c9e4803a628a4204701c159d84a29.jpg","text":"TemporaryFile(/tmp/multipartBody5143185745477089720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_55_6810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b724b4d2afb66caf225953e452754f0.jpg","text":"TemporaryFile(/tmp/multipartBody7052563857347010060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535024389,"filename":"image_22012025_09_35_41_4700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546305","file1":"1330546274","file0":"1330546269","file4":"1330546316","file5":"1330546322","file3":"1330546310"},"map_files_photo_id_array":[{"photo_id":"1330546322","filename":"file5"},{"photo_id":"1330546305","filename":"file2"},{"photo_id":"1330546316","filename":"file4"},{"photo_id":"1330546274","filename":"file1"},{"photo_id":"1330546269","filename":"file0"},{"photo_id":"1330546310","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546274":["hashtag1","hashtag2"]},{"1330546322":["hashtag1","hashtag2"]},{"1330546316":["hashtag1","hashtag2"]},{"1330546310":["hashtag1","hashtag2"]},{"1330546269":["hashtag1","hashtag2"]},{"1330546305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546274, 1330546322, 1330546316, 1330546310, 1330546269, 1330546305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.318923234939575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:36:42.206385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/36/image_22012025_09_36_40_5355.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_35_6593.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_28_5383.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_18_5085.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_13_7488.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_05_5415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/36/image_22012025_09_36_40_5355.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_35_6593.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_28_5383.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_18_5085.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_13_7488.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_05_5415.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6679627895355225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:37:03.309808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/36/image_22012025_09_36_40_5355.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_35_6593.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_28_5383.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_18_5085.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_13_7488.jpg', '/media/data/images/22012025/09/36/image_22012025_09_36_05_5415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/36/image_22012025_09_36_40_5355.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_35_6593.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_28_5383.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_18_5085.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_13_7488.jpg
/media/data/images/22012025/09/36/image_22012025_09_36_05_5415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546381","1330546378","1330546386","1330546371","1330546362","1330546356"],"photo_ids_order":["1330546356","1330546362","1330546371","1330546378","1330546381","1330546386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdf5a3eef984633a555ed4c85233977a.jpg","text":"TemporaryFile(/tmp/multipartBody5204126994588835018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_13_7488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26889ece8fd39afb8a006e4c6e552d23.jpg","text":"TemporaryFile(/tmp/multipartBody745181777071016029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_18_5085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/641da204917ce06fc3e2b4b451218af3.jpg","text":"TemporaryFile(/tmp/multipartBody4739126549721680883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_05_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/22/a279acdc409dbef70343b89116cf8c38.jpg","text":"TemporaryFile(/tmp/multipartBody2491007911625681005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_28_5383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f43961187652b5760b51e57e0ee579ad.jpg","text":"TemporaryFile(/tmp/multipartBody6005643646680484927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_35_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/22/694b4ac37280af292685bf35e0837c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5132069031637581005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535090354,"filename":"image_22012025_09_36_40_5355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546371","file1":"1330546362","file0":"1330546356","file4":"1330546381","file5":"1330546386","file3":"1330546378"},"map_files_photo_id_array":[{"photo_id":"1330546386","filename":"file5"},{"photo_id":"1330546371","filename":"file2"},{"photo_id":"1330546381","filename":"file4"},{"photo_id":"1330546362","filename":"file1"},{"photo_id":"1330546356","filename":"file0"},{"photo_id":"1330546378","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546381":["hashtag1","hashtag2"]},{"1330546378":["hashtag1","hashtag2"]},{"1330546386":["hashtag1","hashtag2"]},{"1330546371":["hashtag1","hashtag2"]},{"1330546362":["hashtag1","hashtag2"]},{"1330546356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546381, 1330546378, 1330546386, 1330546371, 1330546362, 1330546356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44747805595398 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:38:03.733298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/37/image_22012025_09_37_52_4610.jpg', '/media/data/images/22012025/09/37/image_22012025_09_37_48_6892.jpg', '/media/data/images/22012025/09/37/image_22012025_09_37_41_6573.jpg', '/media/data/images/22012025/09/37/image_22012025_09_37_34_5308.jpg', '/media/data/images/22012025/09/37/image_22012025_09_37_29_6573.jpg', '/media/data/images/22012025/09/37/image_22012025_09_37_22_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/37/image_22012025_09_37_52_4610.jpg
/media/data/images/22012025/09/37/image_22012025_09_37_48_6892.jpg
/media/data/images/22012025/09/37/image_22012025_09_37_41_6573.jpg
/media/data/images/22012025/09/37/image_22012025_09_37_34_5308.jpg
/media/data/images/22012025/09/37/image_22012025_09_37_29_6573.jpg
/media/data/images/22012025/09/37/image_22012025_09_37_22_5355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546499","1330546466","1330546511","1330546488","1330546473","1330546515"],"photo_ids_order":["1330546466","1330546473","1330546488","1330546499","1330546511","1330546515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c92dd61d142aa3cfb0036d5632513739.jpg","text":"TemporaryFile(/tmp/multipartBody109473106789154907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_34_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/22/91cc77be98704f5ad3aa0dca05499248.jpg","text":"TemporaryFile(/tmp/multipartBody2571977421692337042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_52_4610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b414aae827c750b307a5ca9c1f3807c6.jpg","text":"TemporaryFile(/tmp/multipartBody2146401037091631196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_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/22/932a240e86bbc5fa00da8b064eb2fb1b.jpg","text":"TemporaryFile(/tmp/multipartBody8291619934385681436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_41_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/22/3b4415be4749e2bb943db4367db85306.jpg","text":"TemporaryFile(/tmp/multipartBody8565949753758000820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_48_6892.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ff1c9fab47519540c74b4278fd404d33.jpg","text":"TemporaryFile(/tmp/multipartBody8310344996112677158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535148656,"filename":"image_22012025_09_37_22_5355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546488","file1":"1330546473","file0":"1330546466","file4":"1330546511","file5":"1330546515","file3":"1330546499"},"map_files_photo_id_array":[{"photo_id":"1330546515","filename":"file5"},{"photo_id":"1330546488","filename":"file2"},{"photo_id":"1330546511","filename":"file4"},{"photo_id":"1330546473","filename":"file1"},{"photo_id":"1330546466","filename":"file0"},{"photo_id":"1330546499","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546499":["hashtag1","hashtag2"]},{"1330546466":["hashtag1","hashtag2"]},{"1330546511":["hashtag1","hashtag2"]},{"1330546488":["hashtag1","hashtag2"]},{"1330546473":["hashtag1","hashtag2"]},{"1330546515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546499, 1330546466, 1330546511, 1330546488, 1330546473, 1330546515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35012769699097 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 09:39:04.517300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/38/image_22012025_09_38_53_5338.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_47_6545.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_41_6551.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_34_5327.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_29_6501.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_22_5305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/38/image_22012025_09_38_53_5338.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_47_6545.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_41_6551.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_34_5327.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_29_6501.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_22_5305.jpg
2025-01-22 09:39:04.887385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/38/image_22012025_09_38_53_5338.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_47_6545.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_41_6551.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_34_5327.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_29_6501.jpg', '/media/data/images/22012025/09/38/image_22012025_09_38_22_5305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/38/image_22012025_09_38_53_5338.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_47_6545.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_41_6551.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_34_5327.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_29_6501.jpg
/media/data/images/22012025/09/38/image_22012025_09_38_22_5305.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":["1330546772","1330546757","1330546735","1330546785","1330546731","1330546740"],"photo_ids_order":["1330546731","1330546735","1330546740","1330546757","1330546772","1330546785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c377911517a1782e9139d9c48893ca4.jpg","text":"TemporaryFile(/tmp/multipartBody433174841769343381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_29_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/22/9eb3f40e5a244e881cb7328ce2e7ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody2961945131639547896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_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/22/238d6f721cc2a2b23a54b905cb5a9051.jpg","text":"TemporaryFile(/tmp/multipartBody4447870696811742393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_47_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/22/b98ef85b4b711b172054dc1d88946093.jpg","text":"TemporaryFile(/tmp/multipartBody3172662284556941466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_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/22/ac75620be2a7c2cf8cc1cae908c3b4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2440516693930088655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_53_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/22/a6ff9a7cd3cfc629556f6f17f0c599cb.jpg","text":"TemporaryFile(/tmp/multipartBody1300359730940425481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535212468,"filename":"image_22012025_09_38_41_6551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546740","file1":"1330546735","file0":"1330546731","file4":"1330546772","file5":"1330546785","file3":"1330546757"},"map_files_photo_id_array":[{"photo_id":"1330546785","filename":"file5"},{"photo_id":"1330546740","filename":"file2"},{"photo_id":"1330546772","filename":"file4"},{"photo_id":"1330546735","filename":"file1"},{"photo_id":"1330546731","filename":"file0"},{"photo_id":"1330546757","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546772":["hashtag1","hashtag2"]},{"1330546757":["hashtag1","hashtag2"]},{"1330546735":["hashtag1","hashtag2"]},{"1330546785":["hashtag1","hashtag2"]},{"1330546731":["hashtag1","hashtag2"]},{"1330546740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546772, 1330546757, 1330546735, 1330546785, 1330546731, 1330546740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.571528673172 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546787","1330546774","1330546762","1330546741","1330546737","1330546734"],"photo_ids_order":["1330546734","1330546737","1330546741","1330546762","1330546774","1330546787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c5bb5bb76c87f394a4b01e52bd8e530.jpg","text":"TemporaryFile(/tmp/multipartBody2119523288080864692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_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/22/997d73ad9a872d54d7990bd89da016f8.jpg","text":"TemporaryFile(/tmp/multipartBody5543616758013366701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_29_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/22/3c11beade7271f20380c80a4ce4794e1.jpg","text":"TemporaryFile(/tmp/multipartBody4011441317634108452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_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/22/e2e3195d5b1799e269853be97b09fa17.jpg","text":"TemporaryFile(/tmp/multipartBody5644269859638208782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_41_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/22/75d4a840e6af582ac8325d60a0151846.jpg","text":"TemporaryFile(/tmp/multipartBody849165143182396920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_47_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/22/9d8b4ce4ef9b5e4cefdbaf492de72e07.jpg","text":"TemporaryFile(/tmp/multipartBody6620638222780782043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535213376,"filename":"image_22012025_09_38_53_5338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546741","file1":"1330546737","file0":"1330546734","file4":"1330546774","file5":"1330546787","file3":"1330546762"},"map_files_photo_id_array":[{"photo_id":"1330546787","filename":"file5"},{"photo_id":"1330546741","filename":"file2"},{"photo_id":"1330546774","filename":"file4"},{"photo_id":"1330546737","filename":"file1"},{"photo_id":"1330546734","filename":"file0"},{"photo_id":"1330546762","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546787":["hashtag1","hashtag2"]},{"1330546774":["hashtag1","hashtag2"]},{"1330546762":["hashtag1","hashtag2"]},{"1330546741":["hashtag1","hashtag2"]},{"1330546737":["hashtag1","hashtag2"]},{"1330546734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546787, 1330546774, 1330546762, 1330546741, 1330546737, 1330546734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66957712173462 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:40:03.611617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/39/image_22012025_09_39_53_6410.jpg', '/media/data/images/22012025/09/39/image_22012025_09_39_47_5368.jpg', '/media/data/images/22012025/09/39/image_22012025_09_39_41_6579.jpg', '/media/data/images/22012025/09/39/image_22012025_09_39_35_6439.jpg', '/media/data/images/22012025/09/39/image_22012025_09_39_28_5261.jpg', '/media/data/images/22012025/09/39/image_22012025_09_39_23_6498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/39/image_22012025_09_39_53_6410.jpg
/media/data/images/22012025/09/39/image_22012025_09_39_47_5368.jpg
/media/data/images/22012025/09/39/image_22012025_09_39_41_6579.jpg
/media/data/images/22012025/09/39/image_22012025_09_39_35_6439.jpg
/media/data/images/22012025/09/39/image_22012025_09_39_28_5261.jpg
/media/data/images/22012025/09/39/image_22012025_09_39_23_6498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330546931","1330546969","1330546942","1330546948","1330546953","1330546938"],"photo_ids_order":["1330546931","1330546938","1330546942","1330546948","1330546953","1330546969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b205b3aa4061faa18f0c83f962df7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody739877282028106618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_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/22/0e42d8a678841ef00ebca87646cda1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4636013159331180223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_23_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/22/b238b32eb147569596b75a48435e3f41.jpg","text":"TemporaryFile(/tmp/multipartBody9033580900470659729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_41_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/22/ea31b49a651356cb5c9fb08ba7e28b7d.jpg","text":"TemporaryFile(/tmp/multipartBody518288893251140931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_35_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/22/627dca0e6cdb5e2bab96b391d3ff06b5.jpg","text":"TemporaryFile(/tmp/multipartBody640944297279837465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_28_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0932ff1b5727f6ac48447952f10a0f50.jpg","text":"TemporaryFile(/tmp/multipartBody887429784322030917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535267126,"filename":"image_22012025_09_39_47_5368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330546942","file1":"1330546938","file0":"1330546931","file4":"1330546953","file5":"1330546969","file3":"1330546948"},"map_files_photo_id_array":[{"photo_id":"1330546969","filename":"file5"},{"photo_id":"1330546942","filename":"file2"},{"photo_id":"1330546953","filename":"file4"},{"photo_id":"1330546938","filename":"file1"},{"photo_id":"1330546931","filename":"file0"},{"photo_id":"1330546948","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330546931":["hashtag1","hashtag2"]},{"1330546969":["hashtag1","hashtag2"]},{"1330546942":["hashtag1","hashtag2"]},{"1330546948":["hashtag1","hashtag2"]},{"1330546953":["hashtag1","hashtag2"]},{"1330546938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330546931, 1330546969, 1330546942, 1330546948, 1330546953, 1330546938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51658630371094 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:41:04.449098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/40/image_22012025_09_40_53_6471.jpg', '/media/data/images/22012025/09/40/image_22012025_09_40_47_5260.jpg', '/media/data/images/22012025/09/40/image_22012025_09_40_41_6418.jpg', '/media/data/images/22012025/09/40/image_22012025_09_40_35_6455.jpg', '/media/data/images/22012025/09/40/image_22012025_09_40_29_5207.jpg', '/media/data/images/22012025/09/40/image_22012025_09_40_23_6624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/40/image_22012025_09_40_53_6471.jpg
/media/data/images/22012025/09/40/image_22012025_09_40_47_5260.jpg
/media/data/images/22012025/09/40/image_22012025_09_40_41_6418.jpg
/media/data/images/22012025/09/40/image_22012025_09_40_35_6455.jpg
/media/data/images/22012025/09/40/image_22012025_09_40_29_5207.jpg
/media/data/images/22012025/09/40/image_22012025_09_40_23_6624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547075","1330547060","1330547083","1330547056","1330547065","1330547070"],"photo_ids_order":["1330547056","1330547060","1330547065","1330547070","1330547075","1330547083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6cbe259b7350b7635afbeb85f1dbbb4.jpg","text":"TemporaryFile(/tmp/multipartBody5916040657785265544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_29_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/22/391196707dd4b8d8ae8f70f6e16d8a0e.jpg","text":"TemporaryFile(/tmp/multipartBody520221388284242344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_47_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/22/e38f44ea6aa8e0ef575db108762f4367.jpg","text":"TemporaryFile(/tmp/multipartBody5183373635482562228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_23_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/22/5b989d1adf8676d2b831bab490dd065f.jpg","text":"TemporaryFile(/tmp/multipartBody531331308153055382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_53_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/22/ffd8ea68945c4ef74d79841e6c7c6612.jpg","text":"TemporaryFile(/tmp/multipartBody7221877700777278044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_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/22/c521be8fd4e8ca1954be07f7b87ea7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8805918267385216830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535334403,"filename":"image_22012025_09_40_35_6455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547065","file1":"1330547060","file0":"1330547056","file4":"1330547075","file5":"1330547083","file3":"1330547070"},"map_files_photo_id_array":[{"photo_id":"1330547083","filename":"file5"},{"photo_id":"1330547065","filename":"file2"},{"photo_id":"1330547075","filename":"file4"},{"photo_id":"1330547060","filename":"file1"},{"photo_id":"1330547056","filename":"file0"},{"photo_id":"1330547070","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547075":["hashtag1","hashtag2"]},{"1330547060":["hashtag1","hashtag2"]},{"1330547083":["hashtag1","hashtag2"]},{"1330547056":["hashtag1","hashtag2"]},{"1330547065":["hashtag1","hashtag2"]},{"1330547070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547075, 1330547060, 1330547083, 1330547056, 1330547065, 1330547070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.183225870132446 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:42:02.713993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/41/image_22012025_09_41_52_5240.jpg', '/media/data/images/22012025/09/41/image_22012025_09_41_47_6509.jpg', '/media/data/images/22012025/09/41/image_22012025_09_41_41_6423.jpg', '/media/data/images/22012025/09/41/image_22012025_09_41_34_5176.jpg', '/media/data/images/22012025/09/41/image_22012025_09_41_29_6394.jpg', '/media/data/images/22012025/09/41/image_22012025_09_41_23_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/41/image_22012025_09_41_52_5240.jpg
/media/data/images/22012025/09/41/image_22012025_09_41_47_6509.jpg
/media/data/images/22012025/09/41/image_22012025_09_41_41_6423.jpg
/media/data/images/22012025/09/41/image_22012025_09_41_34_5176.jpg
/media/data/images/22012025/09/41/image_22012025_09_41_29_6394.jpg
/media/data/images/22012025/09/41/image_22012025_09_41_23_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":["1330547222","1330547204","1330547218","1330547198","1330547177","1330547171"],"photo_ids_order":["1330547171","1330547177","1330547198","1330547204","1330547218","1330547222"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f33244d97e9073e3f14afc6cfec486d1.jpg","text":"TemporaryFile(/tmp/multipartBody677916852976807010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_23_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/22/db2d22a5fb9037e0f5e7c0587169e006.jpg","text":"TemporaryFile(/tmp/multipartBody2315115169029320426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_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/22/a62c9ef0769b6dbc55bedd79911e3cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4178468965730979825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_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/22/bcee8cc51a12af86bd5a9a7fe1aa024c.jpg","text":"TemporaryFile(/tmp/multipartBody1374159881734632131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_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/22/742c8158194ee4f58cf6dcbfc1a5f741.jpg","text":"TemporaryFile(/tmp/multipartBody5247396478801921813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_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/22/478550efc2412855177f314eebd2a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody2423383951637619941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535385862,"filename":"image_22012025_09_41_52_5240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547198","file1":"1330547177","file0":"1330547171","file4":"1330547218","file5":"1330547222","file3":"1330547204"},"map_files_photo_id_array":[{"photo_id":"1330547222","filename":"file5"},{"photo_id":"1330547198","filename":"file2"},{"photo_id":"1330547218","filename":"file4"},{"photo_id":"1330547177","filename":"file1"},{"photo_id":"1330547171","filename":"file0"},{"photo_id":"1330547204","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547222":["hashtag1","hashtag2"]},{"1330547204":["hashtag1","hashtag2"]},{"1330547218":["hashtag1","hashtag2"]},{"1330547198":["hashtag1","hashtag2"]},{"1330547177":["hashtag1","hashtag2"]},{"1330547171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547222, 1330547204, 1330547218, 1330547198, 1330547177, 1330547171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16732454299927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:43:03.234102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/42/image_22012025_09_42_53_6415.jpg', '/media/data/images/22012025/09/42/image_22012025_09_42_47_6441.jpg', '/media/data/images/22012025/09/42/image_22012025_09_42_40_5215.jpg', '/media/data/images/22012025/09/42/image_22012025_09_42_35_6412.jpg', '/media/data/images/22012025/09/42/image_22012025_09_42_29_5228.jpg', '/media/data/images/22012025/09/42/image_22012025_09_42_23_6714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/42/image_22012025_09_42_53_6415.jpg
/media/data/images/22012025/09/42/image_22012025_09_42_47_6441.jpg
/media/data/images/22012025/09/42/image_22012025_09_42_40_5215.jpg
/media/data/images/22012025/09/42/image_22012025_09_42_35_6412.jpg
/media/data/images/22012025/09/42/image_22012025_09_42_29_5228.jpg
/media/data/images/22012025/09/42/image_22012025_09_42_23_6714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547272","1330547278","1330547317","1330547305","1330547289","1330547282"],"photo_ids_order":["1330547272","1330547278","1330547282","1330547289","1330547305","1330547317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49db3e31c971f628490566833832d23f.jpg","text":"TemporaryFile(/tmp/multipartBody5213603547563265044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_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/22/29d1e30c4acfd6f5bb1139b88b1ca6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8668891775506312175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_47_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/22/8e29e6a3a8bebb793df717369b048688.jpg","text":"TemporaryFile(/tmp/multipartBody4583530731122118128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_23_6714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e663658d50cb2e3af6cf7f7a417d7a04.jpg","text":"TemporaryFile(/tmp/multipartBody7506524586338835701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_29_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/22/def2bca135293c075270546f0dbd8282.jpg","text":"TemporaryFile(/tmp/multipartBody606637267913370782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_35_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/22/af4750ca75f194fba24a6700aba4d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody8442769838507625232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535458214,"filename":"image_22012025_09_42_40_5215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547282","file1":"1330547278","file0":"1330547272","file4":"1330547305","file5":"1330547317","file3":"1330547289"},"map_files_photo_id_array":[{"photo_id":"1330547317","filename":"file5"},{"photo_id":"1330547282","filename":"file2"},{"photo_id":"1330547305","filename":"file4"},{"photo_id":"1330547278","filename":"file1"},{"photo_id":"1330547272","filename":"file0"},{"photo_id":"1330547289","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547272":["hashtag1","hashtag2"]},{"1330547278":["hashtag1","hashtag2"]},{"1330547317":["hashtag1","hashtag2"]},{"1330547305":["hashtag1","hashtag2"]},{"1330547289":["hashtag1","hashtag2"]},{"1330547282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547272, 1330547278, 1330547317, 1330547305, 1330547289, 1330547282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.22214221954346 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 09:44:03.601578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/43/image_22012025_09_43_53_6420.jpg', '/media/data/images/22012025/09/43/image_22012025_09_43_46_5263.jpg', '/media/data/images/22012025/09/43/image_22012025_09_43_41_6457.jpg', '/media/data/images/22012025/09/43/image_22012025_09_43_35_6367.jpg', '/media/data/images/22012025/09/43/image_22012025_09_43_28_5201.jpg', '/media/data/images/22012025/09/43/image_22012025_09_43_23_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/43/image_22012025_09_43_53_6420.jpg
/media/data/images/22012025/09/43/image_22012025_09_43_46_5263.jpg
/media/data/images/22012025/09/43/image_22012025_09_43_41_6457.jpg
/media/data/images/22012025/09/43/image_22012025_09_43_35_6367.jpg
/media/data/images/22012025/09/43/image_22012025_09_43_28_5201.jpg
/media/data/images/22012025/09/43/image_22012025_09_43_23_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":["1330547465","1330547497","1330547527","1330547506","1330547532","1330547517"],"photo_ids_order":["1330547465","1330547497","1330547506","1330547517","1330547527","1330547532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/46303830ce47413f8d1e6e1b1ba93f09.jpg","text":"TemporaryFile(/tmp/multipartBody436565533608402055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_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/22/03717c0ae2b9a23d8a3b4da80d3a64bf.jpg","text":"TemporaryFile(/tmp/multipartBody5784686922848327426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_46_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/22/f8659442c35a54a65cecb3bb94eae98e.jpg","text":"TemporaryFile(/tmp/multipartBody856804015044331692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_28_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/22/c49dab0647f5a79f60f5c6e1c76c7a6a.jpg","text":"TemporaryFile(/tmp/multipartBody79539518825542084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_41_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/22/e87d2efa7b48563225c64df59f42a407.jpg","text":"TemporaryFile(/tmp/multipartBody8349148947853635107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_23_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/22/7bf3cc381253b4e89ea5d9cc18bdfe3f.jpg","text":"TemporaryFile(/tmp/multipartBody5109935012032017097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535513089,"filename":"image_22012025_09_43_35_6367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547506","file1":"1330547497","file0":"1330547465","file4":"1330547527","file5":"1330547532","file3":"1330547517"},"map_files_photo_id_array":[{"photo_id":"1330547532","filename":"file5"},{"photo_id":"1330547506","filename":"file2"},{"photo_id":"1330547527","filename":"file4"},{"photo_id":"1330547497","filename":"file1"},{"photo_id":"1330547465","filename":"file0"},{"photo_id":"1330547517","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547465":["hashtag1","hashtag2"]},{"1330547497":["hashtag1","hashtag2"]},{"1330547527":["hashtag1","hashtag2"]},{"1330547506":["hashtag1","hashtag2"]},{"1330547532":["hashtag1","hashtag2"]},{"1330547517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547465, 1330547497, 1330547527, 1330547506, 1330547532, 1330547517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.70173239707947 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:45:03.566582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/44/image_22012025_09_44_53_6460.jpg', '/media/data/images/22012025/09/44/image_22012025_09_44_47_5222.jpg', '/media/data/images/22012025/09/44/image_22012025_09_44_41_6436.jpg', '/media/data/images/22012025/09/44/image_22012025_09_44_35_6433.jpg', '/media/data/images/22012025/09/44/image_22012025_09_44_29_5232.jpg', '/media/data/images/22012025/09/44/image_22012025_09_44_23_6669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/44/image_22012025_09_44_53_6460.jpg
/media/data/images/22012025/09/44/image_22012025_09_44_47_5222.jpg
/media/data/images/22012025/09/44/image_22012025_09_44_41_6436.jpg
/media/data/images/22012025/09/44/image_22012025_09_44_35_6433.jpg
/media/data/images/22012025/09/44/image_22012025_09_44_29_5232.jpg
/media/data/images/22012025/09/44/image_22012025_09_44_23_6669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547558","1330547563","1330547587","1330547554","1330547568","1330547579"],"photo_ids_order":["1330547554","1330547558","1330547563","1330547568","1330547579","1330547587"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fde7f564609b306f2f9987124f6ad88f.jpg","text":"TemporaryFile(/tmp/multipartBody2227138157122029336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_47_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/22/3bf64f44714caa0c68655185019c3a14.jpg","text":"TemporaryFile(/tmp/multipartBody3129811954174412177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_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/22/8cfcb186bbd9e0b6c4d9da56e1739b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8591473441704251920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_23_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/22/64d3d785ff3e185f9b97da5669585590.jpg","text":"TemporaryFile(/tmp/multipartBody6219629900073071754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_53_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/22/fc651caaee6db22c72157a37d1789378.jpg","text":"TemporaryFile(/tmp/multipartBody6533827871188913100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_35_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/22/1fad677d49003fec962ce54d12caf8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8294213251431946862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535572895,"filename":"image_22012025_09_44_29_5232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547563","file1":"1330547558","file0":"1330547554","file4":"1330547579","file5":"1330547587","file3":"1330547568"},"map_files_photo_id_array":[{"photo_id":"1330547587","filename":"file5"},{"photo_id":"1330547563","filename":"file2"},{"photo_id":"1330547579","filename":"file4"},{"photo_id":"1330547558","filename":"file1"},{"photo_id":"1330547554","filename":"file0"},{"photo_id":"1330547568","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547558":["hashtag1","hashtag2"]},{"1330547563":["hashtag1","hashtag2"]},{"1330547587":["hashtag1","hashtag2"]},{"1330547554":["hashtag1","hashtag2"]},{"1330547568":["hashtag1","hashtag2"]},{"1330547579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547558, 1330547563, 1330547587, 1330547554, 1330547568, 1330547579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.80204129219055 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:46:03.234660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/45/image_22012025_09_45_53_6473.jpg', '/media/data/images/22012025/09/45/image_22012025_09_45_47_5238.jpg', '/media/data/images/22012025/09/45/image_22012025_09_45_41_6445.jpg', '/media/data/images/22012025/09/45/image_22012025_09_45_35_6419.jpg', '/media/data/images/22012025/09/45/image_22012025_09_45_29_5216.jpg', '/media/data/images/22012025/09/45/image_22012025_09_45_23_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/45/image_22012025_09_45_53_6473.jpg
/media/data/images/22012025/09/45/image_22012025_09_45_47_5238.jpg
/media/data/images/22012025/09/45/image_22012025_09_45_41_6445.jpg
/media/data/images/22012025/09/45/image_22012025_09_45_35_6419.jpg
/media/data/images/22012025/09/45/image_22012025_09_45_29_5216.jpg
/media/data/images/22012025/09/45/image_22012025_09_45_23_6496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547658","1330547703","1330547646","1330547706","1330547693","1330547681"],"photo_ids_order":["1330547646","1330547658","1330547681","1330547693","1330547703","1330547706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a43fb02e560e9f183f9470f7de10f1f.jpg","text":"TemporaryFile(/tmp/multipartBody843084219777171084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_47_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/22/3743d6467ae930d09e8c2eedc7d7605d.jpg","text":"TemporaryFile(/tmp/multipartBody7173312136842289523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_29_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/22/65797c53526b3757c148b83e7053778e.jpg","text":"TemporaryFile(/tmp/multipartBody2331209489850544126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_53_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/22/7b2daae506ba7e760a9e8b64fb56945b.jpg","text":"TemporaryFile(/tmp/multipartBody8557069420672430756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_23_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/22/62f090b3ea75ab72de0f24a9b956983e.jpg","text":"TemporaryFile(/tmp/multipartBody14969642854283289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_35_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/22/193137453f124b998ce91b471705bca7.jpg","text":"TemporaryFile(/tmp/multipartBody1749749920291618987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535635343,"filename":"image_22012025_09_45_41_6445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547681","file1":"1330547658","file0":"1330547646","file4":"1330547703","file5":"1330547706","file3":"1330547693"},"map_files_photo_id_array":[{"photo_id":"1330547706","filename":"file5"},{"photo_id":"1330547681","filename":"file2"},{"photo_id":"1330547703","filename":"file4"},{"photo_id":"1330547658","filename":"file1"},{"photo_id":"1330547646","filename":"file0"},{"photo_id":"1330547693","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547658":["hashtag1","hashtag2"]},{"1330547703":["hashtag1","hashtag2"]},{"1330547646":["hashtag1","hashtag2"]},{"1330547706":["hashtag1","hashtag2"]},{"1330547693":["hashtag1","hashtag2"]},{"1330547681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547658, 1330547703, 1330547646, 1330547706, 1330547693, 1330547681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.19507670402527 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:47:04.039493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/46/image_22012025_09_46_53_6493.jpg', '/media/data/images/22012025/09/46/image_22012025_09_46_46_5281.jpg', '/media/data/images/22012025/09/46/image_22012025_09_46_41_6470.jpg', '/media/data/images/22012025/09/46/image_22012025_09_46_35_5214.jpg', '/media/data/images/22012025/09/46/image_22012025_09_46_29_6417.jpg', '/media/data/images/22012025/09/46/image_22012025_09_46_23_6700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/46/image_22012025_09_46_53_6493.jpg
/media/data/images/22012025/09/46/image_22012025_09_46_46_5281.jpg
/media/data/images/22012025/09/46/image_22012025_09_46_41_6470.jpg
/media/data/images/22012025/09/46/image_22012025_09_46_35_5214.jpg
/media/data/images/22012025/09/46/image_22012025_09_46_29_6417.jpg
/media/data/images/22012025/09/46/image_22012025_09_46_23_6700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547840","1330547801","1330547806","1330547821","1330547809","1330547831"],"photo_ids_order":["1330547801","1330547806","1330547809","1330547821","1330547831","1330547840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8f0643cfd6333ad284d4c5a632019b5.jpg","text":"TemporaryFile(/tmp/multipartBody4462442303893242188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_23_6700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/103f6823ec19738442f8472c7cb609b1.jpg","text":"TemporaryFile(/tmp/multipartBody2639391272491041288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_53_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/22/550c9efbd9661392030054e6aa5b20e4.jpg","text":"TemporaryFile(/tmp/multipartBody2838136077160575347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_46_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/22/bbd328e1445ab3723ba6cc2210d499d1.jpg","text":"TemporaryFile(/tmp/multipartBody2291051136571191681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_35_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/22/e75ff9b5cf0b4eec6df93ff6b1e3e15f.jpg","text":"TemporaryFile(/tmp/multipartBody7975491917421000414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_41_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/22/631c1d573478fb8895b3a006dac54560.jpg","text":"TemporaryFile(/tmp/multipartBody6487837380419805449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535702505,"filename":"image_22012025_09_46_29_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547809","file1":"1330547806","file0":"1330547801","file4":"1330547831","file5":"1330547840","file3":"1330547821"},"map_files_photo_id_array":[{"photo_id":"1330547840","filename":"file5"},{"photo_id":"1330547809","filename":"file2"},{"photo_id":"1330547831","filename":"file4"},{"photo_id":"1330547806","filename":"file1"},{"photo_id":"1330547801","filename":"file0"},{"photo_id":"1330547821","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547840":["hashtag1","hashtag2"]},{"1330547801":["hashtag1","hashtag2"]},{"1330547806":["hashtag1","hashtag2"]},{"1330547821":["hashtag1","hashtag2"]},{"1330547809":["hashtag1","hashtag2"]},{"1330547831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547840, 1330547801, 1330547806, 1330547821, 1330547809, 1330547831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.91639471054077 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:48:03.892754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/47/image_22012025_09_47_53_6395.jpg', '/media/data/images/22012025/09/47/image_22012025_09_47_47_5200.jpg', '/media/data/images/22012025/09/47/image_22012025_09_47_41_6415.jpg', '/media/data/images/22012025/09/47/image_22012025_09_47_35_6459.jpg', '/media/data/images/22012025/09/47/image_22012025_09_47_29_5228.jpg', '/media/data/images/22012025/09/47/image_22012025_09_47_23_6684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/47/image_22012025_09_47_53_6395.jpg
/media/data/images/22012025/09/47/image_22012025_09_47_47_5200.jpg
/media/data/images/22012025/09/47/image_22012025_09_47_41_6415.jpg
/media/data/images/22012025/09/47/image_22012025_09_47_35_6459.jpg
/media/data/images/22012025/09/47/image_22012025_09_47_29_5228.jpg
/media/data/images/22012025/09/47/image_22012025_09_47_23_6684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330547878","1330547871","1330547874","1330547861","1330547864","1330547867"],"photo_ids_order":["1330547861","1330547864","1330547867","1330547871","1330547874","1330547878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b06b3241d6606597c0071550dd5b98b1.jpg","text":"TemporaryFile(/tmp/multipartBody3870421859067759666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_23_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/589cf8341f342b9c8c09934f1bcc963f.jpg","text":"TemporaryFile(/tmp/multipartBody9068538854772609193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_35_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/22/6ee0c540d53b2a4e2030da25f2d70624.jpg","text":"TemporaryFile(/tmp/multipartBody8590889056367104334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_29_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/22/a975b3bc02a0963f706cb880795d2733.jpg","text":"TemporaryFile(/tmp/multipartBody649886808781320007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_53_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/22/635fb3facbadcee7cf640d70357de2c2.jpg","text":"TemporaryFile(/tmp/multipartBody123169091655227892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_47_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/22/093a8fa3f1076d3b4c40e07bc5dee3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2255105097145191043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535752996,"filename":"image_22012025_09_47_41_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330547867","file1":"1330547864","file0":"1330547861","file4":"1330547874","file5":"1330547878","file3":"1330547871"},"map_files_photo_id_array":[{"photo_id":"1330547878","filename":"file5"},{"photo_id":"1330547867","filename":"file2"},{"photo_id":"1330547874","filename":"file4"},{"photo_id":"1330547864","filename":"file1"},{"photo_id":"1330547861","filename":"file0"},{"photo_id":"1330547871","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330547878":["hashtag1","hashtag2"]},{"1330547871":["hashtag1","hashtag2"]},{"1330547874":["hashtag1","hashtag2"]},{"1330547861":["hashtag1","hashtag2"]},{"1330547864":["hashtag1","hashtag2"]},{"1330547867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330547878, 1330547871, 1330547874, 1330547861, 1330547864, 1330547867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28309679031372 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 09:49:04.107758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/48/image_22012025_09_48_53_6460.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_46_5265.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_41_6448.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_35_5185.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_29_6444.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_23_5960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/48/image_22012025_09_48_53_6460.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_46_5265.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_41_6448.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_35_5185.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_29_6444.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_23_5960.jpg
2025-01-22 09:49:04.095240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/48/image_22012025_09_48_53_6460.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_46_5265.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_41_6448.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_35_5185.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_29_6444.jpg', '/media/data/images/22012025/09/48/image_22012025_09_48_23_5960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/48/image_22012025_09_48_53_6460.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_46_5265.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_41_6448.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_35_5185.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_29_6444.jpg
/media/data/images/22012025/09/48/image_22012025_09_48_23_5960.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":["1330548101","1330548094","1330548088","1330548078","1330548083","1330548107"],"photo_ids_order":["1330548078","1330548083","1330548088","1330548094","1330548101","1330548107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04d5ed2f3fa4dcba47691e0f76f8a29f.jpg","text":"TemporaryFile(/tmp/multipartBody1545354587511524598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_29_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/22/d8d7e558d284b466baa1f996712390fc.jpg","text":"TemporaryFile(/tmp/multipartBody6701821967772749015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_35_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/22/cdda7d9a946d24d64ae38334f6df6a77.jpg","text":"TemporaryFile(/tmp/multipartBody6830763592056218510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_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/22/56c120f81312610d431f1754f5911631.jpg","text":"TemporaryFile(/tmp/multipartBody235377398929247473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_53_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/22/4251c7204579c0e08887e3d476560d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1116269757515869834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_46_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/22/ed33242e1333dcd6ad5294bc16ee8a88.jpg","text":"TemporaryFile(/tmp/multipartBody4992676432004995792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535809356,"filename":"image_22012025_09_48_23_5960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548088","file1":"1330548083","file0":"1330548078","file4":"1330548101","file5":"1330548107","file3":"1330548094"},"map_files_photo_id_array":[{"photo_id":"1330548107","filename":"file5"},{"photo_id":"1330548088","filename":"file2"},{"photo_id":"1330548101","filename":"file4"},{"photo_id":"1330548083","filename":"file1"},{"photo_id":"1330548078","filename":"file0"},{"photo_id":"1330548094","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548101":["hashtag1","hashtag2"]},{"1330548094":["hashtag1","hashtag2"]},{"1330548088":["hashtag1","hashtag2"]},{"1330548078":["hashtag1","hashtag2"]},{"1330548083":["hashtag1","hashtag2"]},{"1330548107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548101, 1330548094, 1330548088, 1330548078, 1330548083, 1330548107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28519320487976 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548091","1330548085","1330548096","1330548102","1330548080","1330548110"],"photo_ids_order":["1330548080","1330548085","1330548091","1330548096","1330548102","1330548110"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/40dcb6f6faef76540f99a57b394e03a2.jpg","text":"TemporaryFile(/tmp/multipartBody52701032495790050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_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/22/42db16318b50d1aeb1979c8e646cb09b.jpg","text":"TemporaryFile(/tmp/multipartBody8428009152791108133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_46_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/22/2f7c54ab9448e506e6d25f1ada80c151.jpg","text":"TemporaryFile(/tmp/multipartBody6970574992444249067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_35_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/22/2fbd2181c474e0da31fd1e9413c6d67e.jpg","text":"TemporaryFile(/tmp/multipartBody3625220870730934128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_29_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/22/72079455be67cf33d348fa2104b3b62d.jpg","text":"TemporaryFile(/tmp/multipartBody3230226126746974085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_53_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/22/9dd99aa64a1fc0b4c8bacda87efd193a.jpg","text":"TemporaryFile(/tmp/multipartBody6514615683235193359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535810382,"filename":"image_22012025_09_48_23_5960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548091","file1":"1330548085","file0":"1330548080","file4":"1330548102","file5":"1330548110","file3":"1330548096"},"map_files_photo_id_array":[{"photo_id":"1330548110","filename":"file5"},{"photo_id":"1330548091","filename":"file2"},{"photo_id":"1330548102","filename":"file4"},{"photo_id":"1330548085","filename":"file1"},{"photo_id":"1330548080","filename":"file0"},{"photo_id":"1330548096","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548091":["hashtag1","hashtag2"]},{"1330548085":["hashtag1","hashtag2"]},{"1330548096":["hashtag1","hashtag2"]},{"1330548102":["hashtag1","hashtag2"]},{"1330548080":["hashtag1","hashtag2"]},{"1330548110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548091, 1330548085, 1330548096, 1330548102, 1330548080, 1330548110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.481106758117676 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:50:03.101643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/49/image_22012025_09_49_53_6452.jpg', '/media/data/images/22012025/09/49/image_22012025_09_49_46_5260.jpg', '/media/data/images/22012025/09/49/image_22012025_09_49_41_6443.jpg', '/media/data/images/22012025/09/49/image_22012025_09_49_35_6395.jpg', '/media/data/images/22012025/09/49/image_22012025_09_49_28_5176.jpg', '/media/data/images/22012025/09/49/image_22012025_09_49_23_6452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/49/image_22012025_09_49_53_6452.jpg
/media/data/images/22012025/09/49/image_22012025_09_49_46_5260.jpg
/media/data/images/22012025/09/49/image_22012025_09_49_41_6443.jpg
/media/data/images/22012025/09/49/image_22012025_09_49_35_6395.jpg
/media/data/images/22012025/09/49/image_22012025_09_49_28_5176.jpg
/media/data/images/22012025/09/49/image_22012025_09_49_23_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":["1330548250","1330548235","1330548246","1330548309","1330548269","1330548260"],"photo_ids_order":["1330548235","1330548246","1330548250","1330548260","1330548269","1330548309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a327149f86279e4e8c5427496d3e848d.jpg","text":"TemporaryFile(/tmp/multipartBody8329172579691581671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_41_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/22/2327f5d2d8d6e1507e1cf6227cc3814a.jpg","text":"TemporaryFile(/tmp/multipartBody8303965180296424191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_53_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/22/bcf2d88935fc7baa2e8258872527fa75.jpg","text":"TemporaryFile(/tmp/multipartBody3536903644153869843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_46_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/22/a8187cab3b99c604f4791d37ad391f71.jpg","text":"TemporaryFile(/tmp/multipartBody6985161265006731714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_23_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/22/074f8bbb1bd1d4e6a2ea34b4f74268ce.jpg","text":"TemporaryFile(/tmp/multipartBody6899161207735903364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_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/22/cccd126ca3fb2c43a39b7d08b61d158b.jpg","text":"TemporaryFile(/tmp/multipartBody4689871511581809359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535883741,"filename":"image_22012025_09_49_35_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548250","file1":"1330548246","file0":"1330548235","file4":"1330548269","file5":"1330548309","file3":"1330548260"},"map_files_photo_id_array":[{"photo_id":"1330548309","filename":"file5"},{"photo_id":"1330548250","filename":"file2"},{"photo_id":"1330548269","filename":"file4"},{"photo_id":"1330548246","filename":"file1"},{"photo_id":"1330548235","filename":"file0"},{"photo_id":"1330548260","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548250":["hashtag1","hashtag2"]},{"1330548235":["hashtag1","hashtag2"]},{"1330548246":["hashtag1","hashtag2"]},{"1330548309":["hashtag1","hashtag2"]},{"1330548269":["hashtag1","hashtag2"]},{"1330548260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548250, 1330548235, 1330548246, 1330548309, 1330548269, 1330548260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.864408016204834 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:51:03.682816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/50/image_22012025_09_50_53_5233.jpg', '/media/data/images/22012025/09/50/image_22012025_09_50_47_6465.jpg', '/media/data/images/22012025/09/50/image_22012025_09_50_41_6461.jpg', '/media/data/images/22012025/09/50/image_22012025_09_50_34_5203.jpg', '/media/data/images/22012025/09/50/image_22012025_09_50_29_6433.jpg', '/media/data/images/22012025/09/50/image_22012025_09_50_23_6464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/50/image_22012025_09_50_53_5233.jpg
/media/data/images/22012025/09/50/image_22012025_09_50_47_6465.jpg
/media/data/images/22012025/09/50/image_22012025_09_50_41_6461.jpg
/media/data/images/22012025/09/50/image_22012025_09_50_34_5203.jpg
/media/data/images/22012025/09/50/image_22012025_09_50_29_6433.jpg
/media/data/images/22012025/09/50/image_22012025_09_50_23_6464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548370","1330548381","1330548360","1330548363","1330548377","1330548394"],"photo_ids_order":["1330548360","1330548363","1330548370","1330548377","1330548381","1330548394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f15e9bdac7408bd678a289788b84a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody5867669174420399368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_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/22/98153f6892dafcae957abc964b5d53f4.jpg","text":"TemporaryFile(/tmp/multipartBody2625123406411889983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_29_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/22/9bf6336f7ce70e26d642e5d6d1f510a6.jpg","text":"TemporaryFile(/tmp/multipartBody6598585617130172066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_53_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/22/72e14bb4b8191791471a384e4174576d.jpg","text":"TemporaryFile(/tmp/multipartBody1661762439650793935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_47_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/22/8710847854908dac30be62c153efa741.jpg","text":"TemporaryFile(/tmp/multipartBody3965317149428526707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_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/22/0a134dbf3e9884cae832abf71865b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody5190910213149088955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535934200,"filename":"image_22012025_09_50_23_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548370","file1":"1330548363","file0":"1330548360","file4":"1330548381","file5":"1330548394","file3":"1330548377"},"map_files_photo_id_array":[{"photo_id":"1330548394","filename":"file5"},{"photo_id":"1330548370","filename":"file2"},{"photo_id":"1330548381","filename":"file4"},{"photo_id":"1330548363","filename":"file1"},{"photo_id":"1330548360","filename":"file0"},{"photo_id":"1330548377","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548370":["hashtag1","hashtag2"]},{"1330548381":["hashtag1","hashtag2"]},{"1330548360":["hashtag1","hashtag2"]},{"1330548363":["hashtag1","hashtag2"]},{"1330548377":["hashtag1","hashtag2"]},{"1330548394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548370, 1330548381, 1330548360, 1330548363, 1330548377, 1330548394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.19172263145447 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:52:03.146446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/51/image_22012025_09_51_53_6442.jpg', '/media/data/images/22012025/09/51/image_22012025_09_51_47_6486.jpg', '/media/data/images/22012025/09/51/image_22012025_09_51_40_5264.jpg', '/media/data/images/22012025/09/51/image_22012025_09_51_35_6460.jpg', '/media/data/images/22012025/09/51/image_22012025_09_51_29_5398.jpg', '/media/data/images/22012025/09/51/image_22012025_09_51_23_6902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/51/image_22012025_09_51_53_6442.jpg
/media/data/images/22012025/09/51/image_22012025_09_51_47_6486.jpg
/media/data/images/22012025/09/51/image_22012025_09_51_40_5264.jpg
/media/data/images/22012025/09/51/image_22012025_09_51_35_6460.jpg
/media/data/images/22012025/09/51/image_22012025_09_51_29_5398.jpg
/media/data/images/22012025/09/51/image_22012025_09_51_23_6902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548670","1330548729","1330548714","1330548680","1330548698","1330548662"],"photo_ids_order":["1330548662","1330548670","1330548680","1330548698","1330548714","1330548729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d3855b9c5f858c6d23d5c9f2c7dc885.jpg","text":"TemporaryFile(/tmp/multipartBody6063347053242241449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_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/22/51d913afa71bfd9478fb2f6c24f24dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2876876166379340393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_23_6902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/07a88ce1d84de4104c1581d2d17c8e02.jpg","text":"TemporaryFile(/tmp/multipartBody3096238536067995192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_29_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/22/4d7789a8244b989dd7022fd41e7ea598.jpg","text":"TemporaryFile(/tmp/multipartBody5797513434915493118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_40_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/22/6b13ee9257e1ac94550c9c1b90384626.jpg","text":"TemporaryFile(/tmp/multipartBody9201736478255995783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_35_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/22/fa3373a6d132a0013b744df2752dbf6a.jpg","text":"TemporaryFile(/tmp/multipartBody3974327562834542932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737535991635,"filename":"image_22012025_09_51_53_6442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548680","file1":"1330548670","file0":"1330548662","file4":"1330548714","file5":"1330548729","file3":"1330548698"},"map_files_photo_id_array":[{"photo_id":"1330548729","filename":"file5"},{"photo_id":"1330548680","filename":"file2"},{"photo_id":"1330548714","filename":"file4"},{"photo_id":"1330548670","filename":"file1"},{"photo_id":"1330548662","filename":"file0"},{"photo_id":"1330548698","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548670":["hashtag1","hashtag2"]},{"1330548729":["hashtag1","hashtag2"]},{"1330548714":["hashtag1","hashtag2"]},{"1330548680":["hashtag1","hashtag2"]},{"1330548698":["hashtag1","hashtag2"]},{"1330548662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548670, 1330548729, 1330548714, 1330548680, 1330548698, 1330548662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.29060125350952 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:53:03.636665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/52/image_22012025_09_52_52_5204.jpg', '/media/data/images/22012025/09/52/image_22012025_09_52_47_6386.jpg', '/media/data/images/22012025/09/52/image_22012025_09_52_41_6393.jpg', '/media/data/images/22012025/09/52/image_22012025_09_52_34_5255.jpg', '/media/data/images/22012025/09/52/image_22012025_09_52_29_6460.jpg', '/media/data/images/22012025/09/52/image_22012025_09_52_23_5471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/52/image_22012025_09_52_52_5204.jpg
/media/data/images/22012025/09/52/image_22012025_09_52_47_6386.jpg
/media/data/images/22012025/09/52/image_22012025_09_52_41_6393.jpg
/media/data/images/22012025/09/52/image_22012025_09_52_34_5255.jpg
/media/data/images/22012025/09/52/image_22012025_09_52_29_6460.jpg
/media/data/images/22012025/09/52/image_22012025_09_52_23_5471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548793","1330548811","1330548786","1330548806","1330548799","1330548790"],"photo_ids_order":["1330548786","1330548790","1330548793","1330548799","1330548806","1330548811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b6baf7c7eca7064f149de686a3ded7d.jpg","text":"TemporaryFile(/tmp/multipartBody1261600099184041675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_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/22/66f81a41509ce7aeee007f92a9d3c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody8609216416247727775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_23_5471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ebc645daace41497df116f0fe05d635.jpg","text":"TemporaryFile(/tmp/multipartBody5641112714328201728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_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/22/890dba54336cb69172403963faed65b8.jpg","text":"TemporaryFile(/tmp/multipartBody7240525915551919682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_29_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/22/cb1f1d09ae39e48ef5bf0c8697a4b8ee.jpg","text":"TemporaryFile(/tmp/multipartBody9003776476055633505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_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/22/5b692e4d9bbeb38019aa9d2f6abad32f.jpg","text":"TemporaryFile(/tmp/multipartBody8975012112502997748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536057795,"filename":"image_22012025_09_52_47_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548793","file1":"1330548790","file0":"1330548786","file4":"1330548806","file5":"1330548811","file3":"1330548799"},"map_files_photo_id_array":[{"photo_id":"1330548811","filename":"file5"},{"photo_id":"1330548793","filename":"file2"},{"photo_id":"1330548806","filename":"file4"},{"photo_id":"1330548790","filename":"file1"},{"photo_id":"1330548786","filename":"file0"},{"photo_id":"1330548799","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548793":["hashtag1","hashtag2"]},{"1330548811":["hashtag1","hashtag2"]},{"1330548786":["hashtag1","hashtag2"]},{"1330548806":["hashtag1","hashtag2"]},{"1330548799":["hashtag1","hashtag2"]},{"1330548790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548793, 1330548811, 1330548786, 1330548806, 1330548799, 1330548790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.516481161117554 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 09:54:04.208132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/53/image_22012025_09_53_53_6467.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_46_5215.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_41_6433.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_35_6422.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_28_5206.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_23_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/53/image_22012025_09_53_53_6467.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_46_5215.jpg
2025-01-22 09:54:04.201999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/53/image_22012025_09_53_53_6467.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_46_5215.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_41_6433.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_35_6422.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_28_5206.jpg', '/media/data/images/22012025/09/53/image_22012025_09_53_23_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/53/image_22012025_09_53_41_6433.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_53_6467.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_35_6422.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_46_5215.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_28_5206.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_41_6433.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_23_6423.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_35_6422.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_28_5206.jpg
/media/data/images/22012025/09/53/image_22012025_09_53_23_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":["1330548862","1330548838","1330548846","1330548840","1330548854","1330548842"],"photo_ids_order":["1330548838","1330548840","1330548842","1330548846","1330548854","1330548862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3cb69f433a8fd6e8b9c0377d2e9ec3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1552027394159349876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_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/22/275da1a8e6f7b0019fa4c55b385a0e61.jpg","text":"TemporaryFile(/tmp/multipartBody3568607921967522767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_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/22/a067eef1d7f46ff99e57e4e61dfb63e4.jpg","text":"TemporaryFile(/tmp/multipartBody7571427407359044205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_35_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/22/a7ddccc46889eb3af44b5ce0e7e4b5ab.jpg","text":"TemporaryFile(/tmp/multipartBody4878867203218059947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_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/22/1a9624634194d9535b273edb4cc1185d.jpg","text":"TemporaryFile(/tmp/multipartBody6717451292929971754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_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/22/8c5ca74722b9b38d3acabcba606b8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1503319641485480492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110713,"filename":"image_22012025_09_53_41_6433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548842","file1":"1330548840","file0":"1330548838","file4":"1330548854","file5":"1330548862","file3":"1330548846"},"map_files_photo_id_array":[{"photo_id":"1330548862","filename":"file5"},{"photo_id":"1330548842","filename":"file2"},{"photo_id":"1330548854","filename":"file4"},{"photo_id":"1330548840","filename":"file1"},{"photo_id":"1330548838","filename":"file0"},{"photo_id":"1330548846","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548862":["hashtag1","hashtag2"]},{"1330548838":["hashtag1","hashtag2"]},{"1330548846":["hashtag1","hashtag2"]},{"1330548840":["hashtag1","hashtag2"]},{"1330548854":["hashtag1","hashtag2"]},{"1330548842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548862, 1330548838, 1330548846, 1330548840, 1330548854, 1330548842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.378010749816895 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548847","1330548841","1330548843","1330548855","1330548863","1330548839"],"photo_ids_order":["1330548839","1330548841","1330548843","1330548847","1330548855","1330548863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f74947f7a9399e59fd567fd6366da2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6057196263878574072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_35_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/22/68ee0a343281ad38bf3eea772ecaa2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7196834855682615788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_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/22/3a778ab2e659016f66d5bef60d15b806.jpg","text":"TemporaryFile(/tmp/multipartBody3194896686187258484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_41_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/22/a79581abaf0c02a1a7ebe6677c933fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3029907911367324156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_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/22/a973f89e36a07170fd464671221e1778.jpg","text":"TemporaryFile(/tmp/multipartBody4536768712036316796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_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/22/2d07ca0946ec4697332c5b48a2b13718.jpg","text":"TemporaryFile(/tmp/multipartBody9094260962431341463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536110967,"filename":"image_22012025_09_53_53_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548843","file1":"1330548841","file0":"1330548839","file4":"1330548855","file5":"1330548863","file3":"1330548847"},"map_files_photo_id_array":[{"photo_id":"1330548863","filename":"file5"},{"photo_id":"1330548843","filename":"file2"},{"photo_id":"1330548855","filename":"file4"},{"photo_id":"1330548841","filename":"file1"},{"photo_id":"1330548839","filename":"file0"},{"photo_id":"1330548847","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548847":["hashtag1","hashtag2"]},{"1330548841":["hashtag1","hashtag2"]},{"1330548843":["hashtag1","hashtag2"]},{"1330548855":["hashtag1","hashtag2"]},{"1330548863":["hashtag1","hashtag2"]},{"1330548839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548847, 1330548841, 1330548843, 1330548855, 1330548863, 1330548839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41924858093262 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:55:03.963990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/54/image_22012025_09_54_52_5247.jpg', '/media/data/images/22012025/09/54/image_22012025_09_54_47_6451.jpg', '/media/data/images/22012025/09/54/image_22012025_09_54_41_6444.jpg', '/media/data/images/22012025/09/54/image_22012025_09_54_34_5238.jpg', '/media/data/images/22012025/09/54/image_22012025_09_54_29_6466.jpg', '/media/data/images/22012025/09/54/image_22012025_09_54_23_6261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/54/image_22012025_09_54_52_5247.jpg
/media/data/images/22012025/09/54/image_22012025_09_54_47_6451.jpg
/media/data/images/22012025/09/54/image_22012025_09_54_41_6444.jpg
/media/data/images/22012025/09/54/image_22012025_09_54_34_5238.jpg
/media/data/images/22012025/09/54/image_22012025_09_54_29_6466.jpg
/media/data/images/22012025/09/54/image_22012025_09_54_23_6261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330548937","1330548945","1330548968","1330548941","1330548935","1330548976"],"photo_ids_order":["1330548935","1330548937","1330548941","1330548945","1330548968","1330548976"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/92d02eb0d4f9483c8c619b6947a3c4b0.jpg","text":"TemporaryFile(/tmp/multipartBody5132653473436030409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_47_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/22/ba6259d54dd835957972a2f1c0a6b1ab.jpg","text":"TemporaryFile(/tmp/multipartBody1917237939805229773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_34_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/22/40224e50ef382a597c3e3d299f7df271.jpg","text":"TemporaryFile(/tmp/multipartBody6607524432635233683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_29_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/22/1f1e1972f20e553555ffcf66276d1d40.jpg","text":"TemporaryFile(/tmp/multipartBody6528651342186691097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_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/22/180c6b8be21fb82fbcf04e1274e2d131.jpg","text":"TemporaryFile(/tmp/multipartBody929984272677400115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_52_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/22/4990a959998e4e521f0ebe8489b8667f.jpg","text":"TemporaryFile(/tmp/multipartBody905051819523006099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536172945,"filename":"image_22012025_09_54_23_6261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330548941","file1":"1330548937","file0":"1330548935","file4":"1330548968","file5":"1330548976","file3":"1330548945"},"map_files_photo_id_array":[{"photo_id":"1330548976","filename":"file5"},{"photo_id":"1330548941","filename":"file2"},{"photo_id":"1330548968","filename":"file4"},{"photo_id":"1330548937","filename":"file1"},{"photo_id":"1330548935","filename":"file0"},{"photo_id":"1330548945","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330548937":["hashtag1","hashtag2"]},{"1330548945":["hashtag1","hashtag2"]},{"1330548968":["hashtag1","hashtag2"]},{"1330548941":["hashtag1","hashtag2"]},{"1330548935":["hashtag1","hashtag2"]},{"1330548976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330548937, 1330548945, 1330548968, 1330548941, 1330548935, 1330548976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37547850608826 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:56:03.914839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/55/image_22012025_09_55_53_6322.jpg', '/media/data/images/22012025/09/55/image_22012025_09_55_47_6385.jpg', '/media/data/images/22012025/09/55/image_22012025_09_55_41_5245.jpg', '/media/data/images/22012025/09/55/image_22012025_09_55_35_6440.jpg', '/media/data/images/22012025/09/55/image_22012025_09_55_29_6403.jpg', '/media/data/images/22012025/09/55/image_22012025_09_55_23_5197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/55/image_22012025_09_55_53_6322.jpg
/media/data/images/22012025/09/55/image_22012025_09_55_47_6385.jpg
/media/data/images/22012025/09/55/image_22012025_09_55_41_5245.jpg
/media/data/images/22012025/09/55/image_22012025_09_55_35_6440.jpg
/media/data/images/22012025/09/55/image_22012025_09_55_29_6403.jpg
/media/data/images/22012025/09/55/image_22012025_09_55_23_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":["1330549017","1330549022","1330549031","1330549025","1330549019","1330549013"],"photo_ids_order":["1330549013","1330549017","1330549019","1330549022","1330549025","1330549031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7019b2efe0c82452cb0a60973a35caf8.jpg","text":"TemporaryFile(/tmp/multipartBody8577280291696440423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_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/22/393654f106b72dabd2aba2ceb88cb75d.jpg","text":"TemporaryFile(/tmp/multipartBody4121300660489557554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_09_55_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/22/9ba824d6b4a0eb4d1aa8fb6c417bb453.jpg","text":"TemporaryFile(/tmp/multipartBody7028336312492736390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_09_55_23_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/22/f3147ac1167b45a12e8096fc9bb2d11e.jpg","text":"TemporaryFile(/tmp/multipartBody8281085585129705562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_09_55_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/22/748076b24ae3fcfe4e062db809c41a34.jpg","text":"TemporaryFile(/tmp/multipartBody929520644767836458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_09_55_41_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/22/7ec5d0d9c2e0a1d540630d75ddd542d5.jpg","text":"TemporaryFile(/tmp/multipartBody2672719128096246026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536233534,"filename":"image_22012025_09_55_53_6322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549019","file1":"1330549017","file0":"1330549013","file4":"1330549025","file5":"1330549031","file3":"1330549022"},"map_files_photo_id_array":[{"photo_id":"1330549031","filename":"file5"},{"photo_id":"1330549019","filename":"file2"},{"photo_id":"1330549025","filename":"file4"},{"photo_id":"1330549017","filename":"file1"},{"photo_id":"1330549013","filename":"file0"},{"photo_id":"1330549022","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549017":["hashtag1","hashtag2"]},{"1330549022":["hashtag1","hashtag2"]},{"1330549031":["hashtag1","hashtag2"]},{"1330549025":["hashtag1","hashtag2"]},{"1330549019":["hashtag1","hashtag2"]},{"1330549013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549017, 1330549022, 1330549031, 1330549025, 1330549019, 1330549013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75615382194519 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 09:57:03.094448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/56/image_22012025_09_56_53_6411.jpg', '/media/data/images/22012025/09/56/image_22012025_09_56_47_6245.jpg', '/media/data/images/22012025/09/56/image_22012025_09_56_41_5191.jpg', '/media/data/images/22012025/09/56/image_22012025_09_56_35_6375.jpg', '/media/data/images/22012025/09/56/image_22012025_09_56_29_6405.jpg', '/media/data/images/22012025/09/56/image_22012025_09_56_23_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/56/image_22012025_09_56_53_6411.jpg
/media/data/images/22012025/09/56/image_22012025_09_56_47_6245.jpg
/media/data/images/22012025/09/56/image_22012025_09_56_41_5191.jpg
/media/data/images/22012025/09/56/image_22012025_09_56_35_6375.jpg
/media/data/images/22012025/09/56/image_22012025_09_56_29_6405.jpg
/media/data/images/22012025/09/56/image_22012025_09_56_23_5214.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330549225","1330549213","1330549215","1330549199","1330549193","1330549220"],"photo_ids_order":["1330549193","1330549199","1330549213","1330549215","1330549220","1330549225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/daa10ce9d89b28a7084da0a60bce7190.jpg","text":"TemporaryFile(/tmp/multipartBody5549864878539209699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_23_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/22/3ca9b64d185b27a3eb5a215a9b5fda51.jpg","text":"TemporaryFile(/tmp/multipartBody3574525840669050540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_41_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/22/43a7ca198c639d8f65f814cdad5e604f.jpg","text":"TemporaryFile(/tmp/multipartBody8931578532063521338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_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/22/c910fb60ec0a3616ddcb2180e231c447.jpg","text":"TemporaryFile(/tmp/multipartBody453968344425334926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_47_6245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b56abe273ae9ed935105988f113151f7.jpg","text":"TemporaryFile(/tmp/multipartBody4187166516960924375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_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/22/899ccc4d33415e9047dcd1d7c945c151.jpg","text":"TemporaryFile(/tmp/multipartBody3627618785570213827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536297227,"filename":"image_22012025_09_56_29_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549213","file1":"1330549199","file0":"1330549193","file4":"1330549220","file5":"1330549225","file3":"1330549215"},"map_files_photo_id_array":[{"photo_id":"1330549225","filename":"file5"},{"photo_id":"1330549213","filename":"file2"},{"photo_id":"1330549220","filename":"file4"},{"photo_id":"1330549199","filename":"file1"},{"photo_id":"1330549193","filename":"file0"},{"photo_id":"1330549215","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549225":["hashtag1","hashtag2"]},{"1330549213":["hashtag1","hashtag2"]},{"1330549215":["hashtag1","hashtag2"]},{"1330549199":["hashtag1","hashtag2"]},{"1330549193":["hashtag1","hashtag2"]},{"1330549220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549225, 1330549213, 1330549215, 1330549199, 1330549193, 1330549220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.596778869628906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 09:59:04.257955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/58/image_22012025_09_58_53_5384.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_47_6552.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_41_5162.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_35_6422.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_29_6548.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_22_4400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/58/image_22012025_09_58_53_5384.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_47_6552.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_41_5162.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_35_6422.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_29_6548.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_22_4400.jpg
2025-01-22 09:59:04.390495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/58/image_22012025_09_58_53_5384.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_47_6552.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_41_5162.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_35_6422.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_29_6548.jpg', '/media/data/images/22012025/09/58/image_22012025_09_58_22_4400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/58/image_22012025_09_58_53_5384.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_47_6552.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_41_5162.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_35_6422.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_29_6548.jpg
/media/data/images/22012025/09/58/image_22012025_09_58_22_4400.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":["1330549537","1330549624","1330549655","1330549550","1330549544","1330549690"],"photo_ids_order":["1330549537","1330549544","1330549550","1330549624","1330549655","1330549690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11c055bb2ed44d9d208bf5b312f1c689.jpg","text":"TemporaryFile(/tmp/multipartBody7072668355885967559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_53_5384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c9a0c0a351bf40c326c7bca631508b4.jpg","text":"TemporaryFile(/tmp/multipartBody2116027799550271045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_35_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/22/b5413eb5c742949a32b173e2a9cf80c5.jpg","text":"TemporaryFile(/tmp/multipartBody4327598038235902611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_29_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/22/506fe815efc980fbf8e4111729ba38d5.jpg","text":"TemporaryFile(/tmp/multipartBody2764570870317344304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_41_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/22/d3b5ef9a04b585a13de06d5319cc56e9.jpg","text":"TemporaryFile(/tmp/multipartBody5460644140470884472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_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/22/d6a391b57f5dc278369c16d9a1944096.jpg","text":"TemporaryFile(/tmp/multipartBody7155726644338239006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536425451,"filename":"image_22012025_09_58_22_4400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549550","file1":"1330549544","file0":"1330549537","file4":"1330549655","file5":"1330549690","file3":"1330549624"},"map_files_photo_id_array":[{"photo_id":"1330549690","filename":"file5"},{"photo_id":"1330549550","filename":"file2"},{"photo_id":"1330549655","filename":"file4"},{"photo_id":"1330549544","filename":"file1"},{"photo_id":"1330549537","filename":"file0"},{"photo_id":"1330549624","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549537":["hashtag1","hashtag2"]},{"1330549624":["hashtag1","hashtag2"]},{"1330549655":["hashtag1","hashtag2"]},{"1330549550":["hashtag1","hashtag2"]},{"1330549544":["hashtag1","hashtag2"]},{"1330549690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549537, 1330549624, 1330549655, 1330549550, 1330549544, 1330549690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69637894630432 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330549692","1330549551","1330549541","1330549643","1330549546","1330549675"],"photo_ids_order":["1330549541","1330549546","1330549551","1330549643","1330549675","1330549692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19ffbaee650499fe1c806bbf5360d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6140701339578699185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_22_4400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e20ca6f38813fd5e436850048a3041c.jpg","text":"TemporaryFile(/tmp/multipartBody7379867934998832984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_41_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/22/18cf2f21180e9128951bdb9ef4c57d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2453931053416737141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_53_5384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd6d8dcf89f66eb6eea805619f27114c.jpg","text":"TemporaryFile(/tmp/multipartBody3455381597831063347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_35_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/22/78921878acbfbe041549a7021f59d20c.jpg","text":"TemporaryFile(/tmp/multipartBody5109570645955820908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_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/22/49707ada40d6721be01e0580d69121ce.jpg","text":"TemporaryFile(/tmp/multipartBody8518760376265722987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536427197,"filename":"image_22012025_09_58_29_6548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549551","file1":"1330549546","file0":"1330549541","file4":"1330549675","file5":"1330549692","file3":"1330549643"},"map_files_photo_id_array":[{"photo_id":"1330549692","filename":"file5"},{"photo_id":"1330549551","filename":"file2"},{"photo_id":"1330549675","filename":"file4"},{"photo_id":"1330549546","filename":"file1"},{"photo_id":"1330549541","filename":"file0"},{"photo_id":"1330549643","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549692":["hashtag1","hashtag2"]},{"1330549551":["hashtag1","hashtag2"]},{"1330549541":["hashtag1","hashtag2"]},{"1330549643":["hashtag1","hashtag2"]},{"1330549546":["hashtag1","hashtag2"]},{"1330549675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549692, 1330549551, 1330549541, 1330549643, 1330549546, 1330549675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29758071899414 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:00:03.735286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/09/59/image_22012025_09_59_53_6397.jpg', '/media/data/images/22012025/09/59/image_22012025_09_59_47_6416.jpg', '/media/data/images/22012025/09/59/image_22012025_09_59_40_5210.jpg', '/media/data/images/22012025/09/59/image_22012025_09_59_35_6423.jpg', '/media/data/images/22012025/09/59/image_22012025_09_59_29_5252.jpg', '/media/data/images/22012025/09/59/image_22012025_09_59_23_6515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/09/59/image_22012025_09_59_53_6397.jpg
/media/data/images/22012025/09/59/image_22012025_09_59_47_6416.jpg
/media/data/images/22012025/09/59/image_22012025_09_59_40_5210.jpg
/media/data/images/22012025/09/59/image_22012025_09_59_35_6423.jpg
/media/data/images/22012025/09/59/image_22012025_09_59_29_5252.jpg
/media/data/images/22012025/09/59/image_22012025_09_59_23_6515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330549813","1330549714","1330549728","1330549707","1330549793","1330549777"],"photo_ids_order":["1330549707","1330549714","1330549728","1330549777","1330549793","1330549813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a41ebf713668fc4d6d0337e5582eb286.jpg","text":"TemporaryFile(/tmp/multipartBody8590714329675986441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_23_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/22/d207f763593e67b908b914353995b865.jpg","text":"TemporaryFile(/tmp/multipartBody5438716550081353814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_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/22/168bcdd4524dbdd000c00ab06965a68c.jpg","text":"TemporaryFile(/tmp/multipartBody3233511870857264163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_40_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/22/a40df36b13936b12eb8e639cba3f1c74.jpg","text":"TemporaryFile(/tmp/multipartBody7892141293074954778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_53_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/22/fc36a7c8604467452fd2a7b7c7464209.jpg","text":"TemporaryFile(/tmp/multipartBody4519228035366433160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_29_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/22/64feac1919c1d14dc929493ad15e45a1.jpg","text":"TemporaryFile(/tmp/multipartBody418145933418506656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536472267,"filename":"image_22012025_09_59_35_6423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549728","file1":"1330549714","file0":"1330549707","file4":"1330549793","file5":"1330549813","file3":"1330549777"},"map_files_photo_id_array":[{"photo_id":"1330549813","filename":"file5"},{"photo_id":"1330549728","filename":"file2"},{"photo_id":"1330549793","filename":"file4"},{"photo_id":"1330549714","filename":"file1"},{"photo_id":"1330549707","filename":"file0"},{"photo_id":"1330549777","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549813":["hashtag1","hashtag2"]},{"1330549714":["hashtag1","hashtag2"]},{"1330549728":["hashtag1","hashtag2"]},{"1330549707":["hashtag1","hashtag2"]},{"1330549793":["hashtag1","hashtag2"]},{"1330549777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549813, 1330549714, 1330549728, 1330549707, 1330549793, 1330549777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.88987708091736 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:01:03.688568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/00/image_22012025_10_00_53_6419.jpg', '/media/data/images/22012025/10/00/image_22012025_10_00_47_6410.jpg', '/media/data/images/22012025/10/00/image_22012025_10_00_40_5222.jpg', '/media/data/images/22012025/10/00/image_22012025_10_00_35_6259.jpg', '/media/data/images/22012025/10/00/image_22012025_10_00_29_5972.jpg', '/media/data/images/22012025/10/00/image_22012025_10_00_24_5220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/00/image_22012025_10_00_53_6419.jpg
/media/data/images/22012025/10/00/image_22012025_10_00_47_6410.jpg
/media/data/images/22012025/10/00/image_22012025_10_00_40_5222.jpg
/media/data/images/22012025/10/00/image_22012025_10_00_35_6259.jpg
/media/data/images/22012025/10/00/image_22012025_10_00_29_5972.jpg
/media/data/images/22012025/10/00/image_22012025_10_00_24_5220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330549869","1330549865","1330549862","1330549882","1330549858","1330549873"],"photo_ids_order":["1330549858","1330549862","1330549865","1330549869","1330549873","1330549882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f1b78ab7f75ca3d26538501021f92906.jpg","text":"TemporaryFile(/tmp/multipartBody6438551717653150183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_35_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/22/ddc8e09daaf8e864fd16956104c2c3c2.jpg","text":"TemporaryFile(/tmp/multipartBody3090354168276094320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_40_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/22/00908366d7603c0e29bd276c5d9cf3a2.jpg","text":"TemporaryFile(/tmp/multipartBody2665802244743766364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_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/22/1b7bde377fe7a757c4bf90818e24db66.jpg","text":"TemporaryFile(/tmp/multipartBody8703424770069622659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_24_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/22/3cfc241078ede58fb15a90d2ad420281.jpg","text":"TemporaryFile(/tmp/multipartBody3424372029837472753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_53_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/22/715edf9aaedfe757636a68d05e5bee56.jpg","text":"TemporaryFile(/tmp/multipartBody4623204410637170433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536530726,"filename":"image_22012025_10_00_29_5972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549865","file1":"1330549862","file0":"1330549858","file4":"1330549873","file5":"1330549882","file3":"1330549869"},"map_files_photo_id_array":[{"photo_id":"1330549882","filename":"file5"},{"photo_id":"1330549865","filename":"file2"},{"photo_id":"1330549873","filename":"file4"},{"photo_id":"1330549862","filename":"file1"},{"photo_id":"1330549858","filename":"file0"},{"photo_id":"1330549869","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330549869":["hashtag1","hashtag2"]},{"1330549865":["hashtag1","hashtag2"]},{"1330549862":["hashtag1","hashtag2"]},{"1330549882":["hashtag1","hashtag2"]},{"1330549858":["hashtag1","hashtag2"]},{"1330549873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330549869, 1330549865, 1330549862, 1330549882, 1330549858, 1330549873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69534873962402 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:02:03.389803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/01/image_22012025_10_01_53_6415.jpg', '/media/data/images/22012025/10/01/image_22012025_10_01_47_5207.jpg', '/media/data/images/22012025/10/01/image_22012025_10_01_41_6387.jpg', '/media/data/images/22012025/10/01/image_22012025_10_01_35_6415.jpg', '/media/data/images/22012025/10/01/image_22012025_10_01_29_5168.jpg', '/media/data/images/22012025/10/01/image_22012025_10_01_23_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/01/image_22012025_10_01_53_6415.jpg
/media/data/images/22012025/10/01/image_22012025_10_01_47_5207.jpg
/media/data/images/22012025/10/01/image_22012025_10_01_41_6387.jpg
/media/data/images/22012025/10/01/image_22012025_10_01_35_6415.jpg
/media/data/images/22012025/10/01/image_22012025_10_01_29_5168.jpg
/media/data/images/22012025/10/01/image_22012025_10_01_23_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: 6.627989292144775 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:02:22.476157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/02/image_22012025_10_02_52_5227.jpg', '/media/data/images/22012025/10/02/image_22012025_10_02_47_6514.jpg', '/media/data/images/22012025/10/02/image_22012025_10_02_41_5227.jpg', '/media/data/images/22012025/10/02/image_22012025_10_02_35_6433.jpg', '/media/data/images/22012025/10/02/image_22012025_10_02_29_6472.jpg', '/media/data/images/22012025/10/02/image_22012025_10_02_23_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/02/image_22012025_10_02_52_5227.jpg
/media/data/images/22012025/10/02/image_22012025_10_02_47_6514.jpg
/media/data/images/22012025/10/02/image_22012025_10_02_41_5227.jpg
/media/data/images/22012025/10/02/image_22012025_10_02_35_6433.jpg
/media/data/images/22012025/10/02/image_22012025_10_02_29_6472.jpg
/media/data/images/22012025/10/02/image_22012025_10_02_23_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":["1330550005","1330549982","1330549976","1330549970","1330549964","1330549988"],"photo_ids_order":["1330549964","1330549970","1330549976","1330549982","1330549988","1330550005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/33eccc83bd508c9b05b5c402aa3a0836.jpg","text":"TemporaryFile(/tmp/multipartBody8304672329932260730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_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/22/92964233e17809a3cdd6cac79b3cf109.jpg","text":"TemporaryFile(/tmp/multipartBody1555786470365282817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_35_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/22/3ba923ed90f15e8eee15a02663820aae.jpg","text":"TemporaryFile(/tmp/multipartBody3589862529192407082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_41_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/22/5416c847b2f78a87b765e8a1cec0c7e8.jpg","text":"TemporaryFile(/tmp/multipartBody5545736623123460716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_47_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/22/562ad825827e3fb1a781b1b26749c508.jpg","text":"TemporaryFile(/tmp/multipartBody7964661639890143827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_52_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/22/f7babba8c0b44d99304c2d47500563a8.jpg","text":"TemporaryFile(/tmp/multipartBody9123449268448658482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536609178,"filename":"image_22012025_10_02_29_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330549976","file1":"1330549970","file0":"1330549964","file4":"1330549988","file5":"1330550005","file3":"1330549982"},"map_files_photo_id_array":[{"photo_id":"1330550005","filename":"file5"},{"photo_id":"1330549976","filename":"file2"},{"photo_id":"1330549988","filename":"file4"},{"photo_id":"1330549970","filename":"file1"},{"photo_id":"1330549964","filename":"file0"},{"photo_id":"1330549982","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330550005":["hashtag1","hashtag2"]},{"1330549982":["hashtag1","hashtag2"]},{"1330549976":["hashtag1","hashtag2"]},{"1330549970":["hashtag1","hashtag2"]},{"1330549964":["hashtag1","hashtag2"]},{"1330549988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330550005, 1330549982, 1330549976, 1330549970, 1330549964, 1330549988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07055997848511 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:03:22.610874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/03/image_22012025_10_03_53_6428.jpg', '/media/data/images/22012025/10/03/image_22012025_10_03_47_6457.jpg', '/media/data/images/22012025/10/03/image_22012025_10_03_40_5200.jpg', '/media/data/images/22012025/10/03/image_22012025_10_03_35_6466.jpg', '/media/data/images/22012025/10/03/image_22012025_10_03_29_6030.jpg', '/media/data/images/22012025/10/03/image_22012025_10_03_23_5181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/03/image_22012025_10_03_53_6428.jpg
/media/data/images/22012025/10/03/image_22012025_10_03_47_6457.jpg
/media/data/images/22012025/10/03/image_22012025_10_03_40_5200.jpg
/media/data/images/22012025/10/03/image_22012025_10_03_35_6466.jpg
/media/data/images/22012025/10/03/image_22012025_10_03_29_6030.jpg
/media/data/images/22012025/10/03/image_22012025_10_03_23_5181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330550105","1330550110","1330550134","1330550145","1330550114","1330550117"],"photo_ids_order":["1330550105","1330550110","1330550114","1330550117","1330550134","1330550145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5fca716a7e9e745ffb807015ab287c74.jpg","text":"TemporaryFile(/tmp/multipartBody7234389026696460779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_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/22/7a99a051fff2ea21088c5aa5391f5f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2028494800995674601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_47_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/22/5c758e0f60eebb20355632610a9edded.jpg","text":"TemporaryFile(/tmp/multipartBody7055828818948659676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_29_6030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1dc83bc33cdece3c2ff7a96a3eb00954.jpg","text":"TemporaryFile(/tmp/multipartBody7564068471170519167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_23_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/22/bf42ba8fd8178d521d3b6bdcb5f00c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1172903652908540259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_40_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/22/772941923306a4b25c6ad1e41091e192.jpg","text":"TemporaryFile(/tmp/multipartBody3861199083420414576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536669800,"filename":"image_22012025_10_03_35_6466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330550114","file1":"1330550110","file0":"1330550105","file4":"1330550134","file5":"1330550145","file3":"1330550117"},"map_files_photo_id_array":[{"photo_id":"1330550145","filename":"file5"},{"photo_id":"1330550114","filename":"file2"},{"photo_id":"1330550134","filename":"file4"},{"photo_id":"1330550110","filename":"file1"},{"photo_id":"1330550105","filename":"file0"},{"photo_id":"1330550117","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330550105":["hashtag1","hashtag2"]},{"1330550110":["hashtag1","hashtag2"]},{"1330550134":["hashtag1","hashtag2"]},{"1330550145":["hashtag1","hashtag2"]},{"1330550114":["hashtag1","hashtag2"]},{"1330550117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330550105, 1330550110, 1330550134, 1330550145, 1330550114, 1330550117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4991409778595 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:04:22.837143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/04/image_22012025_10_04_53_6416.jpg', '/media/data/images/22012025/10/04/image_22012025_10_04_47_5206.jpg', '/media/data/images/22012025/10/04/image_22012025_10_04_41_6422.jpg', '/media/data/images/22012025/10/04/image_22012025_10_04_35_5244.jpg', '/media/data/images/22012025/10/04/image_22012025_10_04_30_6442.jpg', '/media/data/images/22012025/10/04/image_22012025_10_04_24_6458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/04/image_22012025_10_04_53_6416.jpg
/media/data/images/22012025/10/04/image_22012025_10_04_47_5206.jpg
/media/data/images/22012025/10/04/image_22012025_10_04_41_6422.jpg
/media/data/images/22012025/10/04/image_22012025_10_04_35_5244.jpg
/media/data/images/22012025/10/04/image_22012025_10_04_30_6442.jpg
/media/data/images/22012025/10/04/image_22012025_10_04_24_6458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330550281","1330550256","1330550288","1330550270","1330550246","1330550240"],"photo_ids_order":["1330550240","1330550246","1330550256","1330550270","1330550281","1330550288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b217b7a405c93ac095e3dc383c06fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2532914558403847553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_30_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/22/612613cdba05d9c6d58a51b474da05c9.jpg","text":"TemporaryFile(/tmp/multipartBody7228126557330156001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_41_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/22/5051f97a2ae3a531b33565f3a929e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody782691709452702973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_24_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/22/baf2eb61ebb2676135beecdae01b5bef.jpg","text":"TemporaryFile(/tmp/multipartBody8664656569938223955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_35_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/22/69c004cdcdfce8311558c7a2ee121e10.jpg","text":"TemporaryFile(/tmp/multipartBody5451566753927128574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_47_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/22/0e5048577bc5a85fca0e31b41d58bfde.jpg","text":"TemporaryFile(/tmp/multipartBody8138313729474636247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536728491,"filename":"image_22012025_10_04_53_6416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330550256","file1":"1330550246","file0":"1330550240","file4":"1330550281","file5":"1330550288","file3":"1330550270"},"map_files_photo_id_array":[{"photo_id":"1330550288","filename":"file5"},{"photo_id":"1330550256","filename":"file2"},{"photo_id":"1330550281","filename":"file4"},{"photo_id":"1330550246","filename":"file1"},{"photo_id":"1330550240","filename":"file0"},{"photo_id":"1330550270","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330550281":["hashtag1","hashtag2"]},{"1330550256":["hashtag1","hashtag2"]},{"1330550288":["hashtag1","hashtag2"]},{"1330550270":["hashtag1","hashtag2"]},{"1330550246":["hashtag1","hashtag2"]},{"1330550240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330550281, 1330550256, 1330550288, 1330550270, 1330550246, 1330550240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23037600517273 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:05:21.875914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/05/image_22012025_10_05_53_5229.jpg', '/media/data/images/22012025/10/05/image_22012025_10_05_47_6431.jpg', '/media/data/images/22012025/10/05/image_22012025_10_05_41_6455.jpg', '/media/data/images/22012025/10/05/image_22012025_10_05_35_5167.jpg', '/media/data/images/22012025/10/05/image_22012025_10_05_29_6733.jpg', '/media/data/images/22012025/10/05/image_22012025_10_05_23_5227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/05/image_22012025_10_05_53_5229.jpg
/media/data/images/22012025/10/05/image_22012025_10_05_47_6431.jpg
/media/data/images/22012025/10/05/image_22012025_10_05_41_6455.jpg
/media/data/images/22012025/10/05/image_22012025_10_05_35_5167.jpg
/media/data/images/22012025/10/05/image_22012025_10_05_29_6733.jpg
/media/data/images/22012025/10/05/image_22012025_10_05_23_5227.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330550356","1330550341","1330550335","1330550329","1330550363","1330550348"],"photo_ids_order":["1330550329","1330550335","1330550341","1330550348","1330550356","1330550363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/66e362e61390087edda3d654016630b3.jpg","text":"TemporaryFile(/tmp/multipartBody8772218278583251294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_29_6733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3c7aa337bbda6675b8cc2a02e315e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5630786001889886343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_41_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/22/7c2576740505b45a1bb00aac10d6583b.jpg","text":"TemporaryFile(/tmp/multipartBody6538356901939781586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_47_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/22/2a68d69d757ed8da57ef0c15fae5160e.jpg","text":"TemporaryFile(/tmp/multipartBody6419301003497274897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_53_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/22/dcf086e358d73c4cc7e53312a5f9240f.jpg","text":"TemporaryFile(/tmp/multipartBody3918929532467187076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_23_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/22/005719204c1d258e80eb9139e1456544.jpg","text":"TemporaryFile(/tmp/multipartBody7418354329771436759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536791585,"filename":"image_22012025_10_05_35_5167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330550341","file1":"1330550335","file0":"1330550329","file4":"1330550356","file5":"1330550363","file3":"1330550348"},"map_files_photo_id_array":[{"photo_id":"1330550363","filename":"file5"},{"photo_id":"1330550341","filename":"file2"},{"photo_id":"1330550356","filename":"file4"},{"photo_id":"1330550335","filename":"file1"},{"photo_id":"1330550329","filename":"file0"},{"photo_id":"1330550348","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330550356":["hashtag1","hashtag2"]},{"1330550341":["hashtag1","hashtag2"]},{"1330550335":["hashtag1","hashtag2"]},{"1330550329":["hashtag1","hashtag2"]},{"1330550363":["hashtag1","hashtag2"]},{"1330550348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330550356, 1330550341, 1330550335, 1330550329, 1330550363, 1330550348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90019655227661 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:06:21.946697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/06/image_22012025_10_06_53_5225.jpg', '/media/data/images/22012025/10/06/image_22012025_10_06_47_6451.jpg', '/media/data/images/22012025/10/06/image_22012025_10_06_41_6468.jpg', '/media/data/images/22012025/10/06/image_22012025_10_06_34_5417.jpg', '/media/data/images/22012025/10/06/image_22012025_10_06_29_6295.jpg', '/media/data/images/22012025/10/06/image_22012025_10_06_23_5189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/06/image_22012025_10_06_53_5225.jpg
/media/data/images/22012025/10/06/image_22012025_10_06_47_6451.jpg
/media/data/images/22012025/10/06/image_22012025_10_06_41_6468.jpg
/media/data/images/22012025/10/06/image_22012025_10_06_34_5417.jpg
/media/data/images/22012025/10/06/image_22012025_10_06_29_6295.jpg
/media/data/images/22012025/10/06/image_22012025_10_06_23_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":["1330550515","1330550503","1330550490","1330550483","1330550525","1330550497"],"photo_ids_order":["1330550483","1330550490","1330550497","1330550503","1330550515","1330550525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30c90bc0aa9a2b56d97e6828ad35c69a.jpg","text":"TemporaryFile(/tmp/multipartBody9014411369038814404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_29_6295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4238bd840da1fd48891d22dc81bd9e55.jpg","text":"TemporaryFile(/tmp/multipartBody5460361075177303469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_34_5417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71ca95719059f627ddd366ad1c65d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4134727032475510723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_47_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/22/5a0347fcaceeafc387ffa56aa156ee0b.jpg","text":"TemporaryFile(/tmp/multipartBody9076442776105988757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_53_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/22/697b3ad8d548b2a5ce0b4791cbc27a68.jpg","text":"TemporaryFile(/tmp/multipartBody8417229922998262520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_23_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/22/b4a5ef8dcc74e891b3617f024074971c.jpg","text":"TemporaryFile(/tmp/multipartBody4307888077861609006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536851696,"filename":"image_22012025_10_06_41_6468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330550497","file1":"1330550490","file0":"1330550483","file4":"1330550515","file5":"1330550525","file3":"1330550503"},"map_files_photo_id_array":[{"photo_id":"1330550525","filename":"file5"},{"photo_id":"1330550497","filename":"file2"},{"photo_id":"1330550515","filename":"file4"},{"photo_id":"1330550490","filename":"file1"},{"photo_id":"1330550483","filename":"file0"},{"photo_id":"1330550503","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330550515":["hashtag1","hashtag2"]},{"1330550503":["hashtag1","hashtag2"]},{"1330550490":["hashtag1","hashtag2"]},{"1330550483":["hashtag1","hashtag2"]},{"1330550525":["hashtag1","hashtag2"]},{"1330550497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330550515, 1330550503, 1330550490, 1330550483, 1330550525, 1330550497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93760108947754 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:07:22.106808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/07/image_22012025_10_07_53_6438.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_46_5224.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_41_6459.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_35_5362.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_30_6351.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_24_6506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/07/image_22012025_10_07_53_6438.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_46_5224.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_41_6459.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_35_5362.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_30_6351.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_24_6506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330551817","1330551808","1330551720","1330551791","1330551824","1330551461"],"photo_ids_order":["1330551461","1330551720","1330551791","1330551808","1330551817","1330551824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60cc04bfe93d53385bec1b4345e58750.jpg","text":"TemporaryFile(/tmp/multipartBody9073980635007638617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_30_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/22/8c8560ea5a6aa0d1e943c8cd4d8f207e.jpg","text":"TemporaryFile(/tmp/multipartBody7842165625662451251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_35_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/22/ca35b6d1126aa43a39dbcbe71600ba65.jpg","text":"TemporaryFile(/tmp/multipartBody6959792526205885458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_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/22/e5fb4f3c50f8d78e08a0c31828eae1f0.jpg","text":"TemporaryFile(/tmp/multipartBody208087351106571577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_41_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/22/bd67144e2d6777e80adc158b727bccfc.jpg","text":"TemporaryFile(/tmp/multipartBody7268527335964974610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_24_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/22/1b01cf2171372c84831499e1cf7de1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8587459712986229847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536910092,"filename":"image_22012025_10_07_53_6438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330551791","file1":"1330551720","file0":"1330551461","file4":"1330551817","file5":"1330551824","file3":"1330551808"},"map_files_photo_id_array":[{"photo_id":"1330551824","filename":"file5"},{"photo_id":"1330551791","filename":"file2"},{"photo_id":"1330551817","filename":"file4"},{"photo_id":"1330551720","filename":"file1"},{"photo_id":"1330551461","filename":"file0"},{"photo_id":"1330551808","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330551817":["hashtag1","hashtag2"]},{"1330551808":["hashtag1","hashtag2"]},{"1330551720":["hashtag1","hashtag2"]},{"1330551791":["hashtag1","hashtag2"]},{"1330551824":["hashtag1","hashtag2"]},{"1330551461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330551817, 1330551808, 1330551720, 1330551791, 1330551824, 1330551461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.472508907318115 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:08:22.154077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/08/image_22012025_10_08_53_6414.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_46_5216.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_41_6421.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_35_5583.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_30_6305.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_23_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/08/image_22012025_10_08_53_6414.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_46_5216.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_41_6421.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_35_5583.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_30_6305.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_23_6467.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552182","1330551910","1330552044","1330551913","1330552159","1330552201"],"photo_ids_order":["1330551910","1330551913","1330552044","1330552159","1330552182","1330552201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/666c28212882ae0a59a3ae1d741b4cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8179282561480518683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_30_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/22/53d7398c37d082b2791f1ae87e699852.jpg","text":"TemporaryFile(/tmp/multipartBody3708094961814708046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_53_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/22/b52ce47bc5e723aa533afca1bf566988.jpg","text":"TemporaryFile(/tmp/multipartBody7545327752728716656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_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/22/398f394f50865dc06fd7c38c97a2e020.jpg","text":"TemporaryFile(/tmp/multipartBody68944672031348304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_46_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/22/881f5ecd6a2dd0a4fe2dfcec14fc6e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6890081369915659521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_35_5583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fd8d13deecb11f9689641f22ff7a88c.jpg","text":"TemporaryFile(/tmp/multipartBody4283348747642381192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737536966537,"filename":"image_22012025_10_08_23_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552044","file1":"1330551913","file0":"1330551910","file4":"1330552182","file5":"1330552201","file3":"1330552159"},"map_files_photo_id_array":[{"photo_id":"1330552201","filename":"file5"},{"photo_id":"1330552044","filename":"file2"},{"photo_id":"1330552182","filename":"file4"},{"photo_id":"1330551913","filename":"file1"},{"photo_id":"1330551910","filename":"file0"},{"photo_id":"1330552159","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552182":["hashtag1","hashtag2"]},{"1330551910":["hashtag1","hashtag2"]},{"1330552044":["hashtag1","hashtag2"]},{"1330551913":["hashtag1","hashtag2"]},{"1330552159":["hashtag1","hashtag2"]},{"1330552201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552182, 1330551910, 1330552044, 1330551913, 1330552159, 1330552201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29632782936096 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 10:09:04.325362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/08/image_22012025_10_08_16_5223.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_11_6140.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_05_5729.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_59_6424.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_17_5236.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_11_6940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/08/image_22012025_10_08_16_5223.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_11_6140.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_05_5729.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_59_6424.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_17_5236.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_11_6940.jpg
2025-01-22 10:09:04.644400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/08/image_22012025_10_08_16_5223.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_11_6140.jpg', '/media/data/images/22012025/10/08/image_22012025_10_08_05_5729.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_59_6424.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_17_5236.jpg', '/media/data/images/22012025/10/07/image_22012025_10_07_11_6940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/08/image_22012025_10_08_16_5223.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_11_6140.jpg
/media/data/images/22012025/10/08/image_22012025_10_08_05_5729.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_59_6424.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_17_5236.jpg
/media/data/images/22012025/10/07/image_22012025_10_07_11_6940.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":["1330552422","1330552385","1330552427","1330552390","1330552375","1330552395"],"photo_ids_order":["1330552375","1330552385","1330552390","1330552395","1330552422","1330552427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c3bc3e874899ad9b84e1388e927e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody72754064601397072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_07_17_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/22/6d8775f0dc9426714285691ce1c85ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6772622233822760829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_08_11_6140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a6feb057110641997beec6da491e74d1.jpg","text":"TemporaryFile(/tmp/multipartBody6118053054840436236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_07_11_6940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d9c9537646446e2a9fd4096ca38be865.jpg","text":"TemporaryFile(/tmp/multipartBody3710231496243329288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_08_05_5729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83c7b26d04e95b104f3481344bde6c26.jpg","text":"TemporaryFile(/tmp/multipartBody7747706274361483916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_08_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/22/0b71d925b6cef45932e40df8dad7203a.jpg","text":"TemporaryFile(/tmp/multipartBody6238632888689709791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537019110,"filename":"image_22012025_10_07_59_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552390","file1":"1330552385","file0":"1330552375","file4":"1330552422","file5":"1330552427","file3":"1330552395"},"map_files_photo_id_array":[{"photo_id":"1330552427","filename":"file5"},{"photo_id":"1330552390","filename":"file2"},{"photo_id":"1330552422","filename":"file4"},{"photo_id":"1330552385","filename":"file1"},{"photo_id":"1330552375","filename":"file0"},{"photo_id":"1330552395","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552422":["hashtag1","hashtag2"]},{"1330552385":["hashtag1","hashtag2"]},{"1330552427":["hashtag1","hashtag2"]},{"1330552390":["hashtag1","hashtag2"]},{"1330552375":["hashtag1","hashtag2"]},{"1330552395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552422, 1330552385, 1330552427, 1330552390, 1330552375, 1330552395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.512930393218994 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552386","1330552428","1330552391","1330552396","1330552378","1330552423"],"photo_ids_order":["1330552378","1330552386","1330552391","1330552396","1330552423","1330552428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70246b6a7e0c3dacef6236a4c9c9a4c7.jpg","text":"TemporaryFile(/tmp/multipartBody1804842342370999786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_08_11_6140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e316fb1e4e3896f7d23ac67e6ea6af30.jpg","text":"TemporaryFile(/tmp/multipartBody1417326277317946258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_07_11_6940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2ce16edafdfda741a306ec2d4fff82e1.jpg","text":"TemporaryFile(/tmp/multipartBody4241103187903726366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_08_05_5729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/62bf4c49e90e23a90bd2d7b31841e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2478244793046606811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_07_59_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/22/3405e0eb90122066b0029ac556ba988e.jpg","text":"TemporaryFile(/tmp/multipartBody5143673121730928765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_08_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/22/a4984cf1da4a8f63b218ed27214afc48.jpg","text":"TemporaryFile(/tmp/multipartBody1430000106972050389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537021608,"filename":"image_22012025_10_07_17_5236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552391","file1":"1330552386","file0":"1330552378","file4":"1330552423","file5":"1330552428","file3":"1330552396"},"map_files_photo_id_array":[{"photo_id":"1330552428","filename":"file5"},{"photo_id":"1330552391","filename":"file2"},{"photo_id":"1330552423","filename":"file4"},{"photo_id":"1330552386","filename":"file1"},{"photo_id":"1330552378","filename":"file0"},{"photo_id":"1330552396","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552386":["hashtag1","hashtag2"]},{"1330552428":["hashtag1","hashtag2"]},{"1330552391":["hashtag1","hashtag2"]},{"1330552396":["hashtag1","hashtag2"]},{"1330552378":["hashtag1","hashtag2"]},{"1330552423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552386, 1330552428, 1330552391, 1330552396, 1330552378, 1330552423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.22058057785034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:10:03.585812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/09/image_22012025_10_09_53_6357.jpg', '/media/data/images/22012025/10/09/image_22012025_10_09_46_5204.jpg', '/media/data/images/22012025/10/09/image_22012025_10_09_41_6470.jpg', '/media/data/images/22012025/10/09/image_22012025_10_09_35_6393.jpg', '/media/data/images/22012025/10/09/image_22012025_10_09_28_5244.jpg', '/media/data/images/22012025/10/09/image_22012025_10_09_23_6417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/09/image_22012025_10_09_53_6357.jpg
/media/data/images/22012025/10/09/image_22012025_10_09_46_5204.jpg
/media/data/images/22012025/10/09/image_22012025_10_09_41_6470.jpg
/media/data/images/22012025/10/09/image_22012025_10_09_35_6393.jpg
/media/data/images/22012025/10/09/image_22012025_10_09_28_5244.jpg
/media/data/images/22012025/10/09/image_22012025_10_09_23_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":["1330552470","1330552458","1330552475","1330552466","1330552477","1330552482"],"photo_ids_order":["1330552458","1330552466","1330552470","1330552475","1330552477","1330552482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/155ab51735d7a5106d3b0612db16b978.jpg","text":"TemporaryFile(/tmp/multipartBody859624572625216947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_41_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/22/5e360b06f07a489a86453d47962aaa28.jpg","text":"TemporaryFile(/tmp/multipartBody8642957006781225362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_53_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/22/1bcf9fdf0b066042dc567286fb4c0328.jpg","text":"TemporaryFile(/tmp/multipartBody4989218375051486671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_35_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/22/7f1d0e5f269b36c8229239d44ccf33ab.jpg","text":"TemporaryFile(/tmp/multipartBody7778356071474472354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_46_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/22/008ac23d521742694fb2695ced48b2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4582865624150370042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_28_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/22/5a99af94bcfdfac045d21294598f8769.jpg","text":"TemporaryFile(/tmp/multipartBody3632145179189416667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537071285,"filename":"image_22012025_10_09_23_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552470","file1":"1330552466","file0":"1330552458","file4":"1330552477","file5":"1330552482","file3":"1330552475"},"map_files_photo_id_array":[{"photo_id":"1330552482","filename":"file5"},{"photo_id":"1330552470","filename":"file2"},{"photo_id":"1330552477","filename":"file4"},{"photo_id":"1330552466","filename":"file1"},{"photo_id":"1330552458","filename":"file0"},{"photo_id":"1330552475","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552470":["hashtag1","hashtag2"]},{"1330552458":["hashtag1","hashtag2"]},{"1330552475":["hashtag1","hashtag2"]},{"1330552466":["hashtag1","hashtag2"]},{"1330552477":["hashtag1","hashtag2"]},{"1330552482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552470, 1330552458, 1330552475, 1330552466, 1330552477, 1330552482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78527021408081 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:11:03.731464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/10/image_22012025_10_10_53_5210.jpg', '/media/data/images/22012025/10/10/image_22012025_10_10_47_6419.jpg', '/media/data/images/22012025/10/10/image_22012025_10_10_41_6467.jpg', '/media/data/images/22012025/10/10/image_22012025_10_10_35_5226.jpg', '/media/data/images/22012025/10/10/image_22012025_10_10_29_6599.jpg', '/media/data/images/22012025/10/10/image_22012025_10_10_23_6269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/10/image_22012025_10_10_53_5210.jpg
/media/data/images/22012025/10/10/image_22012025_10_10_47_6419.jpg
/media/data/images/22012025/10/10/image_22012025_10_10_41_6467.jpg
/media/data/images/22012025/10/10/image_22012025_10_10_35_5226.jpg
/media/data/images/22012025/10/10/image_22012025_10_10_29_6599.jpg
/media/data/images/22012025/10/10/image_22012025_10_10_23_6269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552515","1330552524","1330552511","1330552508","1330552531","1330552519"],"photo_ids_order":["1330552508","1330552511","1330552515","1330552519","1330552524","1330552531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/53ab00a70c4ef3c1ad2e9bc41ead1fd7.jpg","text":"TemporaryFile(/tmp/multipartBody3129803942106837020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_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/22/283358a40cc79e49ab9c96c7b3b95fcd.jpg","text":"TemporaryFile(/tmp/multipartBody7495145735054104256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_29_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/22/6dfd2a4f1ad7086cbc1fab7e3adf289a.jpg","text":"TemporaryFile(/tmp/multipartBody3387064284815682934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_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/22/94c9ea4f676731bd4d94c567ed611a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2951205255054902304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_53_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/22/8205a769f74f4d8c1586f9d316936fef.jpg","text":"TemporaryFile(/tmp/multipartBody5429678264452277959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_23_6269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a42fd4b5e59c89a38a6b47434337c84f.jpg","text":"TemporaryFile(/tmp/multipartBody3186072179772000143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537133342,"filename":"image_22012025_10_10_35_5226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552515","file1":"1330552511","file0":"1330552508","file4":"1330552524","file5":"1330552531","file3":"1330552519"},"map_files_photo_id_array":[{"photo_id":"1330552531","filename":"file5"},{"photo_id":"1330552515","filename":"file2"},{"photo_id":"1330552524","filename":"file4"},{"photo_id":"1330552511","filename":"file1"},{"photo_id":"1330552508","filename":"file0"},{"photo_id":"1330552519","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552515":["hashtag1","hashtag2"]},{"1330552524":["hashtag1","hashtag2"]},{"1330552511":["hashtag1","hashtag2"]},{"1330552508":["hashtag1","hashtag2"]},{"1330552531":["hashtag1","hashtag2"]},{"1330552519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552515, 1330552524, 1330552511, 1330552508, 1330552531, 1330552519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85336518287659 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:12:03.050126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/11/image_22012025_10_11_52_5206.jpg', '/media/data/images/22012025/10/11/image_22012025_10_11_47_6519.jpg', '/media/data/images/22012025/10/11/image_22012025_10_11_41_5218.jpg', '/media/data/images/22012025/10/11/image_22012025_10_11_35_6469.jpg', '/media/data/images/22012025/10/11/image_22012025_10_11_29_6449.jpg', '/media/data/images/22012025/10/11/image_22012025_10_11_22_5242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/11/image_22012025_10_11_52_5206.jpg
/media/data/images/22012025/10/11/image_22012025_10_11_47_6519.jpg
/media/data/images/22012025/10/11/image_22012025_10_11_41_5218.jpg
/media/data/images/22012025/10/11/image_22012025_10_11_35_6469.jpg
/media/data/images/22012025/10/11/image_22012025_10_11_29_6449.jpg
/media/data/images/22012025/10/11/image_22012025_10_11_22_5242.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.27914023399353 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:12:21.913132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/12/image_22012025_10_12_53_6409.jpg', '/media/data/images/22012025/10/12/image_22012025_10_12_47_6450.jpg', '/media/data/images/22012025/10/12/image_22012025_10_12_40_5202.jpg', '/media/data/images/22012025/10/12/image_22012025_10_12_35_6422.jpg', '/media/data/images/22012025/10/12/image_22012025_10_12_29_6448.jpg', '/media/data/images/22012025/10/12/image_22012025_10_12_22_5501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/12/image_22012025_10_12_53_6409.jpg
/media/data/images/22012025/10/12/image_22012025_10_12_47_6450.jpg
/media/data/images/22012025/10/12/image_22012025_10_12_40_5202.jpg
/media/data/images/22012025/10/12/image_22012025_10_12_35_6422.jpg
/media/data/images/22012025/10/12/image_22012025_10_12_29_6448.jpg
/media/data/images/22012025/10/12/image_22012025_10_12_22_5501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552638","1330552707","1330552678","1330552720","1330552657","1330552692"],"photo_ids_order":["1330552638","1330552657","1330552678","1330552692","1330552707","1330552720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76994e6484860061b4fd4fd012d2e6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7041569644145840969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_53_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/22/822e9b79d0069e2a28535fa60b85358f.jpg","text":"TemporaryFile(/tmp/multipartBody1080804495276208542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_29_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/22/2b4db69922501cb90e641f3823b44964.jpg","text":"TemporaryFile(/tmp/multipartBody6662066311560101482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_40_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/22/45e3d8ff7a1f4b87b3e610666499a565.jpg","text":"TemporaryFile(/tmp/multipartBody6431192496474092194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_22_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11fa95f267950db3dd9a92227e753503.jpg","text":"TemporaryFile(/tmp/multipartBody7513200374667393300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_47_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/22/d3bd5190669d716687b6286195e224c6.jpg","text":"TemporaryFile(/tmp/multipartBody848307055301850855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537211875,"filename":"image_22012025_10_12_35_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552678","file1":"1330552657","file0":"1330552638","file4":"1330552707","file5":"1330552720","file3":"1330552692"},"map_files_photo_id_array":[{"photo_id":"1330552720","filename":"file5"},{"photo_id":"1330552678","filename":"file2"},{"photo_id":"1330552707","filename":"file4"},{"photo_id":"1330552657","filename":"file1"},{"photo_id":"1330552638","filename":"file0"},{"photo_id":"1330552692","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552638":["hashtag1","hashtag2"]},{"1330552707":["hashtag1","hashtag2"]},{"1330552678":["hashtag1","hashtag2"]},{"1330552720":["hashtag1","hashtag2"]},{"1330552657":["hashtag1","hashtag2"]},{"1330552692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552638, 1330552707, 1330552678, 1330552720, 1330552657, 1330552692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.676356077194214 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:13:21.915794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/13/image_22012025_10_13_53_6362.jpg', '/media/data/images/22012025/10/13/image_22012025_10_13_47_6379.jpg', '/media/data/images/22012025/10/13/image_22012025_10_13_40_5263.jpg', '/media/data/images/22012025/10/13/image_22012025_10_13_35_6609.jpg', '/media/data/images/22012025/10/13/image_22012025_10_13_29_4548.jpg', '/media/data/images/22012025/10/13/image_22012025_10_13_24_7041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/13/image_22012025_10_13_53_6362.jpg
/media/data/images/22012025/10/13/image_22012025_10_13_47_6379.jpg
/media/data/images/22012025/10/13/image_22012025_10_13_40_5263.jpg
/media/data/images/22012025/10/13/image_22012025_10_13_35_6609.jpg
/media/data/images/22012025/10/13/image_22012025_10_13_29_4548.jpg
/media/data/images/22012025/10/13/image_22012025_10_13_24_7041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552764","1330552775","1330552798","1330552783","1330552771","1330552791"],"photo_ids_order":["1330552764","1330552771","1330552775","1330552783","1330552791","1330552798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0532c8a7b1bb69da9e3a22a97d3d9b57.jpg","text":"TemporaryFile(/tmp/multipartBody3995057031349424866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_53_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/22/44d3c8a2c6cd8ac04fb24d7cb22d1c65.jpg","text":"TemporaryFile(/tmp/multipartBody6922820878058163636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_40_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/22/92ea7cb62382b77510b80224727f7edc.jpg","text":"TemporaryFile(/tmp/multipartBody425887754047917135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_24_7041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3802034d2d40467bf5d9058e0e9fb924.jpg","text":"TemporaryFile(/tmp/multipartBody7707967367492759741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_35_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/22/b9bc8cfea98207dfefa46665bb35cf84.jpg","text":"TemporaryFile(/tmp/multipartBody821994718184587806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_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/22/19ceaaa52ce248902d1d963dc8e56cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5930435926035895786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537270933,"filename":"image_22012025_10_13_29_4548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552775","file1":"1330552771","file0":"1330552764","file4":"1330552791","file5":"1330552798","file3":"1330552783"},"map_files_photo_id_array":[{"photo_id":"1330552798","filename":"file5"},{"photo_id":"1330552775","filename":"file2"},{"photo_id":"1330552791","filename":"file4"},{"photo_id":"1330552771","filename":"file1"},{"photo_id":"1330552764","filename":"file0"},{"photo_id":"1330552783","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552764":["hashtag1","hashtag2"]},{"1330552775":["hashtag1","hashtag2"]},{"1330552798":["hashtag1","hashtag2"]},{"1330552783":["hashtag1","hashtag2"]},{"1330552771":["hashtag1","hashtag2"]},{"1330552791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552764, 1330552775, 1330552798, 1330552783, 1330552771, 1330552791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2676317691803 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:14:22.147331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/14/image_22012025_10_14_53_6447.jpg', '/media/data/images/22012025/10/14/image_22012025_10_14_47_6449.jpg', '/media/data/images/22012025/10/14/image_22012025_10_14_41_5202.jpg', '/media/data/images/22012025/10/14/image_22012025_10_14_35_6067.jpg', '/media/data/images/22012025/10/14/image_22012025_10_14_30_6194.jpg', '/media/data/images/22012025/10/14/image_22012025_10_14_24_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/14/image_22012025_10_14_53_6447.jpg
/media/data/images/22012025/10/14/image_22012025_10_14_47_6449.jpg
/media/data/images/22012025/10/14/image_22012025_10_14_41_5202.jpg
/media/data/images/22012025/10/14/image_22012025_10_14_35_6067.jpg
/media/data/images/22012025/10/14/image_22012025_10_14_30_6194.jpg
/media/data/images/22012025/10/14/image_22012025_10_14_24_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":["1330552854","1330552866","1330552845","1330552835","1330552861","1330552840"],"photo_ids_order":["1330552835","1330552840","1330552845","1330552854","1330552861","1330552866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9e430171e0f332a34773064e9a9b01fa.jpg","text":"TemporaryFile(/tmp/multipartBody6750814345911152030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_35_6067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e70ceaedbee3d4cecb527c80f33b25a.jpg","text":"TemporaryFile(/tmp/multipartBody4254808389260860530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_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/22/7a824d6f9e98338e6482f7eea2f7d6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6552858450983692526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_41_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/22/a1436df50a8d5b48298697a7833adc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1781391309243434399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_53_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/22/5e2eb0007e24293a0b40cdd3508659c5.jpg","text":"TemporaryFile(/tmp/multipartBody6751363983188665830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_30_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/22/5ec6afc5817450b4883cf5ca8a966636.jpg","text":"TemporaryFile(/tmp/multipartBody5351010615983956755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537330440,"filename":"image_22012025_10_14_47_6449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552845","file1":"1330552840","file0":"1330552835","file4":"1330552861","file5":"1330552866","file3":"1330552854"},"map_files_photo_id_array":[{"photo_id":"1330552866","filename":"file5"},{"photo_id":"1330552845","filename":"file2"},{"photo_id":"1330552861","filename":"file4"},{"photo_id":"1330552840","filename":"file1"},{"photo_id":"1330552835","filename":"file0"},{"photo_id":"1330552854","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552854":["hashtag1","hashtag2"]},{"1330552866":["hashtag1","hashtag2"]},{"1330552845":["hashtag1","hashtag2"]},{"1330552835":["hashtag1","hashtag2"]},{"1330552861":["hashtag1","hashtag2"]},{"1330552840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552854, 1330552866, 1330552845, 1330552835, 1330552861, 1330552840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.281702280044556 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:15:22.239451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/15/image_22012025_10_15_53_6410.jpg', '/media/data/images/22012025/10/15/image_22012025_10_15_46_5179.jpg', '/media/data/images/22012025/10/15/image_22012025_10_15_41_6483.jpg', '/media/data/images/22012025/10/15/image_22012025_10_15_35_6402.jpg', '/media/data/images/22012025/10/15/image_22012025_10_15_29_4481.jpg', '/media/data/images/22012025/10/15/image_22012025_10_15_24_6955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/15/image_22012025_10_15_53_6410.jpg
/media/data/images/22012025/10/15/image_22012025_10_15_46_5179.jpg
/media/data/images/22012025/10/15/image_22012025_10_15_41_6483.jpg
/media/data/images/22012025/10/15/image_22012025_10_15_35_6402.jpg
/media/data/images/22012025/10/15/image_22012025_10_15_29_4481.jpg
/media/data/images/22012025/10/15/image_22012025_10_15_24_6955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330552905","1330552913","1330552901","1330552925","1330552909","1330552918"],"photo_ids_order":["1330552901","1330552905","1330552909","1330552913","1330552918","1330552925"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7357bc8b6ce0207e84258f2b1b1339a.jpg","text":"TemporaryFile(/tmp/multipartBody1483007132757251801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_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/22/45745008e4f5e6e5ab065d8c0f255a6f.jpg","text":"TemporaryFile(/tmp/multipartBody1849295462336762960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_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/22/ba3b2952687d797120dbc7f848c49865.jpg","text":"TemporaryFile(/tmp/multipartBody7827127614373875174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_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/22/bae1e7a68e961b6dcbf1c338f5fae2ec.jpg","text":"TemporaryFile(/tmp/multipartBody1497495162576367610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_24_6955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b97fd7a1b441b4fc32c9672b7f2312fc.jpg","text":"TemporaryFile(/tmp/multipartBody8806780468661011556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_41_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/22/932c79118773fe9a7a13a5287ca9d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody2420341062651464670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537389482,"filename":"image_22012025_10_15_29_4481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552909","file1":"1330552905","file0":"1330552901","file4":"1330552918","file5":"1330552925","file3":"1330552913"},"map_files_photo_id_array":[{"photo_id":"1330552925","filename":"file5"},{"photo_id":"1330552909","filename":"file2"},{"photo_id":"1330552918","filename":"file4"},{"photo_id":"1330552905","filename":"file1"},{"photo_id":"1330552901","filename":"file0"},{"photo_id":"1330552913","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330552905":["hashtag1","hashtag2"]},{"1330552913":["hashtag1","hashtag2"]},{"1330552901":["hashtag1","hashtag2"]},{"1330552925":["hashtag1","hashtag2"]},{"1330552909":["hashtag1","hashtag2"]},{"1330552918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330552905, 1330552913, 1330552901, 1330552925, 1330552909, 1330552918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71228837966919 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:16:22.387095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/16/image_22012025_10_16_53_6456.jpg', '/media/data/images/22012025/10/16/image_22012025_10_16_47_5197.jpg', '/media/data/images/22012025/10/16/image_22012025_10_16_41_6454.jpg', '/media/data/images/22012025/10/16/image_22012025_10_16_35_5274.jpg', '/media/data/images/22012025/10/16/image_22012025_10_16_30_6530.jpg', '/media/data/images/22012025/10/16/image_22012025_10_16_24_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/16/image_22012025_10_16_53_6456.jpg
/media/data/images/22012025/10/16/image_22012025_10_16_47_5197.jpg
/media/data/images/22012025/10/16/image_22012025_10_16_41_6454.jpg
/media/data/images/22012025/10/16/image_22012025_10_16_35_5274.jpg
/media/data/images/22012025/10/16/image_22012025_10_16_30_6530.jpg
/media/data/images/22012025/10/16/image_22012025_10_16_24_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":["1330553025","1330553019","1330552988","1330553003","1330552993","1330552998"],"photo_ids_order":["1330552988","1330552993","1330552998","1330553003","1330553019","1330553025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0de5b82cc71eef44866e018456b721dc.jpg","text":"TemporaryFile(/tmp/multipartBody7507644729797014697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_24_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/22/31e9a90523afb4437e9ec898dd50daaf.jpg","text":"TemporaryFile(/tmp/multipartBody6661001742280294741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_30_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/22/e6efc33662663616f28111abe6704e5b.jpg","text":"TemporaryFile(/tmp/multipartBody5386639458663159342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_53_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/22/92823978a28a066491aa22ac94b0573c.jpg","text":"TemporaryFile(/tmp/multipartBody6650801387048272027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_35_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/22/0462514cb6d011748eae4cfcfd833177.jpg","text":"TemporaryFile(/tmp/multipartBody7047875476456368111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_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/22/bb78f49ff20ee42ec81997f01327810b.jpg","text":"TemporaryFile(/tmp/multipartBody2027235906794614792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537452998,"filename":"image_22012025_10_16_41_6454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330552998","file1":"1330552993","file0":"1330552988","file4":"1330553019","file5":"1330553025","file3":"1330553003"},"map_files_photo_id_array":[{"photo_id":"1330553025","filename":"file5"},{"photo_id":"1330552998","filename":"file2"},{"photo_id":"1330553019","filename":"file4"},{"photo_id":"1330552993","filename":"file1"},{"photo_id":"1330552988","filename":"file0"},{"photo_id":"1330553003","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330553025":["hashtag1","hashtag2"]},{"1330553019":["hashtag1","hashtag2"]},{"1330552988":["hashtag1","hashtag2"]},{"1330553003":["hashtag1","hashtag2"]},{"1330552993":["hashtag1","hashtag2"]},{"1330552998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330553025, 1330553019, 1330552988, 1330553003, 1330552993, 1330552998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.362619161605835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:17:22.504823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/17/image_22012025_10_17_53_6397.jpg', '/media/data/images/22012025/10/17/image_22012025_10_17_47_5209.jpg', '/media/data/images/22012025/10/17/image_22012025_10_17_41_6391.jpg', '/media/data/images/22012025/10/17/image_22012025_10_17_35_5293.jpg', '/media/data/images/22012025/10/17/image_22012025_10_17_30_6200.jpg', '/media/data/images/22012025/10/17/image_22012025_10_17_24_6601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/17/image_22012025_10_17_53_6397.jpg
/media/data/images/22012025/10/17/image_22012025_10_17_47_5209.jpg
/media/data/images/22012025/10/17/image_22012025_10_17_41_6391.jpg
/media/data/images/22012025/10/17/image_22012025_10_17_35_5293.jpg
/media/data/images/22012025/10/17/image_22012025_10_17_30_6200.jpg
/media/data/images/22012025/10/17/image_22012025_10_17_24_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":["1330553136","1330553106","1330553084","1330553111","1330553068","1330553127"],"photo_ids_order":["1330553068","1330553084","1330553106","1330553111","1330553127","1330553136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cbb91bae2390b34340fb9548a52abc80.jpg","text":"TemporaryFile(/tmp/multipartBody5775740351561006410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_24_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/22/4dbbb6987e79f8b1cbf94bc2b22020ff.jpg","text":"TemporaryFile(/tmp/multipartBody2313341820852153659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_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/22/ae983d0c0804750e73dec7db9c938b02.jpg","text":"TemporaryFile(/tmp/multipartBody8786062237520756730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_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/22/897a39eaa41c2afb84ad002229235364.jpg","text":"TemporaryFile(/tmp/multipartBody4109380390000539376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_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/22/7d8cb145542542c2a5343ee7f8fa2bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1509395276990830760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_53_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/22/fcf6e18be14f5b2e1e8a04e2276a0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4320613269787441938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537510912,"filename":"image_22012025_10_17_30_6200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330553106","file1":"1330553084","file0":"1330553068","file4":"1330553127","file5":"1330553136","file3":"1330553111"},"map_files_photo_id_array":[{"photo_id":"1330553136","filename":"file5"},{"photo_id":"1330553106","filename":"file2"},{"photo_id":"1330553127","filename":"file4"},{"photo_id":"1330553084","filename":"file1"},{"photo_id":"1330553068","filename":"file0"},{"photo_id":"1330553111","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330553136":["hashtag1","hashtag2"]},{"1330553106":["hashtag1","hashtag2"]},{"1330553084":["hashtag1","hashtag2"]},{"1330553111":["hashtag1","hashtag2"]},{"1330553068":["hashtag1","hashtag2"]},{"1330553127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330553136, 1330553106, 1330553084, 1330553111, 1330553068, 1330553127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69979524612427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:18:22.664507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/18/image_22012025_10_18_52_5218.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_47_6429.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_41_6446.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_34_4479.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_30_6369.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_24_6500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/18/image_22012025_10_18_52_5218.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_47_6429.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_41_6446.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_34_4479.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_30_6369.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_24_6500.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.402324914932251 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:18:42.623971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/18/image_22012025_10_18_52_5218.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_47_6429.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_41_6446.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_34_4479.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_30_6369.jpg', '/media/data/images/22012025/10/18/image_22012025_10_18_24_6500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/18/image_22012025_10_18_52_5218.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_47_6429.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_41_6446.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_34_4479.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_30_6369.jpg
/media/data/images/22012025/10/18/image_22012025_10_18_24_6500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330553214","1330553276","1330553255","1330553249","1330553185","1330553199"],"photo_ids_order":["1330553185","1330553199","1330553214","1330553249","1330553255","1330553276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2d1236f3281e9c0b178fc4494c309d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6161713837208536329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_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/22/d23d3794bef1e8c97b8b66bc1911d1f9.jpg","text":"TemporaryFile(/tmp/multipartBody1879311642281413612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_24_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/22/f13a953e9713c2476473a77a77bd5eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2361660409482911764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_30_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/22/cf526216eff36bbcb3e759333cbdd798.jpg","text":"TemporaryFile(/tmp/multipartBody2872500544756427433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_34_4479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1533e7f6843cca00cad3e2c6a47de03f.jpg","text":"TemporaryFile(/tmp/multipartBody8070363094762579274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_52_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/22/913b7bcba38259c758d4fb9a108a83c8.jpg","text":"TemporaryFile(/tmp/multipartBody2633567822147064863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537589602,"filename":"image_22012025_10_18_47_6429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330553214","file1":"1330553199","file0":"1330553185","file4":"1330553255","file5":"1330553276","file3":"1330553249"},"map_files_photo_id_array":[{"photo_id":"1330553276","filename":"file5"},{"photo_id":"1330553214","filename":"file2"},{"photo_id":"1330553255","filename":"file4"},{"photo_id":"1330553199","filename":"file1"},{"photo_id":"1330553185","filename":"file0"},{"photo_id":"1330553249","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330553214":["hashtag1","hashtag2"]},{"1330553276":["hashtag1","hashtag2"]},{"1330553255":["hashtag1","hashtag2"]},{"1330553249":["hashtag1","hashtag2"]},{"1330553185":["hashtag1","hashtag2"]},{"1330553199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330553214, 1330553276, 1330553255, 1330553249, 1330553185, 1330553199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85155749320984 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:19:42.778219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/19/image_22012025_10_19_53_6608.jpg', '/media/data/images/22012025/10/19/image_22012025_10_19_47_6325.jpg', '/media/data/images/22012025/10/19/image_22012025_10_19_40_5206.jpg', '/media/data/images/22012025/10/19/image_22012025_10_19_35_6927.jpg', '/media/data/images/22012025/10/19/image_22012025_10_19_29_5739.jpg', '/media/data/images/22012025/10/19/image_22012025_10_19_23_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/19/image_22012025_10_19_53_6608.jpg
/media/data/images/22012025/10/19/image_22012025_10_19_47_6325.jpg
/media/data/images/22012025/10/19/image_22012025_10_19_40_5206.jpg
/media/data/images/22012025/10/19/image_22012025_10_19_35_6927.jpg
/media/data/images/22012025/10/19/image_22012025_10_19_29_5739.jpg
/media/data/images/22012025/10/19/image_22012025_10_19_23_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":["1330553869","1330553854","1330553863","1330553857","1330553850","1330553874"],"photo_ids_order":["1330553850","1330553854","1330553857","1330553863","1330553869","1330553874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/46e691e47bac70da1848681434420c71.jpg","text":"TemporaryFile(/tmp/multipartBody3146573971425813554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_29_5739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e545a78684de5c3ea7fba546f93bd0c.jpg","text":"TemporaryFile(/tmp/multipartBody6914771151458691591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_47_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/22/6526b697c4cc7346e7aee63489f73c48.jpg","text":"TemporaryFile(/tmp/multipartBody1116096482803515743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_35_6927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2167ccd9cda36f162350132b22e71472.jpg","text":"TemporaryFile(/tmp/multipartBody891007369137335065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_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/22/6d2f4da7c276e937546012a1c42bd507.jpg","text":"TemporaryFile(/tmp/multipartBody5248713613432581863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_53_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/22/6c61230a366aae8e51411133469bd2b2.jpg","text":"TemporaryFile(/tmp/multipartBody636660361198152551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537651742,"filename":"image_22012025_10_19_23_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330553857","file1":"1330553854","file0":"1330553850","file4":"1330553869","file5":"1330553874","file3":"1330553863"},"map_files_photo_id_array":[{"photo_id":"1330553874","filename":"file5"},{"photo_id":"1330553857","filename":"file2"},{"photo_id":"1330553869","filename":"file4"},{"photo_id":"1330553854","filename":"file1"},{"photo_id":"1330553850","filename":"file0"},{"photo_id":"1330553863","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330553869":["hashtag1","hashtag2"]},{"1330553854":["hashtag1","hashtag2"]},{"1330553863":["hashtag1","hashtag2"]},{"1330553857":["hashtag1","hashtag2"]},{"1330553850":["hashtag1","hashtag2"]},{"1330553874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330553869, 1330553854, 1330553863, 1330553857, 1330553850, 1330553874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.76236963272095 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:20:41.946463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/20/image_22012025_10_20_52_4508.jpg', '/media/data/images/22012025/10/20/image_22012025_10_20_48_6447.jpg', '/media/data/images/22012025/10/20/image_22012025_10_20_41_6405.jpg', '/media/data/images/22012025/10/20/image_22012025_10_20_35_6433.jpg', '/media/data/images/22012025/10/20/image_22012025_10_20_29_5210.jpg', '/media/data/images/22012025/10/20/image_22012025_10_20_23_6428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/20/image_22012025_10_20_52_4508.jpg
/media/data/images/22012025/10/20/image_22012025_10_20_48_6447.jpg
/media/data/images/22012025/10/20/image_22012025_10_20_41_6405.jpg
/media/data/images/22012025/10/20/image_22012025_10_20_35_6433.jpg
/media/data/images/22012025/10/20/image_22012025_10_20_29_5210.jpg
/media/data/images/22012025/10/20/image_22012025_10_20_23_6428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554224","1330554218","1330554250","1330554232","1330554241","1330554211"],"photo_ids_order":["1330554211","1330554218","1330554224","1330554232","1330554241","1330554250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/efd7378fa1aa72bf8aa51ed1244316c3.jpg","text":"TemporaryFile(/tmp/multipartBody1887641670549174466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_41_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/22/75b00ff2d8b7a59b12ba2830b8191e02.jpg","text":"TemporaryFile(/tmp/multipartBody5072812949438698873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_48_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/22/ebd47be42d62676a11e035859a3b5fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3289971532786125512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_23_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/22/b144643ffebdaf62a328116af73e09ae.jpg","text":"TemporaryFile(/tmp/multipartBody3137326494453639455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_35_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/22/901d5fb2ad7b63e4046e30edfbfe8341.jpg","text":"TemporaryFile(/tmp/multipartBody4279880134218879599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_29_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/22/350e801cf0e3a14a19e55dec7e6fcb75.jpg","text":"TemporaryFile(/tmp/multipartBody5068701875827970553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537710601,"filename":"image_22012025_10_20_52_4508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554224","file1":"1330554218","file0":"1330554211","file4":"1330554241","file5":"1330554250","file3":"1330554232"},"map_files_photo_id_array":[{"photo_id":"1330554250","filename":"file5"},{"photo_id":"1330554224","filename":"file2"},{"photo_id":"1330554241","filename":"file4"},{"photo_id":"1330554218","filename":"file1"},{"photo_id":"1330554211","filename":"file0"},{"photo_id":"1330554232","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554224":["hashtag1","hashtag2"]},{"1330554218":["hashtag1","hashtag2"]},{"1330554250":["hashtag1","hashtag2"]},{"1330554232":["hashtag1","hashtag2"]},{"1330554241":["hashtag1","hashtag2"]},{"1330554211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554224, 1330554218, 1330554250, 1330554232, 1330554241, 1330554211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.708104372024536 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:21:42.028803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/21/image_22012025_10_21_53_6182.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_47_6509.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_41_5239.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_35_6443.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_29_6397.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_22_5228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/21/image_22012025_10_21_53_6182.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_47_6509.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_41_5239.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_35_6443.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_29_6397.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_22_5228.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.793240785598755 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:22:03.525083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/21/image_22012025_10_21_53_6182.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_47_6509.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_41_5239.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_35_6443.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_29_6397.jpg', '/media/data/images/22012025/10/21/image_22012025_10_21_22_5228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/21/image_22012025_10_21_53_6182.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_47_6509.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_41_5239.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_35_6443.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_29_6397.jpg
/media/data/images/22012025/10/21/image_22012025_10_21_22_5228.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554307","1330554316","1330554301","1330554304","1330554312","1330554309"],"photo_ids_order":["1330554301","1330554304","1330554307","1330554309","1330554312","1330554316"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/74e7b8201b2440728c53c019648a1cee.jpg","text":"TemporaryFile(/tmp/multipartBody2224731742029109043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_41_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/22/449a462e40e686203d797de4639620f6.jpg","text":"TemporaryFile(/tmp/multipartBody8226766844851288165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_22_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/22/936af5dd58a23a7244bf7e8739c34d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5857197714381006377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_53_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/22/7a168a7edb3b53659a32d5578d9d0286.jpg","text":"TemporaryFile(/tmp/multipartBody8656756957790522841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_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/22/c26397bfc300dee52593f29eca5ea7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6429113252778710871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_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/22/658f86c1d3735a71adfea1b1b2c9f822.jpg","text":"TemporaryFile(/tmp/multipartBody6949404314560803539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537789682,"filename":"image_22012025_10_21_35_6443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554307","file1":"1330554304","file0":"1330554301","file4":"1330554312","file5":"1330554316","file3":"1330554309"},"map_files_photo_id_array":[{"photo_id":"1330554316","filename":"file5"},{"photo_id":"1330554307","filename":"file2"},{"photo_id":"1330554312","filename":"file4"},{"photo_id":"1330554304","filename":"file1"},{"photo_id":"1330554301","filename":"file0"},{"photo_id":"1330554309","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554307":["hashtag1","hashtag2"]},{"1330554316":["hashtag1","hashtag2"]},{"1330554301":["hashtag1","hashtag2"]},{"1330554304":["hashtag1","hashtag2"]},{"1330554312":["hashtag1","hashtag2"]},{"1330554309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554307, 1330554316, 1330554301, 1330554304, 1330554312, 1330554309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.506300926208496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:23:03.582046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/22/image_22012025_10_22_53_6325.jpg', '/media/data/images/22012025/10/22/image_22012025_10_22_47_6215.jpg', '/media/data/images/22012025/10/22/image_22012025_10_22_40_5235.jpg', '/media/data/images/22012025/10/22/image_22012025_10_22_35_6473.jpg', '/media/data/images/22012025/10/22/image_22012025_10_22_29_5184.jpg', '/media/data/images/22012025/10/22/image_22012025_10_22_23_6425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/22/image_22012025_10_22_53_6325.jpg
/media/data/images/22012025/10/22/image_22012025_10_22_47_6215.jpg
/media/data/images/22012025/10/22/image_22012025_10_22_40_5235.jpg
/media/data/images/22012025/10/22/image_22012025_10_22_35_6473.jpg
/media/data/images/22012025/10/22/image_22012025_10_22_29_5184.jpg
/media/data/images/22012025/10/22/image_22012025_10_22_23_6425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554392","1330554413","1330554407","1330554418","1330554423","1330554426"],"photo_ids_order":["1330554392","1330554407","1330554413","1330554418","1330554423","1330554426"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8aa94051d96cfc4b3711fc4a6fe23798.jpg","text":"TemporaryFile(/tmp/multipartBody334648607171617604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_53_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/22/570a585d12173e181f1efe1be89a2f05.jpg","text":"TemporaryFile(/tmp/multipartBody3576947567362684637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_40_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/22/71242303cdbf1125aaf8d6050bffafa2.jpg","text":"TemporaryFile(/tmp/multipartBody5890181090773343981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_47_6215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60357b602d5fa95f417ad990b5ad7a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8748587479028398192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_35_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/22/eeb96b355566736a8f5b334df4a889cc.jpg","text":"TemporaryFile(/tmp/multipartBody4959986285100221311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_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/22/e3d1a0f18d11274ff71660196b114c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4821792252442041975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537854714,"filename":"image_22012025_10_22_23_6425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554413","file1":"1330554407","file0":"1330554392","file4":"1330554423","file5":"1330554426","file3":"1330554418"},"map_files_photo_id_array":[{"photo_id":"1330554426","filename":"file5"},{"photo_id":"1330554413","filename":"file2"},{"photo_id":"1330554423","filename":"file4"},{"photo_id":"1330554407","filename":"file1"},{"photo_id":"1330554392","filename":"file0"},{"photo_id":"1330554418","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554392":["hashtag1","hashtag2"]},{"1330554413":["hashtag1","hashtag2"]},{"1330554407":["hashtag1","hashtag2"]},{"1330554418":["hashtag1","hashtag2"]},{"1330554423":["hashtag1","hashtag2"]},{"1330554426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554392, 1330554413, 1330554407, 1330554418, 1330554423, 1330554426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9472930431366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 10:24:04.138757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/23/image_22012025_10_23_53_6428.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_47_6442.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_40_5195.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_35_6432.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_29_5237.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_23_6495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/23/image_22012025_10_23_53_6428.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_47_6442.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_40_5195.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_35_6432.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_29_5237.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_23_6495.jpg
2025-01-22 10:24:04.310303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/23/image_22012025_10_23_53_6428.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_47_6442.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_40_5195.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_35_6432.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_29_5237.jpg', '/media/data/images/22012025/10/23/image_22012025_10_23_23_6495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/23/image_22012025_10_23_53_6428.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_47_6442.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_40_5195.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_35_6432.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_29_5237.jpg
/media/data/images/22012025/10/23/image_22012025_10_23_23_6495.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":["1330554557","1330554517","1330554549","1330554540","1330554494","1330554482"],"photo_ids_order":["1330554482","1330554494","1330554517","1330554540","1330554549","1330554557"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3aff28d17f2f3097b140720d2fea6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2412015235595554869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_23_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/22/4cefb9a6f3fa92fc06ea69ec0cd5b69c.jpg","text":"TemporaryFile(/tmp/multipartBody5308210178039571751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_40_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/22/0387340b584829250be658d64a399d25.jpg","text":"TemporaryFile(/tmp/multipartBody8083004121397643433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_29_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/22/d2b20fc6366eeab703053315e4d2db5d.jpg","text":"TemporaryFile(/tmp/multipartBody2611041097167901980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_35_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/22/fb0caf9b8d78d21a94a79eea36c238c9.jpg","text":"TemporaryFile(/tmp/multipartBody6020393829857968014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_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/22/c1dfa7cb2d5bdac7ec80cde8f64fec57.jpg","text":"TemporaryFile(/tmp/multipartBody6553157492749666425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537913973,"filename":"image_22012025_10_23_53_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554517","file1":"1330554494","file0":"1330554482","file4":"1330554549","file5":"1330554557","file3":"1330554540"},"map_files_photo_id_array":[{"photo_id":"1330554557","filename":"file5"},{"photo_id":"1330554517","filename":"file2"},{"photo_id":"1330554549","filename":"file4"},{"photo_id":"1330554494","filename":"file1"},{"photo_id":"1330554482","filename":"file0"},{"photo_id":"1330554540","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554557":["hashtag1","hashtag2"]},{"1330554517":["hashtag1","hashtag2"]},{"1330554549":["hashtag1","hashtag2"]},{"1330554540":["hashtag1","hashtag2"]},{"1330554494":["hashtag1","hashtag2"]},{"1330554482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554557, 1330554517, 1330554549, 1330554540, 1330554494, 1330554482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5721218585968 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554563","1330554545","1330554554","1330554536","1330554511","1330554489"],"photo_ids_order":["1330554489","1330554511","1330554536","1330554545","1330554554","1330554563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2342e07f5d7a97e3c08b2ee9b5ce5b02.jpg","text":"TemporaryFile(/tmp/multipartBody4366311400980114292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_23_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/22/c87acd61d2f89fbeadec78253256cdef.jpg","text":"TemporaryFile(/tmp/multipartBody5927820091839789807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_35_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/22/3087f60896d5b85627dda6e858c214ea.jpg","text":"TemporaryFile(/tmp/multipartBody5086164031510644483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_29_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/22/04e487276bde037b821a07c6d637450d.jpg","text":"TemporaryFile(/tmp/multipartBody1046596667917732326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_40_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/22/64b1e1d3c64e1516c30ec824587b3159.jpg","text":"TemporaryFile(/tmp/multipartBody266126096532555746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_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/22/0292bfac77b2c9503901e4e6ad7ab196.jpg","text":"TemporaryFile(/tmp/multipartBody2745961607608241761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537916528,"filename":"image_22012025_10_23_53_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554536","file1":"1330554511","file0":"1330554489","file4":"1330554554","file5":"1330554563","file3":"1330554545"},"map_files_photo_id_array":[{"photo_id":"1330554563","filename":"file5"},{"photo_id":"1330554536","filename":"file2"},{"photo_id":"1330554554","filename":"file4"},{"photo_id":"1330554511","filename":"file1"},{"photo_id":"1330554489","filename":"file0"},{"photo_id":"1330554545","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554563":["hashtag1","hashtag2"]},{"1330554545":["hashtag1","hashtag2"]},{"1330554554":["hashtag1","hashtag2"]},{"1330554536":["hashtag1","hashtag2"]},{"1330554511":["hashtag1","hashtag2"]},{"1330554489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554563, 1330554545, 1330554554, 1330554536, 1330554511, 1330554489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.109660625457764 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:25:03.816177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/24/image_22012025_10_24_53_6499.jpg', '/media/data/images/22012025/10/24/image_22012025_10_24_47_6417.jpg', '/media/data/images/22012025/10/24/image_22012025_10_24_40_5178.jpg', '/media/data/images/22012025/10/24/image_22012025_10_24_35_6220.jpg', '/media/data/images/22012025/10/24/image_22012025_10_24_29_6464.jpg', '/media/data/images/22012025/10/24/image_22012025_10_24_22_5439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/24/image_22012025_10_24_53_6499.jpg
/media/data/images/22012025/10/24/image_22012025_10_24_47_6417.jpg
/media/data/images/22012025/10/24/image_22012025_10_24_40_5178.jpg
/media/data/images/22012025/10/24/image_22012025_10_24_35_6220.jpg
/media/data/images/22012025/10/24/image_22012025_10_24_29_6464.jpg
/media/data/images/22012025/10/24/image_22012025_10_24_22_5439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554662","1330554656","1330554839","1330554670","1330554684","1330554828"],"photo_ids_order":["1330554656","1330554662","1330554670","1330554684","1330554828","1330554839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d09d395a3c9247c086c3a29d9d7780a3.jpg","text":"TemporaryFile(/tmp/multipartBody2237260310730864223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_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/22/ead4c5df977b0c441b59d871f7386696.jpg","text":"TemporaryFile(/tmp/multipartBody4899465398653405426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_53_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/22/956a9d29ddb29dc77bac1812adb46ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7413451516588909941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_22_5439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/62c38c15c4dfadfe2ed53ce46ed847aa.jpg","text":"TemporaryFile(/tmp/multipartBody8762392735425192153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_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/22/8ec71eb4c65be978ef6300b30c2e803b.jpg","text":"TemporaryFile(/tmp/multipartBody4368485588025058195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_35_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/22/2f11dea256bbb7f29d117ad4a01b5d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8703077503050908741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737537974570,"filename":"image_22012025_10_24_29_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554670","file1":"1330554662","file0":"1330554656","file4":"1330554828","file5":"1330554839","file3":"1330554684"},"map_files_photo_id_array":[{"photo_id":"1330554839","filename":"file5"},{"photo_id":"1330554670","filename":"file2"},{"photo_id":"1330554828","filename":"file4"},{"photo_id":"1330554662","filename":"file1"},{"photo_id":"1330554656","filename":"file0"},{"photo_id":"1330554684","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554662":["hashtag1","hashtag2"]},{"1330554656":["hashtag1","hashtag2"]},{"1330554839":["hashtag1","hashtag2"]},{"1330554670":["hashtag1","hashtag2"]},{"1330554684":["hashtag1","hashtag2"]},{"1330554828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554662, 1330554656, 1330554839, 1330554670, 1330554684, 1330554828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.89477801322937 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:26:03.612446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/25/image_22012025_10_25_52_5241.jpg', '/media/data/images/22012025/10/25/image_22012025_10_25_47_6439.jpg', '/media/data/images/22012025/10/25/image_22012025_10_25_41_5218.jpg', '/media/data/images/22012025/10/25/image_22012025_10_25_35_6430.jpg', '/media/data/images/22012025/10/25/image_22012025_10_25_29_6415.jpg', '/media/data/images/22012025/10/25/image_22012025_10_25_23_5185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/25/image_22012025_10_25_52_5241.jpg
/media/data/images/22012025/10/25/image_22012025_10_25_47_6439.jpg
/media/data/images/22012025/10/25/image_22012025_10_25_41_5218.jpg
/media/data/images/22012025/10/25/image_22012025_10_25_35_6430.jpg
/media/data/images/22012025/10/25/image_22012025_10_25_29_6415.jpg
/media/data/images/22012025/10/25/image_22012025_10_25_23_5185.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.080525636672974 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:26:22.709435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/26/image_22012025_10_26_52_5164.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_47_6390.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_41_6414.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_34_5193.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_29_6242.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_23_5501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/26/image_22012025_10_26_52_5164.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_47_6390.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_41_6414.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_34_5193.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_29_6242.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_23_5501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330554974","1330554947","1330554979","1330554970","1330554961","1330554966"],"photo_ids_order":["1330554947","1330554961","1330554966","1330554970","1330554974","1330554979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83120c280f0e40f36d6b1b03ecbfa372.jpg","text":"TemporaryFile(/tmp/multipartBody5079701414468376836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_29_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/22/fe50769548f7a29dc4b11fc54f8e1bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2879430281906320444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_52_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/22/0278865706fcef80e1c16f0b9a3dd8da.jpg","text":"TemporaryFile(/tmp/multipartBody4935545757718503555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_23_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f53d137f6933e3e0c5b0d9f30cbe9e0c.jpg","text":"TemporaryFile(/tmp/multipartBody599635596409016582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_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/22/5f3afa36589afc28daeb2c567c55e081.jpg","text":"TemporaryFile(/tmp/multipartBody9179279745086565101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_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/22/72d8133e464d34d34c23fd14da3cff11.jpg","text":"TemporaryFile(/tmp/multipartBody2025231294560548674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538050810,"filename":"image_22012025_10_26_41_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330554966","file1":"1330554961","file0":"1330554947","file4":"1330554974","file5":"1330554979","file3":"1330554970"},"map_files_photo_id_array":[{"photo_id":"1330554979","filename":"file5"},{"photo_id":"1330554966","filename":"file2"},{"photo_id":"1330554974","filename":"file4"},{"photo_id":"1330554961","filename":"file1"},{"photo_id":"1330554947","filename":"file0"},{"photo_id":"1330554970","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330554974":["hashtag1","hashtag2"]},{"1330554947":["hashtag1","hashtag2"]},{"1330554979":["hashtag1","hashtag2"]},{"1330554970":["hashtag1","hashtag2"]},{"1330554961":["hashtag1","hashtag2"]},{"1330554966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330554974, 1330554947, 1330554979, 1330554970, 1330554961, 1330554966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.571550607681274 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:27:21.890445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/27/image_22012025_10_27_53_6484.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_47_5245.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_41_6438.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_35_6522.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_29_5887.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_23_5219.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/27/image_22012025_10_27_53_6484.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_47_5245.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_41_6438.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_35_6522.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_29_5887.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_23_5219.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555019","1330555075","1330555045","1330555036","1330555080","1330555026"],"photo_ids_order":["1330555019","1330555026","1330555036","1330555045","1330555075","1330555080"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c957dd52c8fb2e53ba9f07264c763122.jpg","text":"TemporaryFile(/tmp/multipartBody2724748466786745148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_53_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/22/b28013dd4a1c968f91a1f66af14399e0.jpg","text":"TemporaryFile(/tmp/multipartBody5277651065678778091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_29_5887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/90296150428210cd3d98d74677dbc03e.jpg","text":"TemporaryFile(/tmp/multipartBody4253672113727874381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_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/22/c8547a0afe46fcabd60733344df827ed.jpg","text":"TemporaryFile(/tmp/multipartBody3105962916883209593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_41_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/22/ff4c0fd0b55ecd37fbb457195efd03f4.jpg","text":"TemporaryFile(/tmp/multipartBody7724741085987151895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_23_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/22/59b60cc20a34b585879ea2951508f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4219275448907232449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538105646,"filename":"image_22012025_10_27_47_5245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555036","file1":"1330555026","file0":"1330555019","file4":"1330555075","file5":"1330555080","file3":"1330555045"},"map_files_photo_id_array":[{"photo_id":"1330555080","filename":"file5"},{"photo_id":"1330555036","filename":"file2"},{"photo_id":"1330555075","filename":"file4"},{"photo_id":"1330555026","filename":"file1"},{"photo_id":"1330555019","filename":"file0"},{"photo_id":"1330555045","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555019":["hashtag1","hashtag2"]},{"1330555075":["hashtag1","hashtag2"]},{"1330555045":["hashtag1","hashtag2"]},{"1330555036":["hashtag1","hashtag2"]},{"1330555080":["hashtag1","hashtag2"]},{"1330555026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555019, 1330555075, 1330555045, 1330555036, 1330555080, 1330555026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74627184867859 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:28:03.267213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/27/image_22012025_10_27_17_6849.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_11_5040.jpg', '/media/data/images/22012025/10/27/image_22012025_10_27_06_6654.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_59_6468.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_18_5677.jpg', '/media/data/images/22012025/10/26/image_22012025_10_26_12_7473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/27/image_22012025_10_27_17_6849.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_11_5040.jpg
/media/data/images/22012025/10/27/image_22012025_10_27_06_6654.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_59_6468.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_18_5677.jpg
/media/data/images/22012025/10/26/image_22012025_10_26_12_7473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555109","1330555118","1330555093","1330555099","1330555113","1330555127"],"photo_ids_order":["1330555093","1330555099","1330555109","1330555113","1330555118","1330555127"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6225c0a58d2aefc43d6ccfb27c08877e.jpg","text":"TemporaryFile(/tmp/multipartBody4339699100245446195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_27_06_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/22/d493fcbecd23102ad9cb045cfd7364e2.jpg","text":"TemporaryFile(/tmp/multipartBody9150474654291845607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_26_18_5677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20b38835bfa6043a6e2dd86d3cf50330.jpg","text":"TemporaryFile(/tmp/multipartBody8917476657107008689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_27_17_6849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/280239fc49e9e5112fdb8b5b772feb42.jpg","text":"TemporaryFile(/tmp/multipartBody7995377998749276638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_27_11_5040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/33bf029b4861b7c7af11faef3b1ff4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2148876107328298736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_26_59_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/22/77f4218bf4ac5fcd3d1874613db0d89f.jpg","text":"TemporaryFile(/tmp/multipartBody8822582483985258938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538147112,"filename":"image_22012025_10_26_12_7473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555109","file1":"1330555099","file0":"1330555093","file4":"1330555118","file5":"1330555127","file3":"1330555113"},"map_files_photo_id_array":[{"photo_id":"1330555127","filename":"file5"},{"photo_id":"1330555109","filename":"file2"},{"photo_id":"1330555118","filename":"file4"},{"photo_id":"1330555099","filename":"file1"},{"photo_id":"1330555093","filename":"file0"},{"photo_id":"1330555113","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555109":["hashtag1","hashtag2"]},{"1330555118":["hashtag1","hashtag2"]},{"1330555093":["hashtag1","hashtag2"]},{"1330555099":["hashtag1","hashtag2"]},{"1330555113":["hashtag1","hashtag2"]},{"1330555127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555109, 1330555118, 1330555093, 1330555099, 1330555113, 1330555127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9628164768219 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:28:42.048735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/28/image_22012025_10_28_53_5129.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_47_6386.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_41_6413.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_35_5204.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_29_6474.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_23_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/28/image_22012025_10_28_53_5129.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_47_6386.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_41_6413.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_35_5204.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_29_6474.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_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":["1330555177","1330555171","1330555165","1330555161","1330555155","1330555149"],"photo_ids_order":["1330555149","1330555155","1330555161","1330555165","1330555171","1330555177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d33a194565003920dfd6de857ffcd48b.jpg","text":"TemporaryFile(/tmp/multipartBody8893029839616224170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_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/22/ccfd9c631dfce33a204994e4c3661dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7725065117076380172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_29_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/22/2af992fe99fd7e5f4caa983569097681.jpg","text":"TemporaryFile(/tmp/multipartBody6207272696903980221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_35_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/22/3e1f8cfe595eb2e27051dc4e77b4fdcf.jpg","text":"TemporaryFile(/tmp/multipartBody5339162369285729595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_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/22/0757fed131b08c57942a1482e2df2538.jpg","text":"TemporaryFile(/tmp/multipartBody7294868819790954268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_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/22/61d2a5c5937b438b46d7f1befb1be4bb.jpg","text":"TemporaryFile(/tmp/multipartBody4112702601375633193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538185621,"filename":"image_22012025_10_28_53_5129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555161","file1":"1330555155","file0":"1330555149","file4":"1330555171","file5":"1330555177","file3":"1330555165"},"map_files_photo_id_array":[{"photo_id":"1330555177","filename":"file5"},{"photo_id":"1330555161","filename":"file2"},{"photo_id":"1330555171","filename":"file4"},{"photo_id":"1330555155","filename":"file1"},{"photo_id":"1330555149","filename":"file0"},{"photo_id":"1330555165","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555177":["hashtag1","hashtag2"]},{"1330555171":["hashtag1","hashtag2"]},{"1330555165":["hashtag1","hashtag2"]},{"1330555161":["hashtag1","hashtag2"]},{"1330555155":["hashtag1","hashtag2"]},{"1330555149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555177, 1330555171, 1330555165, 1330555161, 1330555155, 1330555149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53643560409546 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:29:22.244696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/29/image_22012025_10_29_53_6477.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_46_5938.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_40_5269.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_35_6434.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_29_6387.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_22_5203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/29/image_22012025_10_29_53_6477.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_46_5938.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_40_5269.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_35_6434.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_29_6387.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_22_5203.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555214","1330555211","1330555201","1330555194","1330555206","1330555190"],"photo_ids_order":["1330555190","1330555194","1330555201","1330555206","1330555211","1330555214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c6001a6cdc1e83883cd89a6c11ea99ad.jpg","text":"TemporaryFile(/tmp/multipartBody3354708183734479778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_22_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/22/7c3636f7a1edfe60eec06bf90ea389c0.jpg","text":"TemporaryFile(/tmp/multipartBody4766680740764548781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_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/22/5a9af2c973f579e0f83e5bf6091b7fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1634486799577888233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_40_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/22/afd40f575507bb50429f1eb11c4f5be4.jpg","text":"TemporaryFile(/tmp/multipartBody6622380820796311167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_46_5938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a8e97794e01a53dfaecd962683ea199.jpg","text":"TemporaryFile(/tmp/multipartBody7579593416607839038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_35_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/22/664e6233254fdf026dd44c6cc30886af.jpg","text":"TemporaryFile(/tmp/multipartBody7794405800986982413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538226781,"filename":"image_22012025_10_29_53_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555201","file1":"1330555194","file0":"1330555190","file4":"1330555211","file5":"1330555214","file3":"1330555206"},"map_files_photo_id_array":[{"photo_id":"1330555214","filename":"file5"},{"photo_id":"1330555201","filename":"file2"},{"photo_id":"1330555211","filename":"file4"},{"photo_id":"1330555194","filename":"file1"},{"photo_id":"1330555190","filename":"file0"},{"photo_id":"1330555206","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555214":["hashtag1","hashtag2"]},{"1330555211":["hashtag1","hashtag2"]},{"1330555201":["hashtag1","hashtag2"]},{"1330555194":["hashtag1","hashtag2"]},{"1330555206":["hashtag1","hashtag2"]},{"1330555190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555214, 1330555211, 1330555201, 1330555194, 1330555206, 1330555190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.090275049209595 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:30:03.773976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/29/image_22012025_10_29_17_6821.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_10_5612.jpg', '/media/data/images/22012025/10/29/image_22012025_10_29_05_5747.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_59_6421.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_17_5170.jpg', '/media/data/images/22012025/10/28/image_22012025_10_28_11_5985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/29/image_22012025_10_29_17_6821.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_10_5612.jpg
/media/data/images/22012025/10/29/image_22012025_10_29_05_5747.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_59_6421.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_17_5170.jpg
/media/data/images/22012025/10/28/image_22012025_10_28_11_5985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555264","1330555252","1330555246","1330555281","1330555259","1330555268"],"photo_ids_order":["1330555246","1330555252","1330555259","1330555264","1330555268","1330555281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9e1a8499894a44f1980f9ff8df4c3054.jpg","text":"TemporaryFile(/tmp/multipartBody556127709376408344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_28_59_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/22/0dbcc659071ea9aaa3579bbdb326002d.jpg","text":"TemporaryFile(/tmp/multipartBody6324777098064123113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_29_10_5612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8f46cf1832dffe6aad86e34dd778e919.jpg","text":"TemporaryFile(/tmp/multipartBody927850871723731874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_29_17_6821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7577ebee3396c40d880cbe6898b4811c.jpg","text":"TemporaryFile(/tmp/multipartBody6603915543238916117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_28_11_5985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5974206a7771239bad7f6b91c07856fd.jpg","text":"TemporaryFile(/tmp/multipartBody5908300289044156373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_29_05_5747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ceda0594d78d985ad8690d2d8bc75a27.jpg","text":"TemporaryFile(/tmp/multipartBody4894206566974833369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538274496,"filename":"image_22012025_10_28_17_5170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555259","file1":"1330555252","file0":"1330555246","file4":"1330555268","file5":"1330555281","file3":"1330555264"},"map_files_photo_id_array":[{"photo_id":"1330555281","filename":"file5"},{"photo_id":"1330555259","filename":"file2"},{"photo_id":"1330555268","filename":"file4"},{"photo_id":"1330555252","filename":"file1"},{"photo_id":"1330555246","filename":"file0"},{"photo_id":"1330555264","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555264":["hashtag1","hashtag2"]},{"1330555252":["hashtag1","hashtag2"]},{"1330555246":["hashtag1","hashtag2"]},{"1330555281":["hashtag1","hashtag2"]},{"1330555259":["hashtag1","hashtag2"]},{"1330555268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555264, 1330555252, 1330555246, 1330555281, 1330555259, 1330555268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.94891309738159 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:31:04.325089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/30/image_22012025_10_30_52_5238.jpg', '/media/data/images/22012025/10/30/image_22012025_10_30_47_6571.jpg', '/media/data/images/22012025/10/30/image_22012025_10_30_41_5278.jpg', '/media/data/images/22012025/10/30/image_22012025_10_30_35_6499.jpg', '/media/data/images/22012025/10/30/image_22012025_10_30_29_5315.jpg', '/media/data/images/22012025/10/30/image_22012025_10_30_24_6606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/30/image_22012025_10_30_52_5238.jpg
/media/data/images/22012025/10/30/image_22012025_10_30_47_6571.jpg
/media/data/images/22012025/10/30/image_22012025_10_30_41_5278.jpg
/media/data/images/22012025/10/30/image_22012025_10_30_35_6499.jpg
/media/data/images/22012025/10/30/image_22012025_10_30_29_5315.jpg
/media/data/images/22012025/10/30/image_22012025_10_30_24_6606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555558","1330555624","1330555611","1330555362","1330555635","1330555373"],"photo_ids_order":["1330555362","1330555373","1330555558","1330555611","1330555624","1330555635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/713e78c8ede972b6f242263d6cbf1093.jpg","text":"TemporaryFile(/tmp/multipartBody1340491505425383586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_41_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/22/9fc595fc50792ec7235296099753b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody7084719385046326146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_29_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/22/9a167b2c758b80d8c65a76498edb3bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1461828049279095350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_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/22/429a9ffafa9644c0c16a14579a489d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7509550156941893560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_52_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/22/c6a468bc0bea4e0114a179542b59de72.jpg","text":"TemporaryFile(/tmp/multipartBody7700494853306084288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_24_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/22/14d1d7a600f6d47a75b10c07db691a22.jpg","text":"TemporaryFile(/tmp/multipartBody207946176850032138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538340728,"filename":"image_22012025_10_30_47_6571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555558","file1":"1330555373","file0":"1330555362","file4":"1330555624","file5":"1330555635","file3":"1330555611"},"map_files_photo_id_array":[{"photo_id":"1330555635","filename":"file5"},{"photo_id":"1330555558","filename":"file2"},{"photo_id":"1330555624","filename":"file4"},{"photo_id":"1330555373","filename":"file1"},{"photo_id":"1330555362","filename":"file0"},{"photo_id":"1330555611","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555558":["hashtag1","hashtag2"]},{"1330555624":["hashtag1","hashtag2"]},{"1330555611":["hashtag1","hashtag2"]},{"1330555362":["hashtag1","hashtag2"]},{"1330555635":["hashtag1","hashtag2"]},{"1330555373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555558, 1330555624, 1330555611, 1330555362, 1330555635, 1330555373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.43627643585205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:32:03.561102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/31/image_22012025_10_31_40_5196.jpg', '/media/data/images/22012025/10/31/image_22012025_10_31_35_6380.jpg', '/media/data/images/22012025/10/31/image_22012025_10_31_29_6432.jpg', '/media/data/images/22012025/10/31/image_22012025_10_31_22_5480.jpg', '/media/data/images/22012025/10/31/image_22012025_10_31_17_5635.jpg', '/media/data/images/22012025/10/31/image_22012025_10_31_12_6758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/31/image_22012025_10_31_40_5196.jpg
/media/data/images/22012025/10/31/image_22012025_10_31_35_6380.jpg
/media/data/images/22012025/10/31/image_22012025_10_31_29_6432.jpg
/media/data/images/22012025/10/31/image_22012025_10_31_22_5480.jpg
/media/data/images/22012025/10/31/image_22012025_10_31_17_5635.jpg
/media/data/images/22012025/10/31/image_22012025_10_31_12_6758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555745","1330555837","1330555786","1330555750","1330555755","1330555827"],"photo_ids_order":["1330555745","1330555750","1330555755","1330555786","1330555827","1330555837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7aad29518dca2278b0370848c36bce60.jpg","text":"TemporaryFile(/tmp/multipartBody8780826331237425611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_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/22/6c103fa8ff0c38374f4f09a7d7eabfc4.jpg","text":"TemporaryFile(/tmp/multipartBody2517800739708882727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_12_6758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26ffb0432440679ad17c12ca4d823806.jpg","text":"TemporaryFile(/tmp/multipartBody2936027716093448358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_22_5480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26351f7766471bf7ca02f5a0909318b8.jpg","text":"TemporaryFile(/tmp/multipartBody9113630378739949207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_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/22/f4a4bc69642aaef0b9fea168ad648d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3800646686678338280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_29_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/22/429760143533b360b5eda5c5a5cc553a.jpg","text":"TemporaryFile(/tmp/multipartBody1067540886907447168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538393010,"filename":"image_22012025_10_31_17_5635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555755","file1":"1330555750","file0":"1330555745","file4":"1330555827","file5":"1330555837","file3":"1330555786"},"map_files_photo_id_array":[{"photo_id":"1330555837","filename":"file5"},{"photo_id":"1330555755","filename":"file2"},{"photo_id":"1330555827","filename":"file4"},{"photo_id":"1330555750","filename":"file1"},{"photo_id":"1330555745","filename":"file0"},{"photo_id":"1330555786","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555745":["hashtag1","hashtag2"]},{"1330555837":["hashtag1","hashtag2"]},{"1330555786":["hashtag1","hashtag2"]},{"1330555750":["hashtag1","hashtag2"]},{"1330555755":["hashtag1","hashtag2"]},{"1330555827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555745, 1330555837, 1330555786, 1330555750, 1330555755, 1330555827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.740559577941895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:33:04.607131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/32/image_22012025_10_32_53_5174.jpg', '/media/data/images/22012025/10/32/image_22012025_10_32_47_6418.jpg', '/media/data/images/22012025/10/32/image_22012025_10_32_41_6431.jpg', '/media/data/images/22012025/10/32/image_22012025_10_32_34_5194.jpg', '/media/data/images/22012025/10/32/image_22012025_10_32_29_6465.jpg', '/media/data/images/22012025/10/32/image_22012025_10_32_23_6209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/32/image_22012025_10_32_53_5174.jpg
/media/data/images/22012025/10/32/image_22012025_10_32_47_6418.jpg
/media/data/images/22012025/10/32/image_22012025_10_32_41_6431.jpg
/media/data/images/22012025/10/32/image_22012025_10_32_34_5194.jpg
/media/data/images/22012025/10/32/image_22012025_10_32_29_6465.jpg
/media/data/images/22012025/10/32/image_22012025_10_32_23_6209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330555912","1330555906","1330555915","1330555909","1330555932","1330555925"],"photo_ids_order":["1330555906","1330555909","1330555912","1330555915","1330555925","1330555932"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b2d7d307e74cc015600318c6a67d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody972201153363728425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_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/22/9462d5465318cf85eb57894d0d3f775b.jpg","text":"TemporaryFile(/tmp/multipartBody5786718131703918920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_53_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/22/fefe407b7e0ffafbab026dd5e5fa3bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2252320341285437481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_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/22/e4a99f6a941c34a5913bf97b717174da.jpg","text":"TemporaryFile(/tmp/multipartBody1038804082711747339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_47_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/22/8d3d213a9837e57be6b1d1e1e55f0e69.jpg","text":"TemporaryFile(/tmp/multipartBody6316765590650871423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_23_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/22/f546cda7afab09dd7cbfc21b76e977ed.jpg","text":"TemporaryFile(/tmp/multipartBody8566324094150807364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538456117,"filename":"image_22012025_10_32_29_6465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330555912","file1":"1330555909","file0":"1330555906","file4":"1330555925","file5":"1330555932","file3":"1330555915"},"map_files_photo_id_array":[{"photo_id":"1330555932","filename":"file5"},{"photo_id":"1330555912","filename":"file2"},{"photo_id":"1330555925","filename":"file4"},{"photo_id":"1330555909","filename":"file1"},{"photo_id":"1330555906","filename":"file0"},{"photo_id":"1330555915","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330555912":["hashtag1","hashtag2"]},{"1330555906":["hashtag1","hashtag2"]},{"1330555915":["hashtag1","hashtag2"]},{"1330555909":["hashtag1","hashtag2"]},{"1330555932":["hashtag1","hashtag2"]},{"1330555925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330555912, 1330555906, 1330555915, 1330555909, 1330555932, 1330555925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.73549127578735 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 10:34:03.522576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/33/image_22012025_10_33_53_6422.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_46_5187.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_41_6422.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_35_6451.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_28_5175.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_23_6619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/33/image_22012025_10_33_53_6422.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_46_5187.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_41_6422.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_35_6451.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_28_5175.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_23_6619.jpg
2025-01-22 10:34:03.732778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/33/image_22012025_10_33_53_6422.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_46_5187.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_41_6422.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_35_6451.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_28_5175.jpg', '/media/data/images/22012025/10/33/image_22012025_10_33_23_6619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/33/image_22012025_10_33_53_6422.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_46_5187.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_41_6422.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_35_6451.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_28_5175.jpg
/media/data/images/22012025/10/33/image_22012025_10_33_23_6619.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":["1330556041","1330556026","1330556007","1330556033","1330556012","1330556018"],"photo_ids_order":["1330556007","1330556012","1330556018","1330556026","1330556033","1330556041"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44d4127c2bc2a9696db996ab225b5837.jpg","text":"TemporaryFile(/tmp/multipartBody4917755656054516514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_23_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/22/2bf54c8ef9629e1ee0793879aeb615b0.jpg","text":"TemporaryFile(/tmp/multipartBody4963768552459331484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_35_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/22/ec3c802ab5d8038400dc235b8391d705.jpg","text":"TemporaryFile(/tmp/multipartBody3019701817665100008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_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/22/83f50090dc915b65f64e9a4f3d7e7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2157562350307479720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_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/22/4b86f4218fcaaa15b62270ae352dc54c.jpg","text":"TemporaryFile(/tmp/multipartBody6695283635922332508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_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/22/de0bbdf50dc0d36609b3cb3b34c1a62a.jpg","text":"TemporaryFile(/tmp/multipartBody5771525366869190482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510532,"filename":"image_22012025_10_33_41_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556018","file1":"1330556012","file0":"1330556007","file4":"1330556033","file5":"1330556041","file3":"1330556026"},"map_files_photo_id_array":[{"photo_id":"1330556041","filename":"file5"},{"photo_id":"1330556018","filename":"file2"},{"photo_id":"1330556033","filename":"file4"},{"photo_id":"1330556012","filename":"file1"},{"photo_id":"1330556007","filename":"file0"},{"photo_id":"1330556026","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556041":["hashtag1","hashtag2"]},{"1330556026":["hashtag1","hashtag2"]},{"1330556007":["hashtag1","hashtag2"]},{"1330556033":["hashtag1","hashtag2"]},{"1330556012":["hashtag1","hashtag2"]},{"1330556018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556041, 1330556026, 1330556007, 1330556033, 1330556012, 1330556018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.81601333618164 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556032","1330556011","1330556005","1330556020","1330556040","1330556025"],"photo_ids_order":["1330556005","1330556011","1330556020","1330556025","1330556032","1330556040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/99229a15b9abc229fd47cb20dbd209f1.jpg","text":"TemporaryFile(/tmp/multipartBody7853776240889686442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_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/22/9a6c7103c47aea66d577bae7677c51c3.jpg","text":"TemporaryFile(/tmp/multipartBody3519836575584411753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_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/22/37cbc42f554d293787ad0fa9035ec655.jpg","text":"TemporaryFile(/tmp/multipartBody5376318791428648191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_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/22/582c4ac4076117a2e7b4b9123e065fc0.jpg","text":"TemporaryFile(/tmp/multipartBody2467784609953067543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_41_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/22/4364c1dd35148e0425b05e6112d5c13c.jpg","text":"TemporaryFile(/tmp/multipartBody2963762738143533358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_23_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/22/b236ae150af031a0d8faef293e7cb839.jpg","text":"TemporaryFile(/tmp/multipartBody6059117122262752489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538510170,"filename":"image_22012025_10_33_35_6451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556020","file1":"1330556011","file0":"1330556005","file4":"1330556032","file5":"1330556040","file3":"1330556025"},"map_files_photo_id_array":[{"photo_id":"1330556040","filename":"file5"},{"photo_id":"1330556020","filename":"file2"},{"photo_id":"1330556032","filename":"file4"},{"photo_id":"1330556011","filename":"file1"},{"photo_id":"1330556005","filename":"file0"},{"photo_id":"1330556025","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556032":["hashtag1","hashtag2"]},{"1330556011":["hashtag1","hashtag2"]},{"1330556005":["hashtag1","hashtag2"]},{"1330556020":["hashtag1","hashtag2"]},{"1330556040":["hashtag1","hashtag2"]},{"1330556025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556032, 1330556011, 1330556005, 1330556020, 1330556040, 1330556025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56381583213806 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:35:03.615032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/34/image_22012025_10_34_53_6531.jpg', '/media/data/images/22012025/10/34/image_22012025_10_34_47_6404.jpg', '/media/data/images/22012025/10/34/image_22012025_10_34_40_5206.jpg', '/media/data/images/22012025/10/34/image_22012025_10_34_35_6425.jpg', '/media/data/images/22012025/10/34/image_22012025_10_34_29_6419.jpg', '/media/data/images/22012025/10/34/image_22012025_10_34_22_5573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/34/image_22012025_10_34_53_6531.jpg
/media/data/images/22012025/10/34/image_22012025_10_34_47_6404.jpg
/media/data/images/22012025/10/34/image_22012025_10_34_40_5206.jpg
/media/data/images/22012025/10/34/image_22012025_10_34_35_6425.jpg
/media/data/images/22012025/10/34/image_22012025_10_34_29_6419.jpg
/media/data/images/22012025/10/34/image_22012025_10_34_22_5573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556110","1330556101","1330556115","1330556096","1330556081","1330556120"],"photo_ids_order":["1330556081","1330556096","1330556101","1330556110","1330556115","1330556120"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c9d851f33dc39c06a10a38ea4926e794.jpg","text":"TemporaryFile(/tmp/multipartBody321310136272013609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_35_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/22/c9006facb8de10daade6abfc31a4e33c.jpg","text":"TemporaryFile(/tmp/multipartBody6526581277104844757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_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/22/68014aba8cef47d1e762b6c83c1073a0.jpg","text":"TemporaryFile(/tmp/multipartBody1266637547693082074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_29_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/22/24039c107f32664f48aac8472f43a541.jpg","text":"TemporaryFile(/tmp/multipartBody673671243507942133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_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/22/3c620f349a14ecf2a8ee570203b12672.jpg","text":"TemporaryFile(/tmp/multipartBody5804683230632573260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_53_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/22/3c9b00322895103bf9bfbac920b4663c.jpg","text":"TemporaryFile(/tmp/multipartBody4555208435855377384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538567557,"filename":"image_22012025_10_34_22_5573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556101","file1":"1330556096","file0":"1330556081","file4":"1330556115","file5":"1330556120","file3":"1330556110"},"map_files_photo_id_array":[{"photo_id":"1330556120","filename":"file5"},{"photo_id":"1330556101","filename":"file2"},{"photo_id":"1330556115","filename":"file4"},{"photo_id":"1330556096","filename":"file1"},{"photo_id":"1330556081","filename":"file0"},{"photo_id":"1330556110","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556110":["hashtag1","hashtag2"]},{"1330556101":["hashtag1","hashtag2"]},{"1330556115":["hashtag1","hashtag2"]},{"1330556096":["hashtag1","hashtag2"]},{"1330556081":["hashtag1","hashtag2"]},{"1330556120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556110, 1330556101, 1330556115, 1330556096, 1330556081, 1330556120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.143104553222656 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:36:02.936697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/35/image_22012025_10_35_53_6430.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_47_5226.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_41_6430.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_35_6429.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_29_5174.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_23_6428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/35/image_22012025_10_35_53_6430.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_47_5226.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_41_6430.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_35_6429.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_29_5174.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_23_6428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556200","1330556184","1330556202","1330556192","1330556189","1330556197"],"photo_ids_order":["1330556184","1330556189","1330556192","1330556197","1330556200","1330556202"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eef4435a88ca7812bf06a0dfaad92a7c.jpg","text":"TemporaryFile(/tmp/multipartBody2406521662848354577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_29_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/22/f9834d710ccce0fb5f7a6a794b7a1602.jpg","text":"TemporaryFile(/tmp/multipartBody4378868421753207257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_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/22/73d139574eb5bcdfabaf255dd265f549.jpg","text":"TemporaryFile(/tmp/multipartBody6108804833068675022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_23_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/22/02d901c1bb44f057f76622aff07404c9.jpg","text":"TemporaryFile(/tmp/multipartBody1651418702984485345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_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/22/af894951da6aafb2f78b30e79848fc58.jpg","text":"TemporaryFile(/tmp/multipartBody5494797281166135001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_47_5226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2af0754821c6f21ab16424b2cf61d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8911570107738958301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538631506,"filename":"image_22012025_10_35_35_6429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556192","file1":"1330556189","file0":"1330556184","file4":"1330556200","file5":"1330556202","file3":"1330556197"},"map_files_photo_id_array":[{"photo_id":"1330556202","filename":"file5"},{"photo_id":"1330556192","filename":"file2"},{"photo_id":"1330556200","filename":"file4"},{"photo_id":"1330556189","filename":"file1"},{"photo_id":"1330556184","filename":"file0"},{"photo_id":"1330556197","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556200":["hashtag1","hashtag2"]},{"1330556184":["hashtag1","hashtag2"]},{"1330556202":["hashtag1","hashtag2"]},{"1330556192":["hashtag1","hashtag2"]},{"1330556189":["hashtag1","hashtag2"]},{"1330556197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556200, 1330556184, 1330556202, 1330556192, 1330556189, 1330556197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01079821586609 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:37:03.768406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/36/image_22012025_10_36_53_5228.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_47_6490.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_41_6463.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_34_5169.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_29_6400.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_23_6410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/36/image_22012025_10_36_53_5228.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_47_6490.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_41_6463.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_34_5169.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_29_6400.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_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":["1330556323","1330556326","1330556316","1330556403","1330556310","1330556369"],"photo_ids_order":["1330556310","1330556316","1330556323","1330556326","1330556369","1330556403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e00e6fb87aae0ad9520b70a590cc139.jpg","text":"TemporaryFile(/tmp/multipartBody5789669243795846676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_41_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/22/7b74696d8a1347a7e6c9d6d6ce0a6a36.jpg","text":"TemporaryFile(/tmp/multipartBody570242114034294867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_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/22/f6fa9280a3dfdc671036e29d7b85f375.jpg","text":"TemporaryFile(/tmp/multipartBody2330238006233176015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_47_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/22/b403805980f1f9a60a083bebed081776.jpg","text":"TemporaryFile(/tmp/multipartBody6202627331816187855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_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/22/1213e7dff6d7da657ab638b201978534.jpg","text":"TemporaryFile(/tmp/multipartBody8167624907590026091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_53_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/22/84b1871185f65e3fcea38af178f46014.jpg","text":"TemporaryFile(/tmp/multipartBody9057368828734429789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538697065,"filename":"image_22012025_10_36_29_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556323","file1":"1330556316","file0":"1330556310","file4":"1330556369","file5":"1330556403","file3":"1330556326"},"map_files_photo_id_array":[{"photo_id":"1330556403","filename":"file5"},{"photo_id":"1330556323","filename":"file2"},{"photo_id":"1330556369","filename":"file4"},{"photo_id":"1330556316","filename":"file1"},{"photo_id":"1330556310","filename":"file0"},{"photo_id":"1330556326","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556323":["hashtag1","hashtag2"]},{"1330556326":["hashtag1","hashtag2"]},{"1330556316":["hashtag1","hashtag2"]},{"1330556403":["hashtag1","hashtag2"]},{"1330556310":["hashtag1","hashtag2"]},{"1330556369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556323, 1330556326, 1330556316, 1330556403, 1330556310, 1330556369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.939505100250244 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:38:03.368150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/37/image_22012025_10_37_53_6457.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_46_5234.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_41_6414.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_35_6399.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_28_5200.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_23_6422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/37/image_22012025_10_37_53_6457.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_46_5234.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_41_6414.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_35_6399.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_28_5200.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_23_6422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556572","1330556551","1330556577","1330556526","1330556520","1330556569"],"photo_ids_order":["1330556520","1330556526","1330556551","1330556569","1330556572","1330556577"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e40d2d3383145149fae60ce449a8b80e.jpg","text":"TemporaryFile(/tmp/multipartBody6898542745902125743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_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/22/dd530c906f117bd0f5d73cff0bf6947a.jpg","text":"TemporaryFile(/tmp/multipartBody5786382762759213860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_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/22/5ea7514982b1c94bdda16111f61122a7.jpg","text":"TemporaryFile(/tmp/multipartBody7527436410069453774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_23_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/22/8a1e82a3be5a494f5e27aa15dcb44f37.jpg","text":"TemporaryFile(/tmp/multipartBody9037453890213477450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_46_5234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e796196df0dedd51776297ab6e451098.jpg","text":"TemporaryFile(/tmp/multipartBody461060284302401548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_53_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/22/b3daab4ca66265e92fa80ec0c1e6ec0b.jpg","text":"TemporaryFile(/tmp/multipartBody5995203183082702030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538753661,"filename":"image_22012025_10_37_35_6399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556551","file1":"1330556526","file0":"1330556520","file4":"1330556572","file5":"1330556577","file3":"1330556569"},"map_files_photo_id_array":[{"photo_id":"1330556577","filename":"file5"},{"photo_id":"1330556551","filename":"file2"},{"photo_id":"1330556572","filename":"file4"},{"photo_id":"1330556526","filename":"file1"},{"photo_id":"1330556520","filename":"file0"},{"photo_id":"1330556569","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556572":["hashtag1","hashtag2"]},{"1330556551":["hashtag1","hashtag2"]},{"1330556577":["hashtag1","hashtag2"]},{"1330556526":["hashtag1","hashtag2"]},{"1330556520":["hashtag1","hashtag2"]},{"1330556569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556572, 1330556551, 1330556577, 1330556526, 1330556520, 1330556569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35148501396179 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 10:39:04.626044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/38/image_22012025_10_38_52_5202.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_47_6412.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_41_6392.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_34_5175.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_29_6449.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_23_5620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/38/image_22012025_10_38_52_5202.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_47_6412.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_41_6392.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_34_5175.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_29_6449.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_23_5620.jpg
2025-01-22 10:39:04.952316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/38/image_22012025_10_38_52_5202.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_47_6412.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_41_6392.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_34_5175.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_29_6449.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_23_5620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/38/image_22012025_10_38_52_5202.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_47_6412.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_41_6392.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_34_5175.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_29_6449.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_23_5620.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":["1330556644","1330556614","1330556637","1330556631","1330556625","1330556618"],"photo_ids_order":["1330556614","1330556618","1330556625","1330556631","1330556637","1330556644"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/580b2264d81de686d0d028f0b771468a.jpg","text":"TemporaryFile(/tmp/multipartBody5297294750856886731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_23_5620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5e1a568f8ffb4a1aa72c0bbcbb381fbd.jpg","text":"TemporaryFile(/tmp/multipartBody57726390192580988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_52_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/22/c998714289410d6573507e965fc109eb.jpg","text":"TemporaryFile(/tmp/multipartBody5782745639533587628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_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/22/f4bb9c5ba4d7200fb0ce109089b84fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6459860876153506633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_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/22/e1eb18942394b4f797f7c8b26f3e0c81.jpg","text":"TemporaryFile(/tmp/multipartBody3546781544989802724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_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/22/6093f9f52f7f23bcfe03b4d0e28bde47.jpg","text":"TemporaryFile(/tmp/multipartBody7403573630416175942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538827024,"filename":"image_22012025_10_38_47_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556625","file1":"1330556618","file0":"1330556614","file4":"1330556637","file5":"1330556644","file3":"1330556631"},"map_files_photo_id_array":[{"photo_id":"1330556644","filename":"file5"},{"photo_id":"1330556625","filename":"file2"},{"photo_id":"1330556637","filename":"file4"},{"photo_id":"1330556618","filename":"file1"},{"photo_id":"1330556614","filename":"file0"},{"photo_id":"1330556631","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556644":["hashtag1","hashtag2"]},{"1330556614":["hashtag1","hashtag2"]},{"1330556637":["hashtag1","hashtag2"]},{"1330556631":["hashtag1","hashtag2"]},{"1330556625":["hashtag1","hashtag2"]},{"1330556618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556644, 1330556614, 1330556637, 1330556631, 1330556625, 1330556618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.535619020462036 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556626","1330556652","1330556640","1330556634","1330556619","1330556613"],"photo_ids_order":["1330556613","1330556619","1330556626","1330556634","1330556640","1330556652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/903545f30ba6285082f5e99cbe008849.jpg","text":"TemporaryFile(/tmp/multipartBody6926767820773692787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_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/22/e1fd53ffda16b42143c481c1670d19a3.jpg","text":"TemporaryFile(/tmp/multipartBody1572501124209327801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_23_5620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b29661412f1b46bbc6d674e878710668.jpg","text":"TemporaryFile(/tmp/multipartBody7286017572911111149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_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/22/0d4ed3e8d35f25ba0362b39036411de3.jpg","text":"TemporaryFile(/tmp/multipartBody6660233501991498124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_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/22/7750b8d1f62709606c23dd27797a39ae.jpg","text":"TemporaryFile(/tmp/multipartBody8635814561616233981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_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/22/ad65bb58d3747554a0668ab853db4b34.jpg","text":"TemporaryFile(/tmp/multipartBody9063911278817657070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538824963,"filename":"image_22012025_10_38_52_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556626","file1":"1330556619","file0":"1330556613","file4":"1330556640","file5":"1330556652","file3":"1330556634"},"map_files_photo_id_array":[{"photo_id":"1330556652","filename":"file5"},{"photo_id":"1330556626","filename":"file2"},{"photo_id":"1330556640","filename":"file4"},{"photo_id":"1330556619","filename":"file1"},{"photo_id":"1330556613","filename":"file0"},{"photo_id":"1330556634","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556626":["hashtag1","hashtag2"]},{"1330556652":["hashtag1","hashtag2"]},{"1330556640":["hashtag1","hashtag2"]},{"1330556634":["hashtag1","hashtag2"]},{"1330556619":["hashtag1","hashtag2"]},{"1330556613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556626, 1330556652, 1330556640, 1330556634, 1330556619, 1330556613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.87756395339966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:40:22.714937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/40/image_22012025_10_40_53_6423.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_47_5220.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_41_6424.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_35_6416.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_28_6022.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_23_4981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/40/image_22012025_10_40_53_6423.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_47_5220.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_41_6424.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_35_6416.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_28_6022.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_23_4981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556833","1330556742","1330556736","1330556730","1330556837","1330556816"],"photo_ids_order":["1330556730","1330556736","1330556742","1330556816","1330556833","1330556837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9aa708ab66dde7e5ee6d95888fd811ba.jpg","text":"TemporaryFile(/tmp/multipartBody4714848798421720766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_28_6022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/679dc73b1f2c4c139d5e587bdff2d729.jpg","text":"TemporaryFile(/tmp/multipartBody7605476409741312901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_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/22/8df891c2b159a2913539ac952a25f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody6247259583211757637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_47_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/22/421925d7d95ff4ac4b32a3f7391a1dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7845805065951888121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_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/22/a46d3b9e34e580784c4f1be63a6296b5.jpg","text":"TemporaryFile(/tmp/multipartBody9143403949461609356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_23_4981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/55fb229fcc11c9c65a3c2d758cb326de.jpg","text":"TemporaryFile(/tmp/multipartBody8022644525535484122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538887334,"filename":"image_22012025_10_40_35_6416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556742","file1":"1330556736","file0":"1330556730","file4":"1330556833","file5":"1330556837","file3":"1330556816"},"map_files_photo_id_array":[{"photo_id":"1330556837","filename":"file5"},{"photo_id":"1330556742","filename":"file2"},{"photo_id":"1330556833","filename":"file4"},{"photo_id":"1330556736","filename":"file1"},{"photo_id":"1330556730","filename":"file0"},{"photo_id":"1330556816","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556833":["hashtag1","hashtag2"]},{"1330556742":["hashtag1","hashtag2"]},{"1330556736":["hashtag1","hashtag2"]},{"1330556730":["hashtag1","hashtag2"]},{"1330556837":["hashtag1","hashtag2"]},{"1330556816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556833, 1330556742, 1330556736, 1330556730, 1330556837, 1330556816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87273573875427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:41:21.843887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/41/image_22012025_10_41_53_6380.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_46_5217.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_41_6421.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_35_6417.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_28_6045.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_22_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/41/image_22012025_10_41_53_6380.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_46_5217.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_41_6421.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_35_6417.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_28_6045.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_22_5186.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330556956","1330557013","1330556932","1330557006","1330556967","1330556946"],"photo_ids_order":["1330556932","1330556946","1330556956","1330556967","1330557006","1330557013"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5f349e3c4cfd58dbf994945dc2763db4.jpg","text":"TemporaryFile(/tmp/multipartBody3669456675545558694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_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/22/afe1949a5ce67f560efb17b273bbcc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1093303517191423904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_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/22/c52732cc2cf04b1f8158982c4e9f7764.jpg","text":"TemporaryFile(/tmp/multipartBody4585550474025274705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_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/22/3388245778f28e4fa1efae0068eb2fea.jpg","text":"TemporaryFile(/tmp/multipartBody5031111013725376698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_28_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ed3cf5b880c762cacc27e721e21aa44.jpg","text":"TemporaryFile(/tmp/multipartBody3382220354437949548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_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/22/8ecd9e2928e0437eb439d50d4ddce8dd.jpg","text":"TemporaryFile(/tmp/multipartBody2558002029477466893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538945745,"filename":"image_22012025_10_41_46_5217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330556956","file1":"1330556946","file0":"1330556932","file4":"1330557006","file5":"1330557013","file3":"1330556967"},"map_files_photo_id_array":[{"photo_id":"1330557013","filename":"file5"},{"photo_id":"1330556956","filename":"file2"},{"photo_id":"1330557006","filename":"file4"},{"photo_id":"1330556946","filename":"file1"},{"photo_id":"1330556932","filename":"file0"},{"photo_id":"1330556967","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330556956":["hashtag1","hashtag2"]},{"1330557013":["hashtag1","hashtag2"]},{"1330556932":["hashtag1","hashtag2"]},{"1330557006":["hashtag1","hashtag2"]},{"1330556967":["hashtag1","hashtag2"]},{"1330556946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330556956, 1330557013, 1330556932, 1330557006, 1330556967, 1330556946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.413978099823 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:42:03.214885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/41/image_22012025_10_41_17_6450.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_11_5664.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_05_5700.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_59_6447.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_18_6904.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_11_4822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/41/image_22012025_10_41_17_6450.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_11_5664.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_05_5700.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_59_6447.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_18_6904.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_11_4822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557043","1330557060","1330557050","1330557032","1330557055","1330557034"],"photo_ids_order":["1330557032","1330557034","1330557043","1330557050","1330557055","1330557060"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54532a5080a89bba427dda0919f9d0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5675035084830653025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_41_05_5700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f05a39e72f902c859edce03249972e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5027751306531424445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_40_11_4822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82a3a173eba7c440a11545e94b481497.jpg","text":"TemporaryFile(/tmp/multipartBody1528001890428798346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_40_59_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/22/09139637049b29fc099985e2216eabd0.jpg","text":"TemporaryFile(/tmp/multipartBody6814296591428735099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_41_17_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/22/88ec160a0141537196568fe1732875b6.jpg","text":"TemporaryFile(/tmp/multipartBody5866232481321381306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_40_18_6904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2e524e5ae417f757bee7db798135018.jpg","text":"TemporaryFile(/tmp/multipartBody8455373400477950066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737538992283,"filename":"image_22012025_10_41_11_5664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557043","file1":"1330557034","file0":"1330557032","file4":"1330557055","file5":"1330557060","file3":"1330557050"},"map_files_photo_id_array":[{"photo_id":"1330557060","filename":"file5"},{"photo_id":"1330557043","filename":"file2"},{"photo_id":"1330557055","filename":"file4"},{"photo_id":"1330557034","filename":"file1"},{"photo_id":"1330557032","filename":"file0"},{"photo_id":"1330557050","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557043":["hashtag1","hashtag2"]},{"1330557060":["hashtag1","hashtag2"]},{"1330557050":["hashtag1","hashtag2"]},{"1330557032":["hashtag1","hashtag2"]},{"1330557055":["hashtag1","hashtag2"]},{"1330557034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557043, 1330557060, 1330557050, 1330557032, 1330557055, 1330557034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.067415714263916 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:43:03.646165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/42/image_22012025_10_42_53_5174.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_47_6386.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_41_6425.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_35_5231.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_29_6452.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_23_6422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/42/image_22012025_10_42_53_5174.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_47_6386.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_41_6425.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_35_5231.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_29_6452.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_23_6422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557207","1330557201","1330557170","1330557116","1330557104","1330557107"],"photo_ids_order":["1330557104","1330557107","1330557116","1330557170","1330557201","1330557207"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e7800a56322569dec618a3d5c8d3144.jpg","text":"TemporaryFile(/tmp/multipartBody8898094242723766633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_23_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/22/664807dda726929e0ca59d32863d86e0.jpg","text":"TemporaryFile(/tmp/multipartBody7808124033796447113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_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/22/e14173ba43f8c4c39d456093504ee848.jpg","text":"TemporaryFile(/tmp/multipartBody7902473081919083520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_35_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/22/fc4bed992d5b10aa6deba14fc1c02bd9.jpg","text":"TemporaryFile(/tmp/multipartBody4472659225845115991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_41_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/22/43710966ac6e5cc42157e7a5cd21d423.jpg","text":"TemporaryFile(/tmp/multipartBody7038099348976423915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_53_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/22/c9e9176a4dadcc584b89d5469ceb561e.jpg","text":"TemporaryFile(/tmp/multipartBody4032257584696203959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539050218,"filename":"image_22012025_10_42_47_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557116","file1":"1330557107","file0":"1330557104","file4":"1330557201","file5":"1330557207","file3":"1330557170"},"map_files_photo_id_array":[{"photo_id":"1330557207","filename":"file5"},{"photo_id":"1330557116","filename":"file2"},{"photo_id":"1330557201","filename":"file4"},{"photo_id":"1330557107","filename":"file1"},{"photo_id":"1330557104","filename":"file0"},{"photo_id":"1330557170","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557207":["hashtag1","hashtag2"]},{"1330557201":["hashtag1","hashtag2"]},{"1330557170":["hashtag1","hashtag2"]},{"1330557116":["hashtag1","hashtag2"]},{"1330557104":["hashtag1","hashtag2"]},{"1330557107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557207, 1330557201, 1330557170, 1330557116, 1330557104, 1330557107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.888511657714844 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 10:44:04.084651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/43/image_22012025_10_43_53_6465.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_46_5213.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_41_6454.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_35_6439.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_28_5196.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_23_6433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/43/image_22012025_10_43_53_6465.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_46_5213.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_41_6454.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_35_6439.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_28_5196.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_23_6433.jpg
2025-01-22 10:44:04.201250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/43/image_22012025_10_43_53_6465.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_46_5213.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_41_6454.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_35_6439.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_28_5196.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_23_6433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/43/image_22012025_10_43_53_6465.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_46_5213.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_41_6454.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_35_6439.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_28_5196.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_23_6433.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":["1330557354","1330557402","1330557408","1330557377","1330557365","1330557370"],"photo_ids_order":["1330557354","1330557365","1330557370","1330557377","1330557402","1330557408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26bb83c193e5af1f2f97f24a8580c540.jpg","text":"TemporaryFile(/tmp/multipartBody1488858982616865422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_53_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/22/664e104e491d86e7edfcaaa0306f54c0.jpg","text":"TemporaryFile(/tmp/multipartBody6617729946144431434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_28_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/22/85751b9676388dce1d0e5a64e610b5fe.jpg","text":"TemporaryFile(/tmp/multipartBody408315696597143129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_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/22/9114f30b5f970b745129c0c6b4d77d09.jpg","text":"TemporaryFile(/tmp/multipartBody715993277142169918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_35_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/22/dbbf9c49e51780c841e01ef202858ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2565682345748195758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_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/22/90a5b41285343af782b0b6257e994f76.jpg","text":"TemporaryFile(/tmp/multipartBody9156464788688253682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539119023,"filename":"image_22012025_10_43_41_6454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557370","file1":"1330557365","file0":"1330557354","file4":"1330557402","file5":"1330557408","file3":"1330557377"},"map_files_photo_id_array":[{"photo_id":"1330557408","filename":"file5"},{"photo_id":"1330557370","filename":"file2"},{"photo_id":"1330557402","filename":"file4"},{"photo_id":"1330557365","filename":"file1"},{"photo_id":"1330557354","filename":"file0"},{"photo_id":"1330557377","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557354":["hashtag1","hashtag2"]},{"1330557402":["hashtag1","hashtag2"]},{"1330557408":["hashtag1","hashtag2"]},{"1330557377":["hashtag1","hashtag2"]},{"1330557365":["hashtag1","hashtag2"]},{"1330557370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557354, 1330557402, 1330557408, 1330557377, 1330557365, 1330557370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.865118741989136 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557372","1330557381","1330557357","1330557368","1330557410","1330557404"],"photo_ids_order":["1330557357","1330557368","1330557372","1330557381","1330557404","1330557410"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8600227268d682474a648249f264e172.jpg","text":"TemporaryFile(/tmp/multipartBody8418797880773662382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_41_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/22/1f18da415b264a931d506b986ad23c58.jpg","text":"TemporaryFile(/tmp/multipartBody199302655894025623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_35_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/22/66f7eed271e1e847648e55a1e121c804.jpg","text":"TemporaryFile(/tmp/multipartBody364211607278337799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_53_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/22/28c7b18c784d0281c36483d5d99ebec0.jpg","text":"TemporaryFile(/tmp/multipartBody6591166987448738481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_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/22/5fc87202f30b8d6ed20a1e60457222a7.jpg","text":"TemporaryFile(/tmp/multipartBody5071391840369078517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_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/22/b652ab70a5c263a1c45b6911c6537fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6629213731988723681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539121305,"filename":"image_22012025_10_43_28_5196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557372","file1":"1330557368","file0":"1330557357","file4":"1330557404","file5":"1330557410","file3":"1330557381"},"map_files_photo_id_array":[{"photo_id":"1330557410","filename":"file5"},{"photo_id":"1330557372","filename":"file2"},{"photo_id":"1330557404","filename":"file4"},{"photo_id":"1330557368","filename":"file1"},{"photo_id":"1330557357","filename":"file0"},{"photo_id":"1330557381","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557372":["hashtag1","hashtag2"]},{"1330557381":["hashtag1","hashtag2"]},{"1330557357":["hashtag1","hashtag2"]},{"1330557368":["hashtag1","hashtag2"]},{"1330557410":["hashtag1","hashtag2"]},{"1330557404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557372, 1330557381, 1330557357, 1330557368, 1330557410, 1330557404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.562427282333374 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:45:03.890592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/44/image_22012025_10_44_53_6437.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_46_5242.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_41_6443.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_35_6441.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_28_5181.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_23_6438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/44/image_22012025_10_44_53_6437.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_46_5242.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_41_6443.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_35_6441.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_28_5181.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_23_6438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557508","1330557477","1330557552","1330557503","1330557472","1330557496"],"photo_ids_order":["1330557472","1330557477","1330557496","1330557503","1330557508","1330557552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ec2dfaede5cf9a3f26c16b9ca924db6a.jpg","text":"TemporaryFile(/tmp/multipartBody4568052482547002924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_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/22/889dd331a74cc607e851009e7b71596f.jpg","text":"TemporaryFile(/tmp/multipartBody8618153474442620632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_46_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/22/0ee628213369d11be0611b4dd38b6f97.jpg","text":"TemporaryFile(/tmp/multipartBody5254768769459493945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_23_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/22/1dc9ad49eb90198c7d3a237904055c40.jpg","text":"TemporaryFile(/tmp/multipartBody1752613251775677322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_35_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/22/46c489d044e657b4d8dc5b04629e8ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3636665353114624657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_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/22/1d0849dbedac6015a52ad3bc99c41a74.jpg","text":"TemporaryFile(/tmp/multipartBody3791733244041612487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539169717,"filename":"image_22012025_10_44_41_6443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557496","file1":"1330557477","file0":"1330557472","file4":"1330557508","file5":"1330557552","file3":"1330557503"},"map_files_photo_id_array":[{"photo_id":"1330557552","filename":"file5"},{"photo_id":"1330557496","filename":"file2"},{"photo_id":"1330557508","filename":"file4"},{"photo_id":"1330557477","filename":"file1"},{"photo_id":"1330557472","filename":"file0"},{"photo_id":"1330557503","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557508":["hashtag1","hashtag2"]},{"1330557477":["hashtag1","hashtag2"]},{"1330557552":["hashtag1","hashtag2"]},{"1330557503":["hashtag1","hashtag2"]},{"1330557472":["hashtag1","hashtag2"]},{"1330557496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557508, 1330557477, 1330557552, 1330557503, 1330557472, 1330557496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60092353820801 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:46:03.400873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/45/image_22012025_10_45_53_6406.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_46_5284.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_41_6456.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_35_5227.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_29_6501.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_23_6033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/45/image_22012025_10_45_53_6406.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_46_5284.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_41_6456.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_35_5227.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_29_6501.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_23_6033.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557838","1330557798","1330557830","1330557824","1330557803","1330557841"],"photo_ids_order":["1330557798","1330557803","1330557824","1330557830","1330557838","1330557841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d62634b8d1b19b3d7278c7d776232c18.jpg","text":"TemporaryFile(/tmp/multipartBody5716482598299237293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_29_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/22/23a5c0e1328684b7131d915da1117224.jpg","text":"TemporaryFile(/tmp/multipartBody4845119672437401610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_53_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/22/91b4fa26bf4a3b7a448e4e977586c277.jpg","text":"TemporaryFile(/tmp/multipartBody9134418578453646633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_35_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/22/c6c9e020113b77963f8dd0fcec78bafe.jpg","text":"TemporaryFile(/tmp/multipartBody317638681618524008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_41_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/22/e16be4ec8b4b1f03364a2184c4af5f7d.jpg","text":"TemporaryFile(/tmp/multipartBody78881403153389838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_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/22/631d1a6f40913e3cbfd76defd479e839.jpg","text":"TemporaryFile(/tmp/multipartBody94041984455245313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539229856,"filename":"image_22012025_10_45_23_6033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557824","file1":"1330557803","file0":"1330557798","file4":"1330557838","file5":"1330557841","file3":"1330557830"},"map_files_photo_id_array":[{"photo_id":"1330557841","filename":"file5"},{"photo_id":"1330557824","filename":"file2"},{"photo_id":"1330557838","filename":"file4"},{"photo_id":"1330557803","filename":"file1"},{"photo_id":"1330557798","filename":"file0"},{"photo_id":"1330557830","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557838":["hashtag1","hashtag2"]},{"1330557798":["hashtag1","hashtag2"]},{"1330557830":["hashtag1","hashtag2"]},{"1330557824":["hashtag1","hashtag2"]},{"1330557803":["hashtag1","hashtag2"]},{"1330557841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557838, 1330557798, 1330557830, 1330557824, 1330557803, 1330557841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.662386655807495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:47:04.344827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/46/image_22012025_10_46_53_5220.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_47_6423.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_41_6392.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_35_5181.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_29_6398.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_23_6444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/46/image_22012025_10_46_53_5220.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_47_6423.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_41_6392.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_35_5181.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_29_6398.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_23_6444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330557904","1330557897","1330557980","1330557883","1330557892","1330557928"],"photo_ids_order":["1330557883","1330557892","1330557897","1330557904","1330557928","1330557980"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/276f06c1e4cad11103bfcb7ed4edb7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3210823934847155285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_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/22/32e1cec71f72c92d8ab53b4e61d27ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1145205151240440359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_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/22/49a95cb00a828425483a447499de07b0.jpg","text":"TemporaryFile(/tmp/multipartBody1826215801056678170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_23_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/22/e502483f8cd66a2449a9a22a5811cbb2.jpg","text":"TemporaryFile(/tmp/multipartBody8252448837077656224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_53_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/22/3b8606e0cf366b18de5980b36b42f618.jpg","text":"TemporaryFile(/tmp/multipartBody1777572642037705119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_47_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/22/365dc7e15ca098236148c962b29b1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody566234917431820472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539288164,"filename":"image_22012025_10_46_29_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330557897","file1":"1330557892","file0":"1330557883","file4":"1330557928","file5":"1330557980","file3":"1330557904"},"map_files_photo_id_array":[{"photo_id":"1330557980","filename":"file5"},{"photo_id":"1330557897","filename":"file2"},{"photo_id":"1330557928","filename":"file4"},{"photo_id":"1330557892","filename":"file1"},{"photo_id":"1330557883","filename":"file0"},{"photo_id":"1330557904","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330557904":["hashtag1","hashtag2"]},{"1330557897":["hashtag1","hashtag2"]},{"1330557980":["hashtag1","hashtag2"]},{"1330557883":["hashtag1","hashtag2"]},{"1330557892":["hashtag1","hashtag2"]},{"1330557928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330557904, 1330557897, 1330557980, 1330557883, 1330557892, 1330557928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.240150928497314 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:48:02.886115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/47/image_22012025_10_47_53_5230.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_47_6469.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_41_6467.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_34_5229.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_29_6481.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_23_5281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/47/image_22012025_10_47_53_5230.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_47_6469.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_41_6467.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_34_5229.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_29_6481.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_23_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":["1330559124","1330559078","1330558991","1330559065","1330559110","1330559113"],"photo_ids_order":["1330558991","1330559065","1330559078","1330559110","1330559113","1330559124"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a644adb3775f46453dacf242b9001dac.jpg","text":"TemporaryFile(/tmp/multipartBody9050696404393415042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_23_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/22/a5ff5684a8914caab8ea06f34dd3d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3027983286580890842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_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/22/e95183ce09c1c23efc02f0f601fe3dac.jpg","text":"TemporaryFile(/tmp/multipartBody6891048591723178186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_53_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/22/373a81098c2ed3b8ed3fc8435a5419de.jpg","text":"TemporaryFile(/tmp/multipartBody5925999488590773516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_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/22/1c1e180643f17f7f33aa4c8429dd92c5.jpg","text":"TemporaryFile(/tmp/multipartBody4722714725572725484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_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/22/b2fbdb45db3f5a9ff3adaa55e5d2c733.jpg","text":"TemporaryFile(/tmp/multipartBody6540212844614494187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539353555,"filename":"image_22012025_10_47_29_6481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330559078","file1":"1330559065","file0":"1330558991","file4":"1330559113","file5":"1330559124","file3":"1330559110"},"map_files_photo_id_array":[{"photo_id":"1330559124","filename":"file5"},{"photo_id":"1330559078","filename":"file2"},{"photo_id":"1330559113","filename":"file4"},{"photo_id":"1330559065","filename":"file1"},{"photo_id":"1330558991","filename":"file0"},{"photo_id":"1330559110","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330559124":["hashtag1","hashtag2"]},{"1330559078":["hashtag1","hashtag2"]},{"1330558991":["hashtag1","hashtag2"]},{"1330559065":["hashtag1","hashtag2"]},{"1330559110":["hashtag1","hashtag2"]},{"1330559113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330559124, 1330559078, 1330558991, 1330559065, 1330559110, 1330559113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.46816897392273 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 10:49:03.974535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/48/image_22012025_10_48_53_6503.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_47_5256.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_41_6453.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_35_6425.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_28_5197.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_23_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/48/image_22012025_10_48_53_6503.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_47_5256.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_41_6453.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_35_6425.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_28_5197.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_23_6396.jpg
2025-01-22 10:49:04.449785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/49/image_22012025_10_49_35_6440.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_53_6503.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_47_5256.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_41_6453.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_35_6425.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_28_5197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/49/image_22012025_10_49_35_6440.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_53_6503.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_47_5256.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_41_6453.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_35_6425.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_28_5197.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":["1330559450","1330559443","1330559428","1330559454","1330559535","1330559463"],"photo_ids_order":["1330559428","1330559443","1330559450","1330559454","1330559463","1330559535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f71aac24d1f4a0e50f52bd3651cced1.jpg","text":"TemporaryFile(/tmp/multipartBody2279576395058659909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_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/22/5fa12fec7e3930ed9cea6128b49a0554.jpg","text":"TemporaryFile(/tmp/multipartBody2506659481807035407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_47_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/22/86b4266dd52cbc324724c85fa528797b.jpg","text":"TemporaryFile(/tmp/multipartBody5680014627407066660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_53_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/22/6c3a74deb8bcf608f6c33509c730e771.jpg","text":"TemporaryFile(/tmp/multipartBody4170344469806483496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_35_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/22/607a94e7e02103c4ff4066aa554dd7b6.jpg","text":"TemporaryFile(/tmp/multipartBody4934958436670465110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_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/22/7c2a52c5a4ff703bc50355be31731105.jpg","text":"TemporaryFile(/tmp/multipartBody4852447409057081714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539418720,"filename":"image_22012025_10_48_28_5197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330559450","file1":"1330559443","file0":"1330559428","file4":"1330559463","file5":"1330559535","file3":"1330559454"},"map_files_photo_id_array":[{"photo_id":"1330559535","filename":"file5"},{"photo_id":"1330559450","filename":"file2"},{"photo_id":"1330559463","filename":"file4"},{"photo_id":"1330559443","filename":"file1"},{"photo_id":"1330559428","filename":"file0"},{"photo_id":"1330559454","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330559450":["hashtag1","hashtag2"]},{"1330559443":["hashtag1","hashtag2"]},{"1330559428":["hashtag1","hashtag2"]},{"1330559454":["hashtag1","hashtag2"]},{"1330559535":["hashtag1","hashtag2"]},{"1330559463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330559450, 1330559443, 1330559428, 1330559454, 1330559535, 1330559463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.94531965255737 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330559456","1330559461","1330559536","1330559451","1330559445","1330559430"],"photo_ids_order":["1330559430","1330559445","1330559451","1330559456","1330559461","1330559536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e787a5c198631ed44ff9773272161433.jpg","text":"TemporaryFile(/tmp/multipartBody1739024752522890683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_48_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/22/b5cc0fb12b39832554d3cfadcf73ad92.jpg","text":"TemporaryFile(/tmp/multipartBody2936466166486758101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_48_35_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/22/c7140ddd32d4acfeebffdd734ab44034.jpg","text":"TemporaryFile(/tmp/multipartBody491970320939501975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_48_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/22/a8fc26fb8343daf37c84c5ea4e8a2c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4097709058565292786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_48_47_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/22/c8789d5043a0f3380a5aefe0db4b59a1.jpg","text":"TemporaryFile(/tmp/multipartBody2307258426162123562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_48_53_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/22/aeec73e599eeca6856a10bfde479a1e1.jpg","text":"TemporaryFile(/tmp/multipartBody1204266200686213487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539419615,"filename":"image_22012025_10_49_35_6440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330559451","file1":"1330559445","file0":"1330559430","file4":"1330559461","file5":"1330559536","file3":"1330559456"},"map_files_photo_id_array":[{"photo_id":"1330559536","filename":"file5"},{"photo_id":"1330559451","filename":"file2"},{"photo_id":"1330559461","filename":"file4"},{"photo_id":"1330559445","filename":"file1"},{"photo_id":"1330559430","filename":"file0"},{"photo_id":"1330559456","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330559456":["hashtag1","hashtag2"]},{"1330559461":["hashtag1","hashtag2"]},{"1330559536":["hashtag1","hashtag2"]},{"1330559451":["hashtag1","hashtag2"]},{"1330559445":["hashtag1","hashtag2"]},{"1330559430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330559456, 1330559461, 1330559536, 1330559451, 1330559445, 1330559430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.48301672935486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:50:03.182044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/49/image_22012025_10_49_53_6483.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_47_5170.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_41_6435.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_28_5224.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_23_6576.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_17_5733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/49/image_22012025_10_49_53_6483.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_47_5170.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_41_6435.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_28_5224.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_23_6576.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_17_5733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330559639","1330559624","1330559596","1330559611","1330559592","1330559601"],"photo_ids_order":["1330559592","1330559596","1330559601","1330559611","1330559624","1330559639"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b1b37db9d2c4e8ee2b3c85dc258fc20.jpg","text":"TemporaryFile(/tmp/multipartBody7528161952784128636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_17_5733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68f5f844b8c82b3593e4d48ad163d1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3892734301589253109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_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/22/d70c6a93f4869c15543b035959e7da13.jpg","text":"TemporaryFile(/tmp/multipartBody4262554487583475478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_47_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/22/b99774fe18d54786f41903fc66e91c41.jpg","text":"TemporaryFile(/tmp/multipartBody4044129345669474787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_28_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/22/f5de7569c0af8cd59704b8c7883f7eed.jpg","text":"TemporaryFile(/tmp/multipartBody142951501322186147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_53_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/22/a2d2b34b622da23f4174c4c077575d28.jpg","text":"TemporaryFile(/tmp/multipartBody8171731769945656174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539480588,"filename":"image_22012025_10_49_41_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330559601","file1":"1330559596","file0":"1330559592","file4":"1330559624","file5":"1330559639","file3":"1330559611"},"map_files_photo_id_array":[{"photo_id":"1330559639","filename":"file5"},{"photo_id":"1330559601","filename":"file2"},{"photo_id":"1330559624","filename":"file4"},{"photo_id":"1330559596","filename":"file1"},{"photo_id":"1330559592","filename":"file0"},{"photo_id":"1330559611","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330559639":["hashtag1","hashtag2"]},{"1330559624":["hashtag1","hashtag2"]},{"1330559596":["hashtag1","hashtag2"]},{"1330559611":["hashtag1","hashtag2"]},{"1330559592":["hashtag1","hashtag2"]},{"1330559601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330559639, 1330559624, 1330559596, 1330559611, 1330559592, 1330559601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.901750564575195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:51:03.683265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/50/image_22012025_10_50_52_5198.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_47_6433.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_41_6396.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_34_5235.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_29_6448.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_23_5720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/50/image_22012025_10_50_52_5198.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_47_6433.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_41_6396.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_34_5235.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_29_6448.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_23_5720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330559730","1330559702","1330559740","1330559743","1330559748","1330559736"],"photo_ids_order":["1330559702","1330559730","1330559736","1330559740","1330559743","1330559748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96f7cbb4b1b1458ecac345a1b47fe9da.jpg","text":"TemporaryFile(/tmp/multipartBody579112325407377370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_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/22/5350cb1b17174dde4143163b6e4ac049.jpg","text":"TemporaryFile(/tmp/multipartBody8890520036929006601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_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/22/426073020ad761b2b67ea4e2a97e20a3.jpg","text":"TemporaryFile(/tmp/multipartBody3735110133570483925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_34_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/22/c246ccb9d2a7a945a26cf993f939f772.jpg","text":"TemporaryFile(/tmp/multipartBody1744597206878918932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_29_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/22/797d93fc90dfc8843bd16332fe45fd25.jpg","text":"TemporaryFile(/tmp/multipartBody1013658659915065905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_23_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d1cfa4f4d44767267783a978c1b6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2707304415994822364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539532283,"filename":"image_22012025_10_50_41_6396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330559736","file1":"1330559730","file0":"1330559702","file4":"1330559743","file5":"1330559748","file3":"1330559740"},"map_files_photo_id_array":[{"photo_id":"1330559748","filename":"file5"},{"photo_id":"1330559736","filename":"file2"},{"photo_id":"1330559743","filename":"file4"},{"photo_id":"1330559730","filename":"file1"},{"photo_id":"1330559702","filename":"file0"},{"photo_id":"1330559740","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330559730":["hashtag1","hashtag2"]},{"1330559702":["hashtag1","hashtag2"]},{"1330559740":["hashtag1","hashtag2"]},{"1330559743":["hashtag1","hashtag2"]},{"1330559748":["hashtag1","hashtag2"]},{"1330559736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330559730, 1330559702, 1330559740, 1330559743, 1330559748, 1330559736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.716119050979614 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:52:03.256613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/51/image_22012025_10_51_53_6456.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_47_5220.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_41_6435.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_35_6516.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_29_5281.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/51/image_22012025_10_51_53_6456.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_47_5220.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_41_6435.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_35_6516.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_29_5281.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.615609645843506 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:52:22.279984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/52/image_22012025_10_52_41_6527.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_35_5351.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_29_6565.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_23_6522.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_16_4861.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_12_5766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/52/image_22012025_10_52_41_6527.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_35_5351.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_29_6565.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_23_6522.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_16_4861.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_12_5766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560024","1330560033","1330560036","1330560005","1330560029","1330560040"],"photo_ids_order":["1330560005","1330560024","1330560029","1330560033","1330560036","1330560040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69712e33c01cf5d057691320e1c4eb23.jpg","text":"TemporaryFile(/tmp/multipartBody3037784838455206007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_35_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/22/ee7392cf22e5c6edd6d6ad135b48ccdd.jpg","text":"TemporaryFile(/tmp/multipartBody4725834100248333608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_23_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/22/290bb1faf50d6a246f9bd9c2c53795d3.jpg","text":"TemporaryFile(/tmp/multipartBody3764412702714920695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_16_4861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9093d4989cfa73c2171ce754a4fe8de0.jpg","text":"TemporaryFile(/tmp/multipartBody7126091239201534987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_41_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/22/1a64c23f5277fc72bcf84feeabc2556e.jpg","text":"TemporaryFile(/tmp/multipartBody8472763866577650971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_29_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/22/bafa4ad53780c7f81e56d1aa4c4f0032.jpg","text":"TemporaryFile(/tmp/multipartBody8646971158484691573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539628146,"filename":"image_22012025_10_52_12_5766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560029","file1":"1330560024","file0":"1330560005","file4":"1330560036","file5":"1330560040","file3":"1330560033"},"map_files_photo_id_array":[{"photo_id":"1330560040","filename":"file5"},{"photo_id":"1330560029","filename":"file2"},{"photo_id":"1330560036","filename":"file4"},{"photo_id":"1330560024","filename":"file1"},{"photo_id":"1330560005","filename":"file0"},{"photo_id":"1330560033","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560024":["hashtag1","hashtag2"]},{"1330560033":["hashtag1","hashtag2"]},{"1330560036":["hashtag1","hashtag2"]},{"1330560005":["hashtag1","hashtag2"]},{"1330560029":["hashtag1","hashtag2"]},{"1330560040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560024, 1330560033, 1330560036, 1330560005, 1330560029, 1330560040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.00960111618042 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:53:22.636417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/53/image_22012025_10_53_48_6528.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_41_4702.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_36_6535.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_30_5929.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_24_6571.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_17_5119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/53/image_22012025_10_53_48_6528.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_41_4702.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_36_6535.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_30_5929.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_24_6571.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_17_5119.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560092","1330560080","1330560097","1330560067","1330560100","1330560087"],"photo_ids_order":["1330560067","1330560080","1330560087","1330560092","1330560097","1330560100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d93f079148f58ed61bd7d91688fd5eec.jpg","text":"TemporaryFile(/tmp/multipartBody2621879522731718761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_30_5929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7452d41e8266e95981b05884e3cee034.jpg","text":"TemporaryFile(/tmp/multipartBody4026030238842535245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_41_4702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61a9da8105d0562493b15f78157ed7d8.jpg","text":"TemporaryFile(/tmp/multipartBody7713440501871203516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_24_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/22/fe19842a638b06ad444d25f61437dbac.jpg","text":"TemporaryFile(/tmp/multipartBody8519765043621798438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_48_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/22/a36c45590fe44442157f02f75866dad6.jpg","text":"TemporaryFile(/tmp/multipartBody7667277700197126066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_17_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/22/56780ef8830139bf82f73f9e5d16e1a8.jpg","text":"TemporaryFile(/tmp/multipartBody3099395914845446626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539676692,"filename":"image_22012025_10_53_36_6535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560087","file1":"1330560080","file0":"1330560067","file4":"1330560097","file5":"1330560100","file3":"1330560092"},"map_files_photo_id_array":[{"photo_id":"1330560100","filename":"file5"},{"photo_id":"1330560087","filename":"file2"},{"photo_id":"1330560097","filename":"file4"},{"photo_id":"1330560080","filename":"file1"},{"photo_id":"1330560067","filename":"file0"},{"photo_id":"1330560092","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560092":["hashtag1","hashtag2"]},{"1330560080":["hashtag1","hashtag2"]},{"1330560097":["hashtag1","hashtag2"]},{"1330560067":["hashtag1","hashtag2"]},{"1330560100":["hashtag1","hashtag2"]},{"1330560087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560092, 1330560080, 1330560097, 1330560067, 1330560100, 1330560087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.412907123565674 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:54:22.770304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/54/image_22012025_10_54_59_5310.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_47_5317.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_36_6231.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_30_6066.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_24_6553.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_17_5667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/54/image_22012025_10_54_59_5310.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_47_5317.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_36_6231.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_30_6066.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_24_6553.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_17_5667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560176","1330560164","1330560181","1330560151","1330560145","1330560169"],"photo_ids_order":["1330560145","1330560151","1330560164","1330560169","1330560176","1330560181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6d700be2db9bdd910cbdd40bba0dc048.jpg","text":"TemporaryFile(/tmp/multipartBody8291993061456055458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_24_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/22/93cbdb921c32f68b6d849f1d8ccc109f.jpg","text":"TemporaryFile(/tmp/multipartBody3096068301240884820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_36_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/22/3d06a2b840ed50d6fd761afc00da91c2.jpg","text":"TemporaryFile(/tmp/multipartBody1761602318244954125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_17_5667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2e0d142a7512f0b98877275cc15342e6.jpg","text":"TemporaryFile(/tmp/multipartBody2425835799502751104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_47_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/22/6a46eabb5ce1c8cf25a976d1784e0b67.jpg","text":"TemporaryFile(/tmp/multipartBody2470654489479132045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_59_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/22/3f308ac4342ec15f9f45c80aaf4ef94f.jpg","text":"TemporaryFile(/tmp/multipartBody2880594476342984209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539729070,"filename":"image_22012025_10_54_30_6066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560164","file1":"1330560151","file0":"1330560145","file4":"1330560176","file5":"1330560181","file3":"1330560169"},"map_files_photo_id_array":[{"photo_id":"1330560181","filename":"file5"},{"photo_id":"1330560164","filename":"file2"},{"photo_id":"1330560176","filename":"file4"},{"photo_id":"1330560151","filename":"file1"},{"photo_id":"1330560145","filename":"file0"},{"photo_id":"1330560169","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560176":["hashtag1","hashtag2"]},{"1330560164":["hashtag1","hashtag2"]},{"1330560181":["hashtag1","hashtag2"]},{"1330560151":["hashtag1","hashtag2"]},{"1330560145":["hashtag1","hashtag2"]},{"1330560169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560176, 1330560164, 1330560181, 1330560151, 1330560145, 1330560169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21139597892761 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:55:22.026275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/55/image_22012025_10_55_42_6568.jpg', '/media/data/images/22012025/10/55/image_22012025_10_55_16_5231.jpg', '/media/data/images/22012025/10/55/image_22012025_10_55_11_5854.jpg', '/media/data/images/22012025/10/55/image_22012025_10_55_05_6820.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_53_6470.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_11_5959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/55/image_22012025_10_55_42_6568.jpg
/media/data/images/22012025/10/55/image_22012025_10_55_16_5231.jpg
/media/data/images/22012025/10/55/image_22012025_10_55_11_5854.jpg
/media/data/images/22012025/10/55/image_22012025_10_55_05_6820.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_53_6470.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_11_5959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560306","1330560296","1330560302","1330560352","1330560291","1330560285"],"photo_ids_order":["1330560285","1330560291","1330560296","1330560302","1330560306","1330560352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7863365565119906bc0d9f858cc00665.jpg","text":"TemporaryFile(/tmp/multipartBody1853933637965541900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_54_53_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/22/115b94ddd6748805e13881517aa00842.jpg","text":"TemporaryFile(/tmp/multipartBody3921188919286015542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_55_11_5854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3e429339c24f8ae70ddf021dbcd959c.jpg","text":"TemporaryFile(/tmp/multipartBody5031906198064805769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_55_05_6820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bca5b6ee4ec6327e0ac02f86a962707c.jpg","text":"TemporaryFile(/tmp/multipartBody5404346874961026900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_54_11_5959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35792a8c6825cc35541e5b8b614ea71c.jpg","text":"TemporaryFile(/tmp/multipartBody4752135587441587928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_55_16_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/22/4cd836275a2d8bce85481a6003bbb907.jpg","text":"TemporaryFile(/tmp/multipartBody3844116274859490581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539796847,"filename":"image_22012025_10_55_42_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560296","file1":"1330560291","file0":"1330560285","file4":"1330560306","file5":"1330560352","file3":"1330560302"},"map_files_photo_id_array":[{"photo_id":"1330560352","filename":"file5"},{"photo_id":"1330560296","filename":"file2"},{"photo_id":"1330560306","filename":"file4"},{"photo_id":"1330560291","filename":"file1"},{"photo_id":"1330560285","filename":"file0"},{"photo_id":"1330560302","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560306":["hashtag1","hashtag2"]},{"1330560296":["hashtag1","hashtag2"]},{"1330560302":["hashtag1","hashtag2"]},{"1330560352":["hashtag1","hashtag2"]},{"1330560291":["hashtag1","hashtag2"]},{"1330560285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560306, 1330560296, 1330560302, 1330560352, 1330560291, 1330560285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.53196597099304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:56:22.083220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/55/image_22012025_10_55_53_6566.jpg', '/media/data/images/22012025/10/54/image_22012025_10_54_05_5793.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_53_5706.jpg', '/media/data/images/22012025/10/53/image_22012025_10_53_06_7223.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_58_5249.jpg', '/media/data/images/22012025/10/52/image_22012025_10_52_06_7295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/55/image_22012025_10_55_53_6566.jpg
/media/data/images/22012025/10/54/image_22012025_10_54_05_5793.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_53_5706.jpg
/media/data/images/22012025/10/53/image_22012025_10_53_06_7223.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_58_5249.jpg
/media/data/images/22012025/10/52/image_22012025_10_52_06_7295.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560528","1330560482","1330560476","1330560487","1330560478","1330560523"],"photo_ids_order":["1330560476","1330560478","1330560482","1330560487","1330560523","1330560528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44de186924d9939f5bc3d05775799c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2064362271942163776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_52_06_7295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e22f4d50d3a3f65a360415cd58df8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8576803180469608105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_53_53_5706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b4fbe2933b9794e95280d800776d17a.jpg","text":"TemporaryFile(/tmp/multipartBody4371087512272532818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_55_53_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/22/64d4908df4c6b3678f03f819c19f85f5.jpg","text":"TemporaryFile(/tmp/multipartBody1742194704437040226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_53_06_7223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c987d1f4c90e383cb3afa519e9572b03.jpg","text":"TemporaryFile(/tmp/multipartBody4224876106926055552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_54_05_5793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4bfb71e86ed91304c1be29960cabf554.jpg","text":"TemporaryFile(/tmp/multipartBody8240701169058521801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539848713,"filename":"image_22012025_10_52_58_5249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560482","file1":"1330560478","file0":"1330560476","file4":"1330560523","file5":"1330560528","file3":"1330560487"},"map_files_photo_id_array":[{"photo_id":"1330560528","filename":"file5"},{"photo_id":"1330560482","filename":"file2"},{"photo_id":"1330560523","filename":"file4"},{"photo_id":"1330560478","filename":"file1"},{"photo_id":"1330560476","filename":"file0"},{"photo_id":"1330560487","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560528":["hashtag1","hashtag2"]},{"1330560482":["hashtag1","hashtag2"]},{"1330560476":["hashtag1","hashtag2"]},{"1330560487":["hashtag1","hashtag2"]},{"1330560478":["hashtag1","hashtag2"]},{"1330560523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560528, 1330560482, 1330560476, 1330560487, 1330560478, 1330560523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04308485984802 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 10:57:04.023144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/51/image_22012025_10_51_58_5245.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_53_6456.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_47_5220.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_41_6435.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_35_6516.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_29_5281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/51/image_22012025_10_51_58_5245.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_53_6456.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_47_5220.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_41_6435.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_35_6516.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_29_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":["1330560575","1330560548","1330560580","1330560553","1330560570","1330560558"],"photo_ids_order":["1330560548","1330560553","1330560558","1330560570","1330560575","1330560580"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2ea2f0c65937de46867d7e4d5353825.jpg","text":"TemporaryFile(/tmp/multipartBody7504901573625697447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_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/22/b8c2b6c20aa18901552d8ad987f17bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2881835237449119213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_58_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/22/34d2585917c7f66260ac86b8cd773233.jpg","text":"TemporaryFile(/tmp/multipartBody7417122825338241365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_29_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/22/63e2bb8d56242142de13966f664baf14.jpg","text":"TemporaryFile(/tmp/multipartBody3745041017585805833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_53_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/22/8aa55179a7115afb704a4bb70c439d5b.jpg","text":"TemporaryFile(/tmp/multipartBody177528577094803133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_41_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/22/d5715f11743dd802e7d7c61066d9ee4d.jpg","text":"TemporaryFile(/tmp/multipartBody7627467244124002280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737539893533,"filename":"image_22012025_10_51_47_5220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560558","file1":"1330560553","file0":"1330560548","file4":"1330560575","file5":"1330560580","file3":"1330560570"},"map_files_photo_id_array":[{"photo_id":"1330560580","filename":"file5"},{"photo_id":"1330560558","filename":"file2"},{"photo_id":"1330560575","filename":"file4"},{"photo_id":"1330560553","filename":"file1"},{"photo_id":"1330560548","filename":"file0"},{"photo_id":"1330560570","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560575":["hashtag1","hashtag2"]},{"1330560548":["hashtag1","hashtag2"]},{"1330560580":["hashtag1","hashtag2"]},{"1330560553":["hashtag1","hashtag2"]},{"1330560570":["hashtag1","hashtag2"]},{"1330560558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560575, 1330560548, 1330560580, 1330560553, 1330560570, 1330560558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.25779962539673 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 10:59:04.851829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/58/image_22012025_10_58_06_6404.jpg', '/media/data/images/22012025/10/57/image_22012025_10_57_53_6588.jpg', '/media/data/images/22012025/10/57/image_22012025_10_57_47_5359.jpg', '/media/data/images/22012025/10/56/image_22012025_10_56_35_4764.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_18_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/58/image_22012025_10_58_06_6404.jpg
/media/data/images/22012025/10/57/image_22012025_10_57_53_6588.jpg
/media/data/images/22012025/10/57/image_22012025_10_57_47_5359.jpg
/media/data/images/22012025/10/56/image_22012025_10_56_35_4764.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_18_6399.jpg
2025-01-22 10:59:05.073817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/58/image_22012025_10_58_06_6404.jpg', '/media/data/images/22012025/10/57/image_22012025_10_57_53_6588.jpg', '/media/data/images/22012025/10/57/image_22012025_10_57_47_5359.jpg', '/media/data/images/22012025/10/56/image_22012025_10_56_35_4764.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_18_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/58/image_22012025_10_58_06_6404.jpg
/media/data/images/22012025/10/57/image_22012025_10_57_53_6588.jpg
/media/data/images/22012025/10/57/image_22012025_10_57_47_5359.jpg
/media/data/images/22012025/10/56/image_22012025_10_56_35_4764.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_23_5472.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_18_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":["1330560750","1330560755","1330560746","1330560731","1330560757","1330560739"],"photo_ids_order":["1330560731","1330560739","1330560746","1330560750","1330560755","1330560757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8bca7974e9f7aa6238afb0caf2119ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1858034967008970671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_56_35_4764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d96a13ebd7ce0196b5e7af1555ace79.jpg","text":"TemporaryFile(/tmp/multipartBody4532371988740850357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_51_23_5472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/474efd7470ecf8e14d4c2b532add2b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6601819373902270473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_57_47_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/22/83953d7c21305fe30949e0bcc638247b.jpg","text":"TemporaryFile(/tmp/multipartBody3476272141069893632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_58_06_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/22/bb254cd06b7f9a2ad8141a0a6e7270fb.jpg","text":"TemporaryFile(/tmp/multipartBody5700589334038573149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_51_18_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/22/4c3d5f627f687066de72ed4ba9f998ab.jpg","text":"TemporaryFile(/tmp/multipartBody2873657254175597371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540025626,"filename":"image_22012025_10_57_53_6588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560746","file1":"1330560739","file0":"1330560731","file4":"1330560755","file5":"1330560757","file3":"1330560750"},"map_files_photo_id_array":[{"photo_id":"1330560757","filename":"file5"},{"photo_id":"1330560746","filename":"file2"},{"photo_id":"1330560755","filename":"file4"},{"photo_id":"1330560739","filename":"file1"},{"photo_id":"1330560731","filename":"file0"},{"photo_id":"1330560750","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560750":["hashtag1","hashtag2"]},{"1330560755":["hashtag1","hashtag2"]},{"1330560746":["hashtag1","hashtag2"]},{"1330560731":["hashtag1","hashtag2"]},{"1330560757":["hashtag1","hashtag2"]},{"1330560739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560750, 1330560755, 1330560746, 1330560731, 1330560757, 1330560739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.435420989990234 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560747","1330560740","1330560751","1330560760","1330560736","1330560756"],"photo_ids_order":["1330560736","1330560740","1330560747","1330560751","1330560756","1330560760"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8fa2556982c8fc29af2eba88d0ce1c00.jpg","text":"TemporaryFile(/tmp/multipartBody5693094715282044286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_57_47_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/22/5ede66a2f9216991dcb8fee3a61b1b26.jpg","text":"TemporaryFile(/tmp/multipartBody541053449595411621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_57_53_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/22/c31883210722cee36962c89c6d5a29fd.jpg","text":"TemporaryFile(/tmp/multipartBody4768801975647516238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_56_35_4764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a67c3078d18807e600ba4e48481d840.jpg","text":"TemporaryFile(/tmp/multipartBody1935596175145799492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_51_18_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/22/b5d98d20291db93ea662d647f8ef8bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2508261026294710927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_58_06_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/22/e67a88255efc8eccf5ecfa8f41f4f43b.jpg","text":"TemporaryFile(/tmp/multipartBody164272085351711704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540026658,"filename":"image_22012025_10_51_23_5472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560747","file1":"1330560740","file0":"1330560736","file4":"1330560756","file5":"1330560760","file3":"1330560751"},"map_files_photo_id_array":[{"photo_id":"1330560760","filename":"file5"},{"photo_id":"1330560747","filename":"file2"},{"photo_id":"1330560756","filename":"file4"},{"photo_id":"1330560740","filename":"file1"},{"photo_id":"1330560736","filename":"file0"},{"photo_id":"1330560751","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560747":["hashtag1","hashtag2"]},{"1330560740":["hashtag1","hashtag2"]},{"1330560751":["hashtag1","hashtag2"]},{"1330560760":["hashtag1","hashtag2"]},{"1330560736":["hashtag1","hashtag2"]},{"1330560756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560747, 1330560740, 1330560751, 1330560760, 1330560736, 1330560756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1724808216095 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:00:04.085105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/58/image_22012025_10_58_13_6687.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_12_6573.jpg', '/media/data/images/22012025/10/51/image_22012025_10_51_05_5854.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_59_6427.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_18_6518.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_11_6206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/58/image_22012025_10_58_13_6687.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_12_6573.jpg
/media/data/images/22012025/10/51/image_22012025_10_51_05_5854.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_59_6427.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_18_6518.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_11_6206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560785","1330560773","1330560797","1330560803","1330560778","1330560792"],"photo_ids_order":["1330560773","1330560778","1330560785","1330560792","1330560797","1330560803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a0ef8e45c7cefef4807c385b55572c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6607985249885341375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_51_05_5854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/93557f327173ad4f5885b628450933b1.jpg","text":"TemporaryFile(/tmp/multipartBody8673711159663182028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_58_13_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48f9a1c093ad1c1d59671aebd1e6e424.jpg","text":"TemporaryFile(/tmp/multipartBody5706305790540540793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_50_18_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/22/29cc9eb915f7e759979737342d64a124.jpg","text":"TemporaryFile(/tmp/multipartBody316154057260433101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_50_11_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/22/d0132d49262043ffd3a9b048b710a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7290372959189325506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_51_12_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/22/4ee67577c0a564718b18758184686ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3304977477212246672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540070507,"filename":"image_22012025_10_50_59_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560785","file1":"1330560778","file0":"1330560773","file4":"1330560797","file5":"1330560803","file3":"1330560792"},"map_files_photo_id_array":[{"photo_id":"1330560803","filename":"file5"},{"photo_id":"1330560785","filename":"file2"},{"photo_id":"1330560797","filename":"file4"},{"photo_id":"1330560778","filename":"file1"},{"photo_id":"1330560773","filename":"file0"},{"photo_id":"1330560792","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560785":["hashtag1","hashtag2"]},{"1330560773":["hashtag1","hashtag2"]},{"1330560797":["hashtag1","hashtag2"]},{"1330560803":["hashtag1","hashtag2"]},{"1330560778":["hashtag1","hashtag2"]},{"1330560792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560785, 1330560773, 1330560797, 1330560803, 1330560778, 1330560792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75950050354004 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:01:04.278545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/00/image_22012025_11_00_41_5365.jpg', '/media/data/images/22012025/11/00/image_22012025_11_00_12_6735.jpg', '/media/data/images/22012025/10/59/image_22012025_10_59_53_5331.jpg', '/media/data/images/22012025/10/50/image_22012025_10_50_05_4887.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_59_6424.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_12_6660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/00/image_22012025_11_00_41_5365.jpg
/media/data/images/22012025/11/00/image_22012025_11_00_12_6735.jpg
/media/data/images/22012025/10/59/image_22012025_10_59_53_5331.jpg
/media/data/images/22012025/10/50/image_22012025_10_50_05_4887.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_59_6424.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_12_6660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330560843","1330560893","1330560854","1330560848","1330560914","1330560898"],"photo_ids_order":["1330560843","1330560848","1330560854","1330560893","1330560898","1330560914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0fb4945febea9a2bf0b2673dc31a9d2.jpg","text":"TemporaryFile(/tmp/multipartBody8456581860546380364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_11_00_41_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/22/b4f746328f280f04d6cca656f2b6b33f.jpg","text":"TemporaryFile(/tmp/multipartBody8667643886659294454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_10_50_05_4887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7f20ddd4034fc61dba325f15b0ec1f39.jpg","text":"TemporaryFile(/tmp/multipartBody2384973252533875487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_10_59_53_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/22/60ba3f14dbd0cf288a7d84a568b8bb41.jpg","text":"TemporaryFile(/tmp/multipartBody8017434345243558374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_11_00_12_6735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f87929eb9c7490850a91656a6f84373a.jpg","text":"TemporaryFile(/tmp/multipartBody1550074497171734957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_10_49_12_6660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ccc73ad9dfc747f9bb157923b06154b.jpg","text":"TemporaryFile(/tmp/multipartBody4306353584208251654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540136576,"filename":"image_22012025_10_49_59_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330560854","file1":"1330560848","file0":"1330560843","file4":"1330560898","file5":"1330560914","file3":"1330560893"},"map_files_photo_id_array":[{"photo_id":"1330560914","filename":"file5"},{"photo_id":"1330560854","filename":"file2"},{"photo_id":"1330560898","filename":"file4"},{"photo_id":"1330560848","filename":"file1"},{"photo_id":"1330560843","filename":"file0"},{"photo_id":"1330560893","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330560843":["hashtag1","hashtag2"]},{"1330560893":["hashtag1","hashtag2"]},{"1330560854":["hashtag1","hashtag2"]},{"1330560848":["hashtag1","hashtag2"]},{"1330560914":["hashtag1","hashtag2"]},{"1330560898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330560843, 1330560893, 1330560854, 1330560848, 1330560914, 1330560898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.89272356033325 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:02:03.309976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/01/image_22012025_11_01_23_6635.jpg', '/media/data/images/22012025/11/00/image_22012025_11_00_59_6619.jpg', '/media/data/images/22012025/10/49/image_22012025_10_49_05_4792.jpg', '/media/data/images/22012025/10/48/image_22012025_10_49_00_6489.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_17_5841.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_11_5737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/01/image_22012025_11_01_23_6635.jpg
/media/data/images/22012025/11/00/image_22012025_11_00_59_6619.jpg
/media/data/images/22012025/10/49/image_22012025_10_49_05_4792.jpg
/media/data/images/22012025/10/48/image_22012025_10_49_00_6489.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_17_5841.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_11_5737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330561026","1330561022","1330561030","1330561036","1330561018","1330561017"],"photo_ids_order":["1330561017","1330561018","1330561022","1330561026","1330561030","1330561036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/708e1879dd2ab4a8e008fd2201f21932.jpg","text":"TemporaryFile(/tmp/multipartBody8369343672880153717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_10_49_00_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/22/b88b681b470486d5c1e9b27d78368409.jpg","text":"TemporaryFile(/tmp/multipartBody5604661231288543182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_10_49_05_4792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4599e1a6388a287bfbf57b176f35f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody5732436745159800985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_10_48_17_5841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4475ea1140eac9b91b88746ae1eec252.jpg","text":"TemporaryFile(/tmp/multipartBody4421043859257767093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_10_48_11_5737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ef8fd07cadc35d707f747694685e5c4.jpg","text":"TemporaryFile(/tmp/multipartBody3174276660380180979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_11_00_59_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/22/498fe1efcbc8b422a84a24f7585ab1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6744175363314954583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540188325,"filename":"image_22012025_11_01_23_6635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330561022","file1":"1330561018","file0":"1330561017","file4":"1330561030","file5":"1330561036","file3":"1330561026"},"map_files_photo_id_array":[{"photo_id":"1330561036","filename":"file5"},{"photo_id":"1330561022","filename":"file2"},{"photo_id":"1330561030","filename":"file4"},{"photo_id":"1330561018","filename":"file1"},{"photo_id":"1330561017","filename":"file0"},{"photo_id":"1330561026","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330561026":["hashtag1","hashtag2"]},{"1330561022":["hashtag1","hashtag2"]},{"1330561030":["hashtag1","hashtag2"]},{"1330561036":["hashtag1","hashtag2"]},{"1330561018":["hashtag1","hashtag2"]},{"1330561017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330561026, 1330561022, 1330561030, 1330561036, 1330561018, 1330561017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99145269393921 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:03:03.356218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/02/image_22012025_11_02_29_5406.jpg', '/media/data/images/22012025/11/02/image_22012025_11_02_24_5765.jpg', '/media/data/images/22012025/11/02/image_22012025_11_02_18_6398.jpg', '/media/data/images/22012025/11/01/image_22012025_11_01_35_6643.jpg', '/media/data/images/22012025/10/48/image_22012025_10_48_06_6088.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_59_6565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/02/image_22012025_11_02_29_5406.jpg
/media/data/images/22012025/11/02/image_22012025_11_02_24_5765.jpg
/media/data/images/22012025/11/02/image_22012025_11_02_18_6398.jpg
/media/data/images/22012025/11/01/image_22012025_11_01_35_6643.jpg
/media/data/images/22012025/10/48/image_22012025_10_48_06_6088.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_59_6565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330561670","1330561396","1330561648","1330561575","1330561665","1330561611"],"photo_ids_order":["1330561396","1330561575","1330561611","1330561648","1330561665","1330561670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8abf809c7d8b41b5a048fb6628637b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6368394487716933235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_10_47_59_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/22/4e6f7a9267659f4715ff8574597003f4.jpg","text":"TemporaryFile(/tmp/multipartBody2426496624257052969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_11_02_29_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/22/2ca045a90faf49cadf1a10038e68adc2.jpg","text":"TemporaryFile(/tmp/multipartBody3206203780882193511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_11_01_35_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/22/f0575cd40f01e8a76c35b4d5a00387b7.jpg","text":"TemporaryFile(/tmp/multipartBody6474568477167741653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_11_02_24_5765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ecce81e365a13584a3ffd783dc36458.jpg","text":"TemporaryFile(/tmp/multipartBody1196458704069936086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_10_48_06_6088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd5085f97423cf30e956067ea7e4a1db.jpg","text":"TemporaryFile(/tmp/multipartBody973482084184189711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540259084,"filename":"image_22012025_11_02_18_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330561611","file1":"1330561575","file0":"1330561396","file4":"1330561665","file5":"1330561670","file3":"1330561648"},"map_files_photo_id_array":[{"photo_id":"1330561670","filename":"file5"},{"photo_id":"1330561611","filename":"file2"},{"photo_id":"1330561665","filename":"file4"},{"photo_id":"1330561575","filename":"file1"},{"photo_id":"1330561396","filename":"file0"},{"photo_id":"1330561648","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330561670":["hashtag1","hashtag2"]},{"1330561396":["hashtag1","hashtag2"]},{"1330561648":["hashtag1","hashtag2"]},{"1330561575":["hashtag1","hashtag2"]},{"1330561665":["hashtag1","hashtag2"]},{"1330561611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330561670, 1330561396, 1330561648, 1330561575, 1330561665, 1330561611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.5560839176178 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 11:04:03.687887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/03/image_22012025_11_03_35_6551.jpg', '/media/data/images/22012025/11/03/image_22012025_11_03_28_5343.jpg', '/media/data/images/22012025/11/02/image_22012025_11_02_34_5408.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_17_6920.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_11_5804.jpg', '/media/data/images/22012025/10/47/image_22012025_10_47_05_5679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/03/image_22012025_11_03_35_6551.jpg
/media/data/images/22012025/11/03/image_22012025_11_03_28_5343.jpg
/media/data/images/22012025/11/02/image_22012025_11_02_34_5408.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_17_6920.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_11_5804.jpg
/media/data/images/22012025/10/47/image_22012025_10_47_05_5679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330561943","1330561952","1330561946","1330561955","1330561940","1330561929"],"photo_ids_order":["1330561929","1330561940","1330561943","1330561946","1330561952","1330561955"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1204d32e659848555ef1f07a68b09c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1634406985131186263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_11_02_34_5408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83da2f0b58b6163b8ff252163c016849.jpg","text":"TemporaryFile(/tmp/multipartBody7677982851248769724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_10_47_11_5804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f344cb990b6f44db47a6c253097066ef.jpg","text":"TemporaryFile(/tmp/multipartBody1706359986651050045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_10_47_17_6920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5372cb56e51b9717e83d9f79c7ddcd53.jpg","text":"TemporaryFile(/tmp/multipartBody5049489962219321408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_10_47_05_5679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/34f2864493ae640790d5584f685e2a14.jpg","text":"TemporaryFile(/tmp/multipartBody462159748085790418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_11_03_28_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/22/ce5d28f1ccd5a99023b419edbfc452eb.jpg","text":"TemporaryFile(/tmp/multipartBody8447158302642074796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540314771,"filename":"image_22012025_11_03_35_6551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330561943","file1":"1330561940","file0":"1330561929","file4":"1330561952","file5":"1330561955","file3":"1330561946"},"map_files_photo_id_array":[{"photo_id":"1330561955","filename":"file5"},{"photo_id":"1330561943","filename":"file2"},{"photo_id":"1330561952","filename":"file4"},{"photo_id":"1330561940","filename":"file1"},{"photo_id":"1330561929","filename":"file0"},{"photo_id":"1330561946","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330561943":["hashtag1","hashtag2"]},{"1330561952":["hashtag1","hashtag2"]},{"1330561946":["hashtag1","hashtag2"]},{"1330561955":["hashtag1","hashtag2"]},{"1330561940":["hashtag1","hashtag2"]},{"1330561929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330561943, 1330561952, 1330561946, 1330561955, 1330561940, 1330561929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21911859512329 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:05:03.731769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/46/image_22012025_10_46_59_6386.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_17_5706.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_11_5696.jpg', '/media/data/images/22012025/10/46/image_22012025_10_46_05_5923.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_59_6448.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_17_6115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/46/image_22012025_10_46_59_6386.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_17_5706.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_11_5696.jpg
/media/data/images/22012025/10/46/image_22012025_10_46_05_5923.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_59_6448.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_17_6115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330562117","1330562102","1330562110","1330562097","1330562130","1330562093"],"photo_ids_order":["1330562093","1330562097","1330562102","1330562110","1330562117","1330562130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6ce124d5bc59d74a47a296471750c8cd.jpg","text":"TemporaryFile(/tmp/multipartBody977336055885287853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_45_59_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/22/53b1d73c7f9f27d140c13138cc13d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody7615007039867619878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_46_11_5696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdaf7ac8a318c8b3cbf9ac846ffb60f0.jpg","text":"TemporaryFile(/tmp/multipartBody1259805407499895379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_46_05_5923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e530c2e076eedf0d5db09c7976bb95f.jpg","text":"TemporaryFile(/tmp/multipartBody2053790100417740206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_46_17_5706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/63d93c78a40f9862ad5decaedd8297f9.jpg","text":"TemporaryFile(/tmp/multipartBody1126565034330643596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_45_17_6115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57206f34ffc796d151e491dac663d8a6.jpg","text":"TemporaryFile(/tmp/multipartBody214828897133713644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540372124,"filename":"image_22012025_10_46_59_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562102","file1":"1330562097","file0":"1330562093","file4":"1330562117","file5":"1330562130","file3":"1330562110"},"map_files_photo_id_array":[{"photo_id":"1330562130","filename":"file5"},{"photo_id":"1330562102","filename":"file2"},{"photo_id":"1330562117","filename":"file4"},{"photo_id":"1330562097","filename":"file1"},{"photo_id":"1330562093","filename":"file0"},{"photo_id":"1330562110","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562117":["hashtag1","hashtag2"]},{"1330562102":["hashtag1","hashtag2"]},{"1330562110":["hashtag1","hashtag2"]},{"1330562097":["hashtag1","hashtag2"]},{"1330562130":["hashtag1","hashtag2"]},{"1330562093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562117, 1330562102, 1330562110, 1330562097, 1330562130, 1330562093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.120975494384766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:06:03.824385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/10/45/image_22012025_10_45_11_4761.jpg', '/media/data/images/22012025/10/45/image_22012025_10_45_07_6649.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_59_6437.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_17_6152.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_11_6049.jpg', '/media/data/images/22012025/10/44/image_22012025_10_44_05_5090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/10/45/image_22012025_10_45_11_4761.jpg
/media/data/images/22012025/10/45/image_22012025_10_45_07_6649.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_59_6437.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_17_6152.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_11_6049.jpg
/media/data/images/22012025/10/44/image_22012025_10_44_05_5090.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330562165","1330562219","1330562170","1330562233","1330562241","1330562202"],"photo_ids_order":["1330562165","1330562170","1330562202","1330562219","1330562233","1330562241"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f99d53b55ec9c4a36a60dde7f4699c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5358776987516753510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_45_11_4761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68964d7a097b40f61757250bd68a98f9.jpg","text":"TemporaryFile(/tmp/multipartBody9209131160887009481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_44_17_6152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82a2995b6d75949c734e95034252d1c6.jpg","text":"TemporaryFile(/tmp/multipartBody4579206766788610527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_45_07_6649.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cac5273b5072cc1937b7c1cce0130d7.jpg","text":"TemporaryFile(/tmp/multipartBody2777455578662445693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_44_11_6049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8554116ae157143d77e1f5cd7d29ce2f.jpg","text":"TemporaryFile(/tmp/multipartBody1230998321460926963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_44_05_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/22/8272f38ac4cfd45f8f2065cd985df0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3709295630474948204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540432029,"filename":"image_22012025_10_44_59_6437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562202","file1":"1330562170","file0":"1330562165","file4":"1330562233","file5":"1330562241","file3":"1330562219"},"map_files_photo_id_array":[{"photo_id":"1330562241","filename":"file5"},{"photo_id":"1330562202","filename":"file2"},{"photo_id":"1330562233","filename":"file4"},{"photo_id":"1330562170","filename":"file1"},{"photo_id":"1330562165","filename":"file0"},{"photo_id":"1330562219","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562165":["hashtag1","hashtag2"]},{"1330562219":["hashtag1","hashtag2"]},{"1330562170":["hashtag1","hashtag2"]},{"1330562233":["hashtag1","hashtag2"]},{"1330562241":["hashtag1","hashtag2"]},{"1330562202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562165, 1330562219, 1330562170, 1330562233, 1330562241, 1330562202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.067304372787476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:07:04.161503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/06/image_22012025_11_06_23_6970.jpg', '/media/data/images/22012025/11/06/image_22012025_11_06_06_6299.jpg', '/media/data/images/22012025/11/03/image_22012025_11_03_59_5319.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_59_6443.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_17_6486.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_10_5238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/06/image_22012025_11_06_23_6970.jpg
/media/data/images/22012025/11/06/image_22012025_11_06_06_6299.jpg
/media/data/images/22012025/11/03/image_22012025_11_03_59_5319.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_59_6443.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_17_6486.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_10_5238.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330562432","1330562441","1330562407","1330562396","1330562421","1330562403"],"photo_ids_order":["1330562396","1330562403","1330562407","1330562421","1330562432","1330562441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9803941b524a01516044f2900117f5b.jpg","text":"TemporaryFile(/tmp/multipartBody8795735503430214345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_10_43_17_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/22/c6949af0bd6fe25fec1a802a2769dbc4.jpg","text":"TemporaryFile(/tmp/multipartBody8677996567814713714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_10_43_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/22/f964f7d75fd91c517ffaa3e8036e254c.jpg","text":"TemporaryFile(/tmp/multipartBody122151635075445110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_11_03_59_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/22/4abe729462e90c1edf7f9416daddef8f.jpg","text":"TemporaryFile(/tmp/multipartBody8523950079569482469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_11_06_23_6970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8afcde8e0a4f1cbc4d2f8f1976a53141.jpg","text":"TemporaryFile(/tmp/multipartBody5373444363673860883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_10_43_59_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/22/735158ccef2091917fcde5d27d9f5e48.jpg","text":"TemporaryFile(/tmp/multipartBody5497390740053892164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540499054,"filename":"image_22012025_11_06_06_6299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562407","file1":"1330562403","file0":"1330562396","file4":"1330562432","file5":"1330562441","file3":"1330562421"},"map_files_photo_id_array":[{"photo_id":"1330562441","filename":"file5"},{"photo_id":"1330562407","filename":"file2"},{"photo_id":"1330562432","filename":"file4"},{"photo_id":"1330562403","filename":"file1"},{"photo_id":"1330562396","filename":"file0"},{"photo_id":"1330562421","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562432":["hashtag1","hashtag2"]},{"1330562441":["hashtag1","hashtag2"]},{"1330562407":["hashtag1","hashtag2"]},{"1330562396":["hashtag1","hashtag2"]},{"1330562421":["hashtag1","hashtag2"]},{"1330562403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562432, 1330562441, 1330562407, 1330562396, 1330562421, 1330562403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.175010204315186 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:08:03.244531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/07/image_22012025_11_07_17_6744.jpg', '/media/data/images/22012025/11/06/image_22012025_11_06_35_6631.jpg', '/media/data/images/22012025/10/43/image_22012025_10_43_05_5943.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_59_6434.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_17_5192.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_11_6024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/07/image_22012025_11_07_17_6744.jpg
/media/data/images/22012025/11/06/image_22012025_11_06_35_6631.jpg
/media/data/images/22012025/10/43/image_22012025_10_43_05_5943.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_59_6434.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_17_5192.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_11_6024.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330562464","1330562490","1330562484","1330562478","1330562495","1330562459"],"photo_ids_order":["1330562459","1330562464","1330562478","1330562484","1330562490","1330562495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/561895dba4a290813be20dea1c8b5344.jpg","text":"TemporaryFile(/tmp/multipartBody7194659902953306068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_11_06_35_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b391311422d7491d91866041355fe87e.jpg","text":"TemporaryFile(/tmp/multipartBody5424401765373334625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_10_42_17_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/22/32f71afceb9d7c4bb84c9ef68135a9be.jpg","text":"TemporaryFile(/tmp/multipartBody4662418178386776550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_10_42_59_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/22/10d9f2a55dd650be9c3116f72e9b1216.jpg","text":"TemporaryFile(/tmp/multipartBody6200039230300413229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_10_43_05_5943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d070e3ab62a5e7ee36129c3754f222d6.jpg","text":"TemporaryFile(/tmp/multipartBody2482055997381145358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_10_42_11_6024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8274f69855be030842a3a098ba9c8cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4609256793539735313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540554900,"filename":"image_22012025_11_07_17_6744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562478","file1":"1330562464","file0":"1330562459","file4":"1330562490","file5":"1330562495","file3":"1330562484"},"map_files_photo_id_array":[{"photo_id":"1330562495","filename":"file5"},{"photo_id":"1330562478","filename":"file2"},{"photo_id":"1330562490","filename":"file4"},{"photo_id":"1330562464","filename":"file1"},{"photo_id":"1330562459","filename":"file0"},{"photo_id":"1330562484","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562464":["hashtag1","hashtag2"]},{"1330562490":["hashtag1","hashtag2"]},{"1330562484":["hashtag1","hashtag2"]},{"1330562478":["hashtag1","hashtag2"]},{"1330562495":["hashtag1","hashtag2"]},{"1330562459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562464, 1330562490, 1330562484, 1330562478, 1330562495, 1330562459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.706620931625366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 11:09:04.295679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/07/image_22012025_11_07_35_5373.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_06_6092.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_59_6390.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_06_6539.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_59_6447.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_53_6457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/07/image_22012025_11_07_35_5373.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_06_6092.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_59_6390.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_06_6539.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_59_6447.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_53_6457.jpg
2025-01-22 11:09:04.429679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/07/image_22012025_11_07_35_5373.jpg', '/media/data/images/22012025/10/42/image_22012025_10_42_06_6092.jpg', '/media/data/images/22012025/10/41/image_22012025_10_41_59_6390.jpg', '/media/data/images/22012025/10/40/image_22012025_10_40_06_6539.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_59_6447.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_53_6457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/07/image_22012025_11_07_35_5373.jpg
/media/data/images/22012025/10/42/image_22012025_10_42_06_6092.jpg
/media/data/images/22012025/10/41/image_22012025_10_41_59_6390.jpg
/media/data/images/22012025/10/40/image_22012025_10_40_06_6539.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_59_6447.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_53_6457.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":["1330562627","1330562866","1330562767","1330562662","1330562655","1330562960"],"photo_ids_order":["1330562627","1330562655","1330562662","1330562767","1330562866","1330562960"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/225143686dd82cefcf06a279a91efbf8.jpg","text":"TemporaryFile(/tmp/multipartBody7358888837566406365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_11_07_35_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/22/3af07a3e8c2b8b71382c508c65a4378b.jpg","text":"TemporaryFile(/tmp/multipartBody1319185154341012722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_10_39_59_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/22/535d1c91d270bfb01d5d646903fc4fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5154716632717907289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_10_40_06_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/22/b7a86fecf5ab457667d4c11f9ecde24c.jpg","text":"TemporaryFile(/tmp/multipartBody4928742511802924742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_10_41_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/22/fd800f301d3dcc597370bbc7552d6224.jpg","text":"TemporaryFile(/tmp/multipartBody5782064528772902244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_10_42_06_6092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a23eb404dbf96bc0c36b1a228e51e52.jpg","text":"TemporaryFile(/tmp/multipartBody5261092636865275088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540622304,"filename":"image_22012025_10_39_53_6457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562662","file1":"1330562655","file0":"1330562627","file4":"1330562866","file5":"1330562960","file3":"1330562767"},"map_files_photo_id_array":[{"photo_id":"1330562960","filename":"file5"},{"photo_id":"1330562662","filename":"file2"},{"photo_id":"1330562866","filename":"file4"},{"photo_id":"1330562655","filename":"file1"},{"photo_id":"1330562627","filename":"file0"},{"photo_id":"1330562767","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562627":["hashtag1","hashtag2"]},{"1330562866":["hashtag1","hashtag2"]},{"1330562767":["hashtag1","hashtag2"]},{"1330562662":["hashtag1","hashtag2"]},{"1330562655":["hashtag1","hashtag2"]},{"1330562960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562627, 1330562866, 1330562767, 1330562662, 1330562655, 1330562960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.3092086315155 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330562878","1330562624","1330562668","1330562656","1330562991","1330562772"],"photo_ids_order":["1330562624","1330562656","1330562668","1330562772","1330562878","1330562991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d841c1a9fc9d26bd78f6676cfde90eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2875376588254726424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_10_39_59_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/22/2f39cf8cdd8f49f38f20dbe3c75d670e.jpg","text":"TemporaryFile(/tmp/multipartBody9124948763979180133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_11_07_35_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/22/a0d561fcb81d9c39a20244ecd4396cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6686381890310070995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_10_41_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/22/8d50df0ff5d57727398b8d1b2ef0c455.jpg","text":"TemporaryFile(/tmp/multipartBody7589459785951619918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_10_42_06_6092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/05edcbbf9d4890802e41bae077299766.jpg","text":"TemporaryFile(/tmp/multipartBody2191356478367014972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_10_39_53_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/22/7696604f817919609f308bf3a39a6523.jpg","text":"TemporaryFile(/tmp/multipartBody2721916123060727904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540621890,"filename":"image_22012025_10_40_06_6539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330562668","file1":"1330562656","file0":"1330562624","file4":"1330562878","file5":"1330562991","file3":"1330562772"},"map_files_photo_id_array":[{"photo_id":"1330562991","filename":"file5"},{"photo_id":"1330562668","filename":"file2"},{"photo_id":"1330562878","filename":"file4"},{"photo_id":"1330562656","filename":"file1"},{"photo_id":"1330562624","filename":"file0"},{"photo_id":"1330562772","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330562878":["hashtag1","hashtag2"]},{"1330562624":["hashtag1","hashtag2"]},{"1330562668":["hashtag1","hashtag2"]},{"1330562656":["hashtag1","hashtag2"]},{"1330562991":["hashtag1","hashtag2"]},{"1330562772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330562878, 1330562624, 1330562668, 1330562656, 1330562991, 1330562772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.9395387172699 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:10:03.474944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/08/image_22012025_11_08_05_5605.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_46_5192.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_41_6394.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_35_6405.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_28_5191.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_23_6631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/08/image_22012025_11_08_05_5605.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_46_5192.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_41_6394.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_35_6405.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_28_5191.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_23_6631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330563125","1330563097","1330563073","1330563043","1330563105","1330563137"],"photo_ids_order":["1330563043","1330563073","1330563097","1330563105","1330563125","1330563137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b6fad7faecf6f2edaabba985eb5a993.jpg","text":"TemporaryFile(/tmp/multipartBody6283665894166858341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_10_39_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/22/c6a9e42087c8cd24ed6229d6993871ae.jpg","text":"TemporaryFile(/tmp/multipartBody9198344916139444057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_10_39_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/22/3200f03618d4d2ec5784076bcacb58df.jpg","text":"TemporaryFile(/tmp/multipartBody1886786075598944632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_10_39_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/22/ae9a9452aa23432a945a17a856696943.jpg","text":"TemporaryFile(/tmp/multipartBody503876491997751933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_11_08_05_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2ca8c7b1815daa752e9c93799c0f492e.jpg","text":"TemporaryFile(/tmp/multipartBody4596471631694901391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_10_39_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/22/eae71640b276ae920fd689c268232fff.jpg","text":"TemporaryFile(/tmp/multipartBody454140758164621699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540668442,"filename":"image_22012025_10_39_23_6631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330563097","file1":"1330563073","file0":"1330563043","file4":"1330563125","file5":"1330563137","file3":"1330563105"},"map_files_photo_id_array":[{"photo_id":"1330563137","filename":"file5"},{"photo_id":"1330563097","filename":"file2"},{"photo_id":"1330563125","filename":"file4"},{"photo_id":"1330563073","filename":"file1"},{"photo_id":"1330563043","filename":"file0"},{"photo_id":"1330563105","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330563125":["hashtag1","hashtag2"]},{"1330563097":["hashtag1","hashtag2"]},{"1330563073":["hashtag1","hashtag2"]},{"1330563043":["hashtag1","hashtag2"]},{"1330563105":["hashtag1","hashtag2"]},{"1330563137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330563125, 1330563097, 1330563073, 1330563043, 1330563105, 1330563137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41788721084595 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:11:03.746770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/11/image_22012025_11_11_05_4911.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_17_5566.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_11_6472.jpg', '/media/data/images/22012025/10/39/image_22012025_10_39_05_5554.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_59_6419.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_17_6459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/11/image_22012025_11_11_05_4911.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_17_5566.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_11_6472.jpg
/media/data/images/22012025/10/39/image_22012025_10_39_05_5554.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_59_6419.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_17_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":["1330563181","1330563177","1330563225","1330563213","1330563194","1330563209"],"photo_ids_order":["1330563177","1330563181","1330563194","1330563209","1330563213","1330563225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/284ca65ba726449c436143e5f984b1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2739216206977685278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_10_39_17_5566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/912694660fe28a61cf88e885ee610199.jpg","text":"TemporaryFile(/tmp/multipartBody8599867781927453330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_11_11_05_4911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e982638dc05862f0c2e9f28518a54ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4845243532693714153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_10_38_17_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/22/59f6e31f3ad323e55e99a0dff87d175d.jpg","text":"TemporaryFile(/tmp/multipartBody5924235854228847824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_10_38_59_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/22/4dc59caaf695ac7cd285792c34b37b56.jpg","text":"TemporaryFile(/tmp/multipartBody2821598559437666377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_10_39_11_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/22/b4688876fb48981225419bd316d4ba13.jpg","text":"TemporaryFile(/tmp/multipartBody6821533826115374703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540734317,"filename":"image_22012025_10_39_05_5554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330563194","file1":"1330563181","file0":"1330563177","file4":"1330563213","file5":"1330563225","file3":"1330563209"},"map_files_photo_id_array":[{"photo_id":"1330563225","filename":"file5"},{"photo_id":"1330563194","filename":"file2"},{"photo_id":"1330563213","filename":"file4"},{"photo_id":"1330563181","filename":"file1"},{"photo_id":"1330563177","filename":"file0"},{"photo_id":"1330563209","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330563181":["hashtag1","hashtag2"]},{"1330563177":["hashtag1","hashtag2"]},{"1330563225":["hashtag1","hashtag2"]},{"1330563213":["hashtag1","hashtag2"]},{"1330563194":["hashtag1","hashtag2"]},{"1330563209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330563181, 1330563177, 1330563225, 1330563213, 1330563194, 1330563209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.458070039749146 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:12:03.325365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/11/image_22012025_11_11_34_5355.jpg', '/media/data/images/22012025/11/09/image_22012025_11_09_29_6585.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_11_5086.jpg', '/media/data/images/22012025/10/38/image_22012025_10_38_06_6291.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_59_6427.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_17_5663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/11/image_22012025_11_11_34_5355.jpg
/media/data/images/22012025/11/09/image_22012025_11_09_29_6585.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_11_5086.jpg
/media/data/images/22012025/10/38/image_22012025_10_38_06_6291.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_59_6427.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_17_5663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330563421","1330563297","1330563395","1330563281","1330563392","1330563272"],"photo_ids_order":["1330563272","1330563281","1330563297","1330563392","1330563395","1330563421"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8fa35d82ac04d3ef0a49f49b44187c0.jpg","text":"TemporaryFile(/tmp/multipartBody4611148852189319305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_10_37_17_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd1baddb0e837dc3bcd5dd18af54658a.jpg","text":"TemporaryFile(/tmp/multipartBody1020779968317259852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_10_38_11_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/22/871a4d0dfdf97955ed2c3b568decd317.jpg","text":"TemporaryFile(/tmp/multipartBody449282325892415456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_10_37_59_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/22/293cacc28d6d8990f1f7f0d2791226cb.jpg","text":"TemporaryFile(/tmp/multipartBody4111771250019784933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_11_09_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/22/b9a56115318896535219c37d9c89f187.jpg","text":"TemporaryFile(/tmp/multipartBody8950206090487113663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_10_38_06_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/22/308bf14a6a60cab14fc36f487bd17d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6733742166989492033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540797230,"filename":"image_22012025_11_11_34_5355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330563297","file1":"1330563281","file0":"1330563272","file4":"1330563395","file5":"1330563421","file3":"1330563392"},"map_files_photo_id_array":[{"photo_id":"1330563421","filename":"file5"},{"photo_id":"1330563297","filename":"file2"},{"photo_id":"1330563395","filename":"file4"},{"photo_id":"1330563281","filename":"file1"},{"photo_id":"1330563272","filename":"file0"},{"photo_id":"1330563392","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330563421":["hashtag1","hashtag2"]},{"1330563297":["hashtag1","hashtag2"]},{"1330563395":["hashtag1","hashtag2"]},{"1330563281":["hashtag1","hashtag2"]},{"1330563392":["hashtag1","hashtag2"]},{"1330563272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330563421, 1330563297, 1330563395, 1330563281, 1330563392, 1330563272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23100996017456 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:13:03.772804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/11/image_22012025_11_11_46_5387.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_11_6195.jpg', '/media/data/images/22012025/10/37/image_22012025_10_37_05_5829.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_59_6436.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_17_6216.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_11_5546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/11/image_22012025_11_11_46_5387.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_11_6195.jpg
/media/data/images/22012025/10/37/image_22012025_10_37_05_5829.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_59_6436.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_17_6216.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_11_5546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330563509","1330563553","1330563599","1330563516","1330563542","1330563566"],"photo_ids_order":["1330563509","1330563516","1330563542","1330563553","1330563566","1330563599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e1c0de587603c125c3a9b0cbdb928485.jpg","text":"TemporaryFile(/tmp/multipartBody2978563836428893013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_11_11_46_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/22/4cffa65da0573bc845cf4b58254cd57b.jpg","text":"TemporaryFile(/tmp/multipartBody7357193696243990924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_10_36_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/22/22f816cb818a6e11909e0757c3d38e77.jpg","text":"TemporaryFile(/tmp/multipartBody8855778793008860638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_10_36_11_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/22/8ee8f96bf42f4bef26c413c4c3f555fa.jpg","text":"TemporaryFile(/tmp/multipartBody2393636530911911990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_10_37_11_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/22/b85ee275b285009d142e4127a22b7c85.jpg","text":"TemporaryFile(/tmp/multipartBody3518108969346097536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_10_37_05_5829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1f272573325e29ef966a6fbf76df402.jpg","text":"TemporaryFile(/tmp/multipartBody2800953882700074422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540852215,"filename":"image_22012025_10_36_17_6216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330563542","file1":"1330563516","file0":"1330563509","file4":"1330563566","file5":"1330563599","file3":"1330563553"},"map_files_photo_id_array":[{"photo_id":"1330563599","filename":"file5"},{"photo_id":"1330563542","filename":"file2"},{"photo_id":"1330563566","filename":"file4"},{"photo_id":"1330563516","filename":"file1"},{"photo_id":"1330563509","filename":"file0"},{"photo_id":"1330563553","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330563509":["hashtag1","hashtag2"]},{"1330563553":["hashtag1","hashtag2"]},{"1330563599":["hashtag1","hashtag2"]},{"1330563516":["hashtag1","hashtag2"]},{"1330563542":["hashtag1","hashtag2"]},{"1330563566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330563509, 1330563553, 1330563599, 1330563516, 1330563542, 1330563566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2053484916687 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 11:14:04.524219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/13/image_22012025_11_13_23_6015.jpg', '/media/data/images/22012025/11/13/image_22012025_11_13_13_6865.jpg', '/media/data/images/22012025/11/12/image_22012025_11_12_59_6643.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_05_5281.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_59_6422.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_17_5748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/13/image_22012025_11_13_23_6015.jpg
/media/data/images/22012025/11/13/image_22012025_11_13_13_6865.jpg
/media/data/images/22012025/11/12/image_22012025_11_12_59_6643.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_05_5281.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_59_6422.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_17_5748.jpg
2025-01-22 11:14:04.770342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/13/image_22012025_11_13_23_6015.jpg', '/media/data/images/22012025/11/13/image_22012025_11_13_13_6865.jpg', '/media/data/images/22012025/11/12/image_22012025_11_12_59_6643.jpg', '/media/data/images/22012025/10/36/image_22012025_10_36_05_5281.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_59_6422.jpg', '/media/data/images/22012025/10/35/image_22012025_10_35_17_5748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/13/image_22012025_11_13_23_6015.jpg
/media/data/images/22012025/11/13/image_22012025_11_13_13_6865.jpg
/media/data/images/22012025/11/12/image_22012025_11_12_59_6643.jpg
/media/data/images/22012025/10/36/image_22012025_10_36_05_5281.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_59_6422.jpg
/media/data/images/22012025/10/35/image_22012025_10_35_17_5748.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: 29.232573747634888 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":["1330563827","1330563850","1330563900","1330563842","1330563818","1330563803"],"photo_ids_order":["1330563803","1330563818","1330563827","1330563842","1330563850","1330563900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e06807ce0c54ef5ceb4970511f2335e.jpg","text":"TemporaryFile(/tmp/multipartBody8669210396429515532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_11_12_59_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/22/eb955916ee17954e5695a41b339a3a58.jpg","text":"TemporaryFile(/tmp/multipartBody5640890329612168072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_10_35_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/22/7b4c67ec6c358b24dc79d4f31b22c925.jpg","text":"TemporaryFile(/tmp/multipartBody7098743602575314765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_10_35_17_5748.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ac5737504f8401ec237bc93e4cd05f0.jpg","text":"TemporaryFile(/tmp/multipartBody5089026182192846928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_10_36_05_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/22/81c1b997fc4b85281be5c22968c605bd.jpg","text":"TemporaryFile(/tmp/multipartBody7154504839347464002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_11_13_13_6865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a69df525e54ddeefe367f6a195cf0ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3336558469112782919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540935622,"filename":"image_22012025_11_13_23_6015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330563827","file1":"1330563818","file0":"1330563803","file4":"1330563850","file5":"1330563900","file3":"1330563842"},"map_files_photo_id_array":[{"photo_id":"1330563900","filename":"file5"},{"photo_id":"1330563827","filename":"file2"},{"photo_id":"1330563850","filename":"file4"},{"photo_id":"1330563818","filename":"file1"},{"photo_id":"1330563803","filename":"file0"},{"photo_id":"1330563842","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330563827":["hashtag1","hashtag2"]},{"1330563850":["hashtag1","hashtag2"]},{"1330563900":["hashtag1","hashtag2"]},{"1330563842":["hashtag1","hashtag2"]},{"1330563818":["hashtag1","hashtag2"]},{"1330563803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330563827, 1330563850, 1330563900, 1330563842, 1330563818, 1330563803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.95232820510864 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:15:22.803580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/15/image_22012025_11_15_53_6477.jpg', '/media/data/images/22012025/11/15/image_22012025_11_15_47_5280.jpg', '/media/data/images/22012025/11/15/image_22012025_11_15_41_7090.jpg', '/media/data/images/22012025/11/15/image_22012025_11_15_35_6041.jpg', '/media/data/images/22012025/11/15/image_22012025_11_15_29_4783.jpg', '/media/data/images/22012025/11/15/image_22012025_11_15_24_5843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/15/image_22012025_11_15_53_6477.jpg
/media/data/images/22012025/11/15/image_22012025_11_15_47_5280.jpg
/media/data/images/22012025/11/15/image_22012025_11_15_41_7090.jpg
/media/data/images/22012025/11/15/image_22012025_11_15_35_6041.jpg
/media/data/images/22012025/11/15/image_22012025_11_15_29_4783.jpg
/media/data/images/22012025/11/15/image_22012025_11_15_24_5843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330564063","1330564057","1330564051","1330564045","1330564039","1330564032"],"photo_ids_order":["1330564032","1330564039","1330564045","1330564051","1330564057","1330564063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36aaa3dcec61b77027462da205dbd2e3.jpg","text":"TemporaryFile(/tmp/multipartBody910937848716668743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_24_5843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b1bb8e687cd44645ab54bc8d110751ea.jpg","text":"TemporaryFile(/tmp/multipartBody5965145430659564585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_29_4783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/29e5ab3159e79a00de1b843fce94bd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1537525706325113883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_35_6041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32008b911810246b692be3a25b7ab3c5.jpg","text":"TemporaryFile(/tmp/multipartBody9152066993881259232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_41_7090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b6056523398af8ff12666c44a44d1db.jpg","text":"TemporaryFile(/tmp/multipartBody6321237640730404054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_47_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/22/92fb9412a01979c5473f02cc3a0f7914.jpg","text":"TemporaryFile(/tmp/multipartBody5655047134761262320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737540988030,"filename":"image_22012025_11_15_53_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564045","file1":"1330564039","file0":"1330564032","file4":"1330564057","file5":"1330564063","file3":"1330564051"},"map_files_photo_id_array":[{"photo_id":"1330564063","filename":"file5"},{"photo_id":"1330564045","filename":"file2"},{"photo_id":"1330564057","filename":"file4"},{"photo_id":"1330564039","filename":"file1"},{"photo_id":"1330564032","filename":"file0"},{"photo_id":"1330564051","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564063":["hashtag1","hashtag2"]},{"1330564057":["hashtag1","hashtag2"]},{"1330564051":["hashtag1","hashtag2"]},{"1330564045":["hashtag1","hashtag2"]},{"1330564039":["hashtag1","hashtag2"]},{"1330564032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564063, 1330564057, 1330564051, 1330564045, 1330564039, 1330564032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.39970254898071 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:16:21.915015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/16/image_22012025_11_16_53_6411.jpg', '/media/data/images/22012025/11/16/image_22012025_11_16_47_6410.jpg', '/media/data/images/22012025/11/16/image_22012025_11_16_40_5179.jpg', '/media/data/images/22012025/11/16/image_22012025_11_16_35_6417.jpg', '/media/data/images/22012025/11/16/image_22012025_11_16_29_6393.jpg', '/media/data/images/22012025/11/16/image_22012025_11_16_22_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/16/image_22012025_11_16_53_6411.jpg
/media/data/images/22012025/11/16/image_22012025_11_16_47_6410.jpg
/media/data/images/22012025/11/16/image_22012025_11_16_40_5179.jpg
/media/data/images/22012025/11/16/image_22012025_11_16_35_6417.jpg
/media/data/images/22012025/11/16/image_22012025_11_16_29_6393.jpg
/media/data/images/22012025/11/16/image_22012025_11_16_22_5285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330564144","1330564110","1330564097","1330564082","1330564127","1330564115"],"photo_ids_order":["1330564082","1330564097","1330564110","1330564115","1330564127","1330564144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce00a3aeb2dc0f1d509bfd04e5e09cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3268168453147371253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_22_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/22/fa468266031a6dec5d4e129f55103bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1728079087017882036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_40_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/22/dc903fe7772c123bc28abe8be5317e64.jpg","text":"TemporaryFile(/tmp/multipartBody7107553369899392321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_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/22/c13f090906c077bceacb701e28984744.jpg","text":"TemporaryFile(/tmp/multipartBody898470734059490758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_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/22/5888bac91137589d4a99f093774d9d56.jpg","text":"TemporaryFile(/tmp/multipartBody5946177763531253865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_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/22/9eb4bd25985a299ba8c590a4d2f28207.jpg","text":"TemporaryFile(/tmp/multipartBody4277126210444288079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541050753,"filename":"image_22012025_11_16_35_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564110","file1":"1330564097","file0":"1330564082","file4":"1330564127","file5":"1330564144","file3":"1330564115"},"map_files_photo_id_array":[{"photo_id":"1330564144","filename":"file5"},{"photo_id":"1330564110","filename":"file2"},{"photo_id":"1330564127","filename":"file4"},{"photo_id":"1330564097","filename":"file1"},{"photo_id":"1330564082","filename":"file0"},{"photo_id":"1330564115","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564144":["hashtag1","hashtag2"]},{"1330564110":["hashtag1","hashtag2"]},{"1330564097":["hashtag1","hashtag2"]},{"1330564082":["hashtag1","hashtag2"]},{"1330564127":["hashtag1","hashtag2"]},{"1330564115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564144, 1330564110, 1330564097, 1330564082, 1330564127, 1330564115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.871938943862915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:17:22.104675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/17/image_22012025_11_17_53_6453.jpg', '/media/data/images/22012025/11/17/image_22012025_11_17_47_6451.jpg', '/media/data/images/22012025/11/17/image_22012025_11_17_40_5175.jpg', '/media/data/images/22012025/11/17/image_22012025_11_17_35_6061.jpg', '/media/data/images/22012025/11/17/image_22012025_11_17_30_6394.jpg', '/media/data/images/22012025/11/17/image_22012025_11_17_23_5290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/17/image_22012025_11_17_53_6453.jpg
/media/data/images/22012025/11/17/image_22012025_11_17_47_6451.jpg
/media/data/images/22012025/11/17/image_22012025_11_17_40_5175.jpg
/media/data/images/22012025/11/17/image_22012025_11_17_35_6061.jpg
/media/data/images/22012025/11/17/image_22012025_11_17_30_6394.jpg
/media/data/images/22012025/11/17/image_22012025_11_17_23_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":["1330564303","1330564309","1330564266","1330564289","1330564256","1330564241"],"photo_ids_order":["1330564241","1330564256","1330564266","1330564289","1330564303","1330564309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fd20f0aeed98ba4fe49f3b554cc98bb.jpg","text":"TemporaryFile(/tmp/multipartBody5487930286327493054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_30_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/22/1ebadfd15fc2d3fe1947dbb0517957c8.jpg","text":"TemporaryFile(/tmp/multipartBody6127136829629198772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_23_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/22/a23be92e525daf38305e8b55d38945cd.jpg","text":"TemporaryFile(/tmp/multipartBody7915487153165305500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_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/22/9fa2f0c49cf54dc08c16f867597d4064.jpg","text":"TemporaryFile(/tmp/multipartBody1449426605838040584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_35_6061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/74fa6ec0b87b2a925757c6f1fc932be1.jpg","text":"TemporaryFile(/tmp/multipartBody4591234890566367507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_47_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/22/3525b51dafcee0f22ccb97225bfe639a.jpg","text":"TemporaryFile(/tmp/multipartBody979945254486112143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541112239,"filename":"image_22012025_11_17_53_6453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564266","file1":"1330564256","file0":"1330564241","file4":"1330564303","file5":"1330564309","file3":"1330564289"},"map_files_photo_id_array":[{"photo_id":"1330564309","filename":"file5"},{"photo_id":"1330564266","filename":"file2"},{"photo_id":"1330564303","filename":"file4"},{"photo_id":"1330564256","filename":"file1"},{"photo_id":"1330564241","filename":"file0"},{"photo_id":"1330564289","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564303":["hashtag1","hashtag2"]},{"1330564309":["hashtag1","hashtag2"]},{"1330564266":["hashtag1","hashtag2"]},{"1330564289":["hashtag1","hashtag2"]},{"1330564256":["hashtag1","hashtag2"]},{"1330564241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564303, 1330564309, 1330564266, 1330564289, 1330564256, 1330564241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.47650742530823 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:18:22.245338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/18/image_22012025_11_18_53_6467.jpg', '/media/data/images/22012025/11/18/image_22012025_11_18_47_5305.jpg', '/media/data/images/22012025/11/18/image_22012025_11_18_41_6397.jpg', '/media/data/images/22012025/11/18/image_22012025_11_18_35_6169.jpg', '/media/data/images/22012025/11/18/image_22012025_11_18_29_6167.jpg', '/media/data/images/22012025/11/18/image_22012025_11_18_23_5260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/18/image_22012025_11_18_53_6467.jpg
/media/data/images/22012025/11/18/image_22012025_11_18_47_5305.jpg
/media/data/images/22012025/11/18/image_22012025_11_18_41_6397.jpg
/media/data/images/22012025/11/18/image_22012025_11_18_35_6169.jpg
/media/data/images/22012025/11/18/image_22012025_11_18_29_6167.jpg
/media/data/images/22012025/11/18/image_22012025_11_18_23_5260.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330564342","1330564461","1330564443","1330564332","1330564449","1330564328"],"photo_ids_order":["1330564328","1330564332","1330564342","1330564443","1330564449","1330564461"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04d693854d7fae4908cb6bca12eef6b1.jpg","text":"TemporaryFile(/tmp/multipartBody215400118366161519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_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/22/5e1cb3196c4cfe577fda6a889e9ead14.jpg","text":"TemporaryFile(/tmp/multipartBody6640079311419594588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_23_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/22/ac04ac3e3d042a405e072e54d5aa861a.jpg","text":"TemporaryFile(/tmp/multipartBody1711310397552603010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_35_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/22/4d3ff670a745417555ddd36248a655c9.jpg","text":"TemporaryFile(/tmp/multipartBody6903939488724634364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_47_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/22/ab0bfc090203a06f434d3930ad0beb62.jpg","text":"TemporaryFile(/tmp/multipartBody4190759603902734448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_29_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/22/43019a006d710c01b05a1705ebaa9530.jpg","text":"TemporaryFile(/tmp/multipartBody7696486773704446899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541174742,"filename":"image_22012025_11_18_53_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564342","file1":"1330564332","file0":"1330564328","file4":"1330564449","file5":"1330564461","file3":"1330564443"},"map_files_photo_id_array":[{"photo_id":"1330564461","filename":"file5"},{"photo_id":"1330564342","filename":"file2"},{"photo_id":"1330564449","filename":"file4"},{"photo_id":"1330564332","filename":"file1"},{"photo_id":"1330564328","filename":"file0"},{"photo_id":"1330564443","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564342":["hashtag1","hashtag2"]},{"1330564461":["hashtag1","hashtag2"]},{"1330564443":["hashtag1","hashtag2"]},{"1330564332":["hashtag1","hashtag2"]},{"1330564449":["hashtag1","hashtag2"]},{"1330564328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564342, 1330564461, 1330564443, 1330564332, 1330564449, 1330564328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70396447181702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:19:22.418017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/19/image_22012025_11_19_53_6452.jpg', '/media/data/images/22012025/11/19/image_22012025_11_19_47_6446.jpg', '/media/data/images/22012025/11/19/image_22012025_11_19_40_5208.jpg', '/media/data/images/22012025/11/19/image_22012025_11_19_35_6469.jpg', '/media/data/images/22012025/11/19/image_22012025_11_19_29_6210.jpg', '/media/data/images/22012025/11/19/image_22012025_11_19_23_5307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/19/image_22012025_11_19_53_6452.jpg
/media/data/images/22012025/11/19/image_22012025_11_19_47_6446.jpg
/media/data/images/22012025/11/19/image_22012025_11_19_40_5208.jpg
/media/data/images/22012025/11/19/image_22012025_11_19_35_6469.jpg
/media/data/images/22012025/11/19/image_22012025_11_19_29_6210.jpg
/media/data/images/22012025/11/19/image_22012025_11_19_23_5307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330564554","1330564548","1330564583","1330564574","1330564594","1330564588"],"photo_ids_order":["1330564548","1330564554","1330564574","1330564583","1330564588","1330564594"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/310333e9af91474345972c64eee58700.jpg","text":"TemporaryFile(/tmp/multipartBody1821015987188989316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_47_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/22/474f488447f6d657e3935cad2acfab65.jpg","text":"TemporaryFile(/tmp/multipartBody6791402676056132346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_53_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/22/ec296572934d478432744fd2f474c7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2540969202289045985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_35_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/22/863f911c78550beb7723984bebb5202f.jpg","text":"TemporaryFile(/tmp/multipartBody7031329572606011370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_40_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/22/e44f6da050d1e2f80b89eee250502c04.jpg","text":"TemporaryFile(/tmp/multipartBody4165039171190256500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_23_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/22/a785be308b04442e12fe5d449bce4b92.jpg","text":"TemporaryFile(/tmp/multipartBody6334518147172416269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541228461,"filename":"image_22012025_11_19_29_6210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564574","file1":"1330564554","file0":"1330564548","file4":"1330564588","file5":"1330564594","file3":"1330564583"},"map_files_photo_id_array":[{"photo_id":"1330564594","filename":"file5"},{"photo_id":"1330564574","filename":"file2"},{"photo_id":"1330564588","filename":"file4"},{"photo_id":"1330564554","filename":"file1"},{"photo_id":"1330564548","filename":"file0"},{"photo_id":"1330564583","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564554":["hashtag1","hashtag2"]},{"1330564548":["hashtag1","hashtag2"]},{"1330564583":["hashtag1","hashtag2"]},{"1330564574":["hashtag1","hashtag2"]},{"1330564594":["hashtag1","hashtag2"]},{"1330564588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564554, 1330564548, 1330564583, 1330564574, 1330564594, 1330564588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.450249671936035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:20:22.529248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/20/image_22012025_11_20_53_6390.jpg', '/media/data/images/22012025/11/20/image_22012025_11_20_47_5234.jpg', '/media/data/images/22012025/11/20/image_22012025_11_20_41_6256.jpg', '/media/data/images/22012025/11/20/image_22012025_11_20_35_6480.jpg', '/media/data/images/22012025/11/20/image_22012025_11_20_29_5669.jpg', '/media/data/images/22012025/11/20/image_22012025_11_20_23_6500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/20/image_22012025_11_20_53_6390.jpg
/media/data/images/22012025/11/20/image_22012025_11_20_47_5234.jpg
/media/data/images/22012025/11/20/image_22012025_11_20_41_6256.jpg
/media/data/images/22012025/11/20/image_22012025_11_20_35_6480.jpg
/media/data/images/22012025/11/20/image_22012025_11_20_29_5669.jpg
/media/data/images/22012025/11/20/image_22012025_11_20_23_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":["1330564726","1330564735","1330564686","1330564674","1330564730","1330564681"],"photo_ids_order":["1330564674","1330564681","1330564686","1330564726","1330564730","1330564735"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fe4e5d4f19d251f21973d6d6b8b8c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4538263498504645681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_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/22/bbb36abd441b135e613b6e0eda6ce64a.jpg","text":"TemporaryFile(/tmp/multipartBody4507084661151537070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_23_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/22/bb705f3334120bc26caf6e081b671aef.jpg","text":"TemporaryFile(/tmp/multipartBody4939110591467526068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_41_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/22/76ea51c9e477ab5a518338111a29344d.jpg","text":"TemporaryFile(/tmp/multipartBody5009049724137927552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_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/22/a4156167c465b3d0e3cafd59144b9ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6470443661081350011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_29_5669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cd66ba34681ff5cf9247bdb64663a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1975558377767131992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541291988,"filename":"image_22012025_11_20_47_5234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564686","file1":"1330564681","file0":"1330564674","file4":"1330564730","file5":"1330564735","file3":"1330564726"},"map_files_photo_id_array":[{"photo_id":"1330564735","filename":"file5"},{"photo_id":"1330564686","filename":"file2"},{"photo_id":"1330564730","filename":"file4"},{"photo_id":"1330564681","filename":"file1"},{"photo_id":"1330564674","filename":"file0"},{"photo_id":"1330564726","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564726":["hashtag1","hashtag2"]},{"1330564735":["hashtag1","hashtag2"]},{"1330564686":["hashtag1","hashtag2"]},{"1330564674":["hashtag1","hashtag2"]},{"1330564730":["hashtag1","hashtag2"]},{"1330564681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564726, 1330564735, 1330564686, 1330564674, 1330564730, 1330564681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65272831916809 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:21:22.705794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/21/image_22012025_11_21_53_6422.jpg', '/media/data/images/22012025/11/21/image_22012025_11_21_46_5211.jpg', '/media/data/images/22012025/11/21/image_22012025_11_21_41_6426.jpg', '/media/data/images/22012025/11/21/image_22012025_11_21_35_5289.jpg', '/media/data/images/22012025/11/21/image_22012025_11_21_30_6817.jpg', '/media/data/images/22012025/11/21/image_22012025_11_21_23_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/21/image_22012025_11_21_53_6422.jpg
/media/data/images/22012025/11/21/image_22012025_11_21_46_5211.jpg
/media/data/images/22012025/11/21/image_22012025_11_21_41_6426.jpg
/media/data/images/22012025/11/21/image_22012025_11_21_35_5289.jpg
/media/data/images/22012025/11/21/image_22012025_11_21_30_6817.jpg
/media/data/images/22012025/11/21/image_22012025_11_21_23_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":["1330564807","1330564797","1330564779","1330564770","1330564787","1330564811"],"photo_ids_order":["1330564770","1330564779","1330564787","1330564797","1330564807","1330564811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d5cdf7eb6ae28c196b6f8f657de0897.jpg","text":"TemporaryFile(/tmp/multipartBody6657017182343226727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_30_6817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c38376b84541b62b511f74133b3e0ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2133790868306806057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_35_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/22/64e28b0c2df8fe0e3e4273fc6ec0c8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1023386535929806829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_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/22/369c28abbeb05188aae56c9a010f11c7.jpg","text":"TemporaryFile(/tmp/multipartBody3153562010467966543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_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/22/78117aab07b415e6ad27265f54176473.jpg","text":"TemporaryFile(/tmp/multipartBody3074825642331870143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_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/22/4a9f9437733507d14382aeddc1babf77.jpg","text":"TemporaryFile(/tmp/multipartBody8195380317319965737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541350613,"filename":"image_22012025_11_21_23_5211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330564787","file1":"1330564779","file0":"1330564770","file4":"1330564807","file5":"1330564811","file3":"1330564797"},"map_files_photo_id_array":[{"photo_id":"1330564811","filename":"file5"},{"photo_id":"1330564787","filename":"file2"},{"photo_id":"1330564807","filename":"file4"},{"photo_id":"1330564779","filename":"file1"},{"photo_id":"1330564770","filename":"file0"},{"photo_id":"1330564797","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330564807":["hashtag1","hashtag2"]},{"1330564797":["hashtag1","hashtag2"]},{"1330564779":["hashtag1","hashtag2"]},{"1330564770":["hashtag1","hashtag2"]},{"1330564787":["hashtag1","hashtag2"]},{"1330564811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330564807, 1330564797, 1330564779, 1330564770, 1330564787, 1330564811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26346564292908 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:22:22.755965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/22/image_22012025_11_22_53_6421.jpg', '/media/data/images/22012025/11/22/image_22012025_11_22_47_6457.jpg', '/media/data/images/22012025/11/22/image_22012025_11_22_40_5276.jpg', '/media/data/images/22012025/11/22/image_22012025_11_22_35_6159.jpg', '/media/data/images/22012025/11/22/image_22012025_11_22_29_5431.jpg', '/media/data/images/22012025/11/22/image_22012025_11_22_24_6597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/22/image_22012025_11_22_53_6421.jpg
/media/data/images/22012025/11/22/image_22012025_11_22_47_6457.jpg
/media/data/images/22012025/11/22/image_22012025_11_22_40_5276.jpg
/media/data/images/22012025/11/22/image_22012025_11_22_35_6159.jpg
/media/data/images/22012025/11/22/image_22012025_11_22_29_5431.jpg
/media/data/images/22012025/11/22/image_22012025_11_22_24_6597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330565874","1330564992","1330564986","1330565090","1330565374","1330565626"],"photo_ids_order":["1330564986","1330564992","1330565090","1330565374","1330565626","1330565874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c5a28387e971d3f7c5a59eb0d54875e.jpg","text":"TemporaryFile(/tmp/multipartBody2599806107739260051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_24_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/22/a1f47d83284a8120401a63fef40ccbf0.jpg","text":"TemporaryFile(/tmp/multipartBody2132168560428544441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_47_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/22/e49930df38114473b103846550788a92.jpg","text":"TemporaryFile(/tmp/multipartBody7578782554173255265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_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/22/e2abfc6fb20ecc840677c50b6deb0273.jpg","text":"TemporaryFile(/tmp/multipartBody1703268658638113291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_40_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/22/81d7fb0f071aac7c364daec25863f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8588096216424759495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_35_6159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fa90f016a255c32776ddbbcc63c05dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1346448829341982601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541413138,"filename":"image_22012025_11_22_29_5431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330565090","file1":"1330564992","file0":"1330564986","file4":"1330565626","file5":"1330565874","file3":"1330565374"},"map_files_photo_id_array":[{"photo_id":"1330565874","filename":"file5"},{"photo_id":"1330565090","filename":"file2"},{"photo_id":"1330565626","filename":"file4"},{"photo_id":"1330564992","filename":"file1"},{"photo_id":"1330564986","filename":"file0"},{"photo_id":"1330565374","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330565874":["hashtag1","hashtag2"]},{"1330564992":["hashtag1","hashtag2"]},{"1330564986":["hashtag1","hashtag2"]},{"1330565090":["hashtag1","hashtag2"]},{"1330565374":["hashtag1","hashtag2"]},{"1330565626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330565874, 1330564992, 1330564986, 1330565090, 1330565374, 1330565626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47583055496216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:23:21.914899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/23/image_22012025_11_23_40_5283.jpg', '/media/data/images/22012025/11/23/image_22012025_11_23_35_5104.jpg', '/media/data/images/22012025/11/23/image_22012025_11_23_31_7592.jpg', '/media/data/images/22012025/11/23/image_22012025_11_23_22_5023.jpg', '/media/data/images/22012025/11/23/image_22012025_11_23_17_6495.jpg', '/media/data/images/22012025/11/23/image_22012025_11_23_11_5808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/23/image_22012025_11_23_40_5283.jpg
/media/data/images/22012025/11/23/image_22012025_11_23_35_5104.jpg
/media/data/images/22012025/11/23/image_22012025_11_23_31_7592.jpg
/media/data/images/22012025/11/23/image_22012025_11_23_22_5023.jpg
/media/data/images/22012025/11/23/image_22012025_11_23_17_6495.jpg
/media/data/images/22012025/11/23/image_22012025_11_23_11_5808.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":["1330566170","1330566187","1330566125","1330566211","1330566118","1330566180"],"photo_ids_order":["1330566118","1330566125","1330566170","1330566180","1330566187","1330566211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/223d7194d6391217ee0fb72bba3b929a.jpg","text":"TemporaryFile(/tmp/multipartBody5953426202378825562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_31_7592.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b93c440145a314802f7ecd746838c51.jpg","text":"TemporaryFile(/tmp/multipartBody6063609206212513307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_17_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/22/1f5caf67266f650df397d5b2658b0d35.jpg","text":"TemporaryFile(/tmp/multipartBody5258219204013546652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_35_5104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/93b2115b74bf70509b09c094e9571417.jpg","text":"TemporaryFile(/tmp/multipartBody1651884510569281731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_11_5808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f72a606cf7d7732f5a40d1918c8649a.jpg","text":"TemporaryFile(/tmp/multipartBody1060247734078010404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_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/22/aeb4aeef1c93c62719d0ded480f0f981.jpg","text":"TemporaryFile(/tmp/multipartBody4751610034202749858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541476043,"filename":"image_22012025_11_23_22_5023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330566170","file1":"1330566125","file0":"1330566118","file4":"1330566187","file5":"1330566211","file3":"1330566180"},"map_files_photo_id_array":[{"photo_id":"1330566211","filename":"file5"},{"photo_id":"1330566170","filename":"file2"},{"photo_id":"1330566187","filename":"file4"},{"photo_id":"1330566125","filename":"file1"},{"photo_id":"1330566118","filename":"file0"},{"photo_id":"1330566180","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330566170":["hashtag1","hashtag2"]},{"1330566187":["hashtag1","hashtag2"]},{"1330566125":["hashtag1","hashtag2"]},{"1330566211":["hashtag1","hashtag2"]},{"1330566118":["hashtag1","hashtag2"]},{"1330566180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330566170, 1330566187, 1330566125, 1330566211, 1330566118, 1330566180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.76184320449829 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:24:42.254381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/24/image_22012025_11_24_52_5193.jpg', '/media/data/images/22012025/11/24/image_22012025_11_24_47_6541.jpg', '/media/data/images/22012025/11/24/image_22012025_11_24_35_6199.jpg', '/media/data/images/22012025/11/24/image_22012025_11_24_29_4553.jpg', '/media/data/images/22012025/11/24/image_22012025_11_24_24_7163.jpg', '/media/data/images/22012025/11/24/image_22012025_11_24_11_6486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/24/image_22012025_11_24_52_5193.jpg
/media/data/images/22012025/11/24/image_22012025_11_24_47_6541.jpg
/media/data/images/22012025/11/24/image_22012025_11_24_35_6199.jpg
/media/data/images/22012025/11/24/image_22012025_11_24_29_4553.jpg
/media/data/images/22012025/11/24/image_22012025_11_24_24_7163.jpg
/media/data/images/22012025/11/24/image_22012025_11_24_11_6486.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! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 316.7661385536194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:30:03.439443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/29/image_22012025_11_29_52_5345.jpg', '/media/data/images/22012025/11/29/image_22012025_11_29_47_6570.jpg', '/media/data/images/22012025/11/29/image_22012025_11_29_41_5342.jpg', '/media/data/images/22012025/11/29/image_22012025_11_29_35_6622.jpg', '/media/data/images/22012025/11/29/image_22012025_11_29_29_5332.jpg', '/media/data/images/22012025/11/29/image_22012025_11_29_23_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/29/image_22012025_11_29_52_5345.jpg
/media/data/images/22012025/11/29/image_22012025_11_29_47_6570.jpg
/media/data/images/22012025/11/29/image_22012025_11_29_41_5342.jpg
/media/data/images/22012025/11/29/image_22012025_11_29_35_6622.jpg
/media/data/images/22012025/11/29/image_22012025_11_29_29_5332.jpg
/media/data/images/22012025/11/29/image_22012025_11_29_23_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":["1330567203","1330567181","1330567256","1330567284","1330567251","1330567131"],"photo_ids_order":["1330567131","1330567181","1330567203","1330567251","1330567256","1330567284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/daff6e90b618dc5fc8dfd8d23f67e1f0.jpg","text":"TemporaryFile(/tmp/multipartBody5211961218775399606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_41_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/22/e84d9ec79fd7248283a7bf0b34d5184d.jpg","text":"TemporaryFile(/tmp/multipartBody5942397746774532452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_47_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/22/287331d110e3d6ef0f4195f0b9a94a32.jpg","text":"TemporaryFile(/tmp/multipartBody7170945421842409937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_29_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/22/0e26c8c2cc82566d663cbd7de1ebaa67.jpg","text":"TemporaryFile(/tmp/multipartBody3668008723859849188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_23_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/22/a9454b1fa66fbffed38388bec155d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2985420348016350114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_35_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3cb7f879a7d00343c8788096251d0991.jpg","text":"TemporaryFile(/tmp/multipartBody5501203500205609518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541878315,"filename":"image_22012025_11_29_52_5345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330567203","file1":"1330567181","file0":"1330567131","file4":"1330567256","file5":"1330567284","file3":"1330567251"},"map_files_photo_id_array":[{"photo_id":"1330567284","filename":"file5"},{"photo_id":"1330567203","filename":"file2"},{"photo_id":"1330567256","filename":"file4"},{"photo_id":"1330567181","filename":"file1"},{"photo_id":"1330567131","filename":"file0"},{"photo_id":"1330567251","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330567203":["hashtag1","hashtag2"]},{"1330567181":["hashtag1","hashtag2"]},{"1330567256":["hashtag1","hashtag2"]},{"1330567284":["hashtag1","hashtag2"]},{"1330567251":["hashtag1","hashtag2"]},{"1330567131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330567203, 1330567181, 1330567256, 1330567284, 1330567251, 1330567131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.36668014526367 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:31:03.577066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/30/image_22012025_11_30_53_6095.jpg', '/media/data/images/22012025/11/30/image_22012025_11_30_47_6570.jpg', '/media/data/images/22012025/11/30/image_22012025_11_30_41_5369.jpg', '/media/data/images/22012025/11/30/image_22012025_11_30_35_6608.jpg', '/media/data/images/22012025/11/30/image_22012025_11_30_29_5336.jpg', '/media/data/images/22012025/11/30/image_22012025_11_30_24_6630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/30/image_22012025_11_30_53_6095.jpg
/media/data/images/22012025/11/30/image_22012025_11_30_47_6570.jpg
/media/data/images/22012025/11/30/image_22012025_11_30_41_5369.jpg
/media/data/images/22012025/11/30/image_22012025_11_30_35_6608.jpg
/media/data/images/22012025/11/30/image_22012025_11_30_29_5336.jpg
/media/data/images/22012025/11/30/image_22012025_11_30_24_6630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330567631","1330567649","1330567627","1330567603","1330567653","1330567656"],"photo_ids_order":["1330567603","1330567627","1330567631","1330567649","1330567653","1330567656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a68deba462be8cb84d8cc5a2dce785eb.jpg","text":"TemporaryFile(/tmp/multipartBody5516010091069256783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_41_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/22/d870c20050764307fa27dcab6149df6c.jpg","text":"TemporaryFile(/tmp/multipartBody7287060091049860449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_35_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/22/40cb959e4eecb5118f5b913f3e709209.jpg","text":"TemporaryFile(/tmp/multipartBody6460628738038103825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_47_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/22/cf70ca4abea9966512b91243a5e6b376.jpg","text":"TemporaryFile(/tmp/multipartBody3856095643936448625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_53_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/87b40df2bea42dfe29109414218223f1.jpg","text":"TemporaryFile(/tmp/multipartBody2820733339468107624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_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/22/e2bdd060b5bb0fe24903710dcb141347.jpg","text":"TemporaryFile(/tmp/multipartBody8106607606461492536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737541938920,"filename":"image_22012025_11_30_24_6630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330567631","file1":"1330567627","file0":"1330567603","file4":"1330567653","file5":"1330567656","file3":"1330567649"},"map_files_photo_id_array":[{"photo_id":"1330567656","filename":"file5"},{"photo_id":"1330567631","filename":"file2"},{"photo_id":"1330567653","filename":"file4"},{"photo_id":"1330567627","filename":"file1"},{"photo_id":"1330567603","filename":"file0"},{"photo_id":"1330567649","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330567631":["hashtag1","hashtag2"]},{"1330567649":["hashtag1","hashtag2"]},{"1330567627":["hashtag1","hashtag2"]},{"1330567603":["hashtag1","hashtag2"]},{"1330567653":["hashtag1","hashtag2"]},{"1330567656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330567631, 1330567649, 1330567627, 1330567603, 1330567653, 1330567656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.14817476272583 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:32:03.252008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/31/image_22012025_11_31_53_6439.jpg', '/media/data/images/22012025/11/31/image_22012025_11_31_47_5265.jpg', '/media/data/images/22012025/11/31/image_22012025_11_31_41_6499.jpg', '/media/data/images/22012025/11/31/image_22012025_11_31_35_6481.jpg', '/media/data/images/22012025/11/31/image_22012025_11_31_28_5252.jpg', '/media/data/images/22012025/11/31/image_22012025_11_31_23_6285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/31/image_22012025_11_31_53_6439.jpg
/media/data/images/22012025/11/31/image_22012025_11_31_47_5265.jpg
/media/data/images/22012025/11/31/image_22012025_11_31_41_6499.jpg
/media/data/images/22012025/11/31/image_22012025_11_31_35_6481.jpg
/media/data/images/22012025/11/31/image_22012025_11_31_28_5252.jpg
/media/data/images/22012025/11/31/image_22012025_11_31_23_6285.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.239829301834106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:32:22.283135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/32/image_22012025_11_32_52_5265.jpg', '/media/data/images/22012025/11/32/image_22012025_11_32_47_6460.jpg', '/media/data/images/22012025/11/32/image_22012025_11_32_41_5294.jpg', '/media/data/images/22012025/11/32/image_22012025_11_32_35_6442.jpg', '/media/data/images/22012025/11/32/image_22012025_11_32_29_6471.jpg', '/media/data/images/22012025/11/32/image_22012025_11_32_23_5147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/32/image_22012025_11_32_52_5265.jpg
/media/data/images/22012025/11/32/image_22012025_11_32_47_6460.jpg
/media/data/images/22012025/11/32/image_22012025_11_32_41_5294.jpg
/media/data/images/22012025/11/32/image_22012025_11_32_35_6442.jpg
/media/data/images/22012025/11/32/image_22012025_11_32_29_6471.jpg
/media/data/images/22012025/11/32/image_22012025_11_32_23_5147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330568057","1330567895","1330567980","1330567782","1330567863","1330567800"],"photo_ids_order":["1330567782","1330567800","1330567863","1330567895","1330567980","1330568057"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83460cd2529c1561be305e0c1fc2f056.jpg","text":"TemporaryFile(/tmp/multipartBody4745874458338251814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_23_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/22/968c777ede34ed2914d639c083314d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1373606226609209485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_35_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/22/e2ff13c9643da26dca83064dc3d17c00.jpg","text":"TemporaryFile(/tmp/multipartBody5305959796975691044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_29_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/22/028fc60f7cf6ba6ca60257da17b9adfb.jpg","text":"TemporaryFile(/tmp/multipartBody8763753387386047581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_52_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/22/88e848c160f7da6487c817009d9df17b.jpg","text":"TemporaryFile(/tmp/multipartBody6698783653320723463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_41_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/22/a6386ac64bfd97b3c1dcaf7ed49605ce.jpg","text":"TemporaryFile(/tmp/multipartBody6227242097680994253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542016111,"filename":"image_22012025_11_32_47_6460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330567863","file1":"1330567800","file0":"1330567782","file4":"1330567980","file5":"1330568057","file3":"1330567895"},"map_files_photo_id_array":[{"photo_id":"1330568057","filename":"file5"},{"photo_id":"1330567863","filename":"file2"},{"photo_id":"1330567980","filename":"file4"},{"photo_id":"1330567800","filename":"file1"},{"photo_id":"1330567782","filename":"file0"},{"photo_id":"1330567895","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330568057":["hashtag1","hashtag2"]},{"1330567895":["hashtag1","hashtag2"]},{"1330567980":["hashtag1","hashtag2"]},{"1330567782":["hashtag1","hashtag2"]},{"1330567863":["hashtag1","hashtag2"]},{"1330567800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330568057, 1330567895, 1330567980, 1330567782, 1330567863, 1330567800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27299237251282 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:33:22.402822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/33/image_22012025_11_33_53_6624.jpg', '/media/data/images/22012025/11/33/image_22012025_11_33_47_5361.jpg', '/media/data/images/22012025/11/33/image_22012025_11_33_41_5360.jpg', '/media/data/images/22012025/11/33/image_22012025_11_33_36_6650.jpg', '/media/data/images/22012025/11/33/image_22012025_11_33_30_6639.jpg', '/media/data/images/22012025/11/33/image_22012025_11_33_23_5796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/33/image_22012025_11_33_53_6624.jpg
/media/data/images/22012025/11/33/image_22012025_11_33_47_5361.jpg
/media/data/images/22012025/11/33/image_22012025_11_33_41_5360.jpg
/media/data/images/22012025/11/33/image_22012025_11_33_36_6650.jpg
/media/data/images/22012025/11/33/image_22012025_11_33_30_6639.jpg
/media/data/images/22012025/11/33/image_22012025_11_33_23_5796.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":["1330568506","1330568515","1330568478","1330568475","1330568520","1330568511"],"photo_ids_order":["1330568475","1330568478","1330568506","1330568511","1330568515","1330568520"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a34e461fe14bba9ff37820c492d19c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2789669197699585061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_41_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/22/218b414ff10859a4f25e4cb53e642629.jpg","text":"TemporaryFile(/tmp/multipartBody3612577502497959260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_30_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/057ee9340c59603b49e664c5a664c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody2686348230436251351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_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/22/8a605d461b815dd320c133af53afc7fc.jpg","text":"TemporaryFile(/tmp/multipartBody5414311793929044910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_53_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/22/fe1bbffeb89b57ed91b2a9b00df503aa.jpg","text":"TemporaryFile(/tmp/multipartBody4778493321795631843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_23_5796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ca6fa45d669d29f453a355f00e8db2f2.jpg","text":"TemporaryFile(/tmp/multipartBody1583780330771395658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542097511,"filename":"image_22012025_11_33_36_6650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330568506","file1":"1330568478","file0":"1330568475","file4":"1330568515","file5":"1330568520","file3":"1330568511"},"map_files_photo_id_array":[{"photo_id":"1330568520","filename":"file5"},{"photo_id":"1330568506","filename":"file2"},{"photo_id":"1330568515","filename":"file4"},{"photo_id":"1330568478","filename":"file1"},{"photo_id":"1330568475","filename":"file0"},{"photo_id":"1330568511","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330568506":["hashtag1","hashtag2"]},{"1330568515":["hashtag1","hashtag2"]},{"1330568478":["hashtag1","hashtag2"]},{"1330568475":["hashtag1","hashtag2"]},{"1330568520":["hashtag1","hashtag2"]},{"1330568511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330568506, 1330568515, 1330568478, 1330568475, 1330568520, 1330568511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.53535437583923 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:34:42.521383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/34/image_22012025_11_34_54_6732.jpg', '/media/data/images/22012025/11/34/image_22012025_11_34_48_6668.jpg', '/media/data/images/22012025/11/34/image_22012025_11_34_41_4437.jpg', '/media/data/images/22012025/11/34/image_22012025_11_34_37_6590.jpg', '/media/data/images/22012025/11/34/image_22012025_11_34_30_6720.jpg', '/media/data/images/22012025/11/34/image_22012025_11_34_23_5472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/34/image_22012025_11_34_54_6732.jpg
/media/data/images/22012025/11/34/image_22012025_11_34_48_6668.jpg
/media/data/images/22012025/11/34/image_22012025_11_34_41_4437.jpg
/media/data/images/22012025/11/34/image_22012025_11_34_37_6590.jpg
/media/data/images/22012025/11/34/image_22012025_11_34_30_6720.jpg
/media/data/images/22012025/11/34/image_22012025_11_34_23_5472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330568677","1330568701","1330568704","1330568682","1330568687","1330568672"],"photo_ids_order":["1330568672","1330568677","1330568682","1330568687","1330568701","1330568704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f304187aa03b6257867fa156ea0491cf.jpg","text":"TemporaryFile(/tmp/multipartBody8453169811343557701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_48_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/22/90fc7c73c104839f5f235c4f49dedc25.jpg","text":"TemporaryFile(/tmp/multipartBody7700607421370672736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_30_6720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/edc10280f74cc8098ff113378f6ac1ac.jpg","text":"TemporaryFile(/tmp/multipartBody318131781739624504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_23_5472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3019d1a9717df58b43bc2e1d4d2726f3.jpg","text":"TemporaryFile(/tmp/multipartBody7077472916621358458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_41_4437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3dc0e7f48b14dbf3e7bc4cb014bb10a1.jpg","text":"TemporaryFile(/tmp/multipartBody8933319573880909512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_37_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/22/675b0ead5936d77339379fcce22763bb.jpg","text":"TemporaryFile(/tmp/multipartBody2762295212846333763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542174252,"filename":"image_22012025_11_34_54_6732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330568682","file1":"1330568677","file0":"1330568672","file4":"1330568701","file5":"1330568704","file3":"1330568687"},"map_files_photo_id_array":[{"photo_id":"1330568704","filename":"file5"},{"photo_id":"1330568682","filename":"file2"},{"photo_id":"1330568701","filename":"file4"},{"photo_id":"1330568677","filename":"file1"},{"photo_id":"1330568672","filename":"file0"},{"photo_id":"1330568687","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330568677":["hashtag1","hashtag2"]},{"1330568701":["hashtag1","hashtag2"]},{"1330568704":["hashtag1","hashtag2"]},{"1330568682":["hashtag1","hashtag2"]},{"1330568687":["hashtag1","hashtag2"]},{"1330568672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330568677, 1330568701, 1330568704, 1330568682, 1330568687, 1330568672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.90641570091248 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:36:03.201631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/35/image_22012025_11_35_54_6094.jpg', '/media/data/images/22012025/11/35/image_22012025_11_35_48_6670.jpg', '/media/data/images/22012025/11/35/image_22012025_11_35_41_5366.jpg', '/media/data/images/22012025/11/35/image_22012025_11_35_35_6571.jpg', '/media/data/images/22012025/11/35/image_22012025_11_35_29_5396.jpg', '/media/data/images/22012025/11/35/image_22012025_11_35_24_6607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/35/image_22012025_11_35_54_6094.jpg
/media/data/images/22012025/11/35/image_22012025_11_35_48_6670.jpg
/media/data/images/22012025/11/35/image_22012025_11_35_41_5366.jpg
/media/data/images/22012025/11/35/image_22012025_11_35_35_6571.jpg
/media/data/images/22012025/11/35/image_22012025_11_35_29_5396.jpg
/media/data/images/22012025/11/35/image_22012025_11_35_24_6607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330568816","1330568833","1330568836","1330568812","1330568814","1330568852"],"photo_ids_order":["1330568812","1330568814","1330568816","1330568833","1330568836","1330568852"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30280a746ee1b94fefee063d3f79b38f.jpg","text":"TemporaryFile(/tmp/multipartBody5143123693091527116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_41_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/22/07a760222f2bd2c2d5cacbbc5052544f.jpg","text":"TemporaryFile(/tmp/multipartBody8033374386978265251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_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/22/5cd57b5de4526fe79ffde1a8c0700f49.jpg","text":"TemporaryFile(/tmp/multipartBody1115323853507991545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_29_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/79102e0e23b62089342d7c16465bf9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2992501047924358316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_54_6094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61e0894c6cb6bbc5c416a186dfe0e13c.jpg","text":"TemporaryFile(/tmp/multipartBody5017554392471498059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_48_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/22/67b0472d768b1e5e10687a88cd8e1808.jpg","text":"TemporaryFile(/tmp/multipartBody4063849128790293177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542251666,"filename":"image_22012025_11_35_24_6607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330568816","file1":"1330568814","file0":"1330568812","file4":"1330568836","file5":"1330568852","file3":"1330568833"},"map_files_photo_id_array":[{"photo_id":"1330568852","filename":"file5"},{"photo_id":"1330568816","filename":"file2"},{"photo_id":"1330568836","filename":"file4"},{"photo_id":"1330568814","filename":"file1"},{"photo_id":"1330568812","filename":"file0"},{"photo_id":"1330568833","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330568816":["hashtag1","hashtag2"]},{"1330568833":["hashtag1","hashtag2"]},{"1330568836":["hashtag1","hashtag2"]},{"1330568812":["hashtag1","hashtag2"]},{"1330568814":["hashtag1","hashtag2"]},{"1330568852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330568816, 1330568833, 1330568836, 1330568812, 1330568814, 1330568852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.653292417526245 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:37:21.920822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/37/image_22012025_11_37_53_6572.jpg', '/media/data/images/22012025/11/37/image_22012025_11_37_47_5342.jpg', '/media/data/images/22012025/11/37/image_22012025_11_37_41_6615.jpg', '/media/data/images/22012025/11/37/image_22012025_11_37_35_5606.jpg', '/media/data/images/22012025/11/37/image_22012025_11_37_30_5006.jpg', '/media/data/images/22012025/11/37/image_22012025_11_37_25_7082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/37/image_22012025_11_37_53_6572.jpg
/media/data/images/22012025/11/37/image_22012025_11_37_47_5342.jpg
/media/data/images/22012025/11/37/image_22012025_11_37_41_6615.jpg
/media/data/images/22012025/11/37/image_22012025_11_37_35_5606.jpg
/media/data/images/22012025/11/37/image_22012025_11_37_30_5006.jpg
/media/data/images/22012025/11/37/image_22012025_11_37_25_7082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330569079","1330569112","1330569096","1330569102","1330569089","1330569161"],"photo_ids_order":["1330569079","1330569089","1330569096","1330569102","1330569112","1330569161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c29b9fc7979889267242b6038454e013.jpg","text":"TemporaryFile(/tmp/multipartBody6114776962621783799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_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/22/8f6672052176ef8f27c84dba5cdcf180.jpg","text":"TemporaryFile(/tmp/multipartBody5673512086611680694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_30_5006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9efd84f00cf840cd738f6f3ac49f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody1721347242763702528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_41_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/22/189de5185fab3273d476ac73f86d8886.jpg","text":"TemporaryFile(/tmp/multipartBody6056124672018870893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_35_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7078afc5b4c0bed3af90c68b32562681.jpg","text":"TemporaryFile(/tmp/multipartBody4016682492689371655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_47_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/22/21b8cc21c69ea2a23d35983286522604.jpg","text":"TemporaryFile(/tmp/multipartBody3870126051518227386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542332199,"filename":"image_22012025_11_37_25_7082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330569096","file1":"1330569089","file0":"1330569079","file4":"1330569112","file5":"1330569161","file3":"1330569102"},"map_files_photo_id_array":[{"photo_id":"1330569161","filename":"file5"},{"photo_id":"1330569096","filename":"file2"},{"photo_id":"1330569112","filename":"file4"},{"photo_id":"1330569089","filename":"file1"},{"photo_id":"1330569079","filename":"file0"},{"photo_id":"1330569102","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569079":["hashtag1","hashtag2"]},{"1330569112":["hashtag1","hashtag2"]},{"1330569096":["hashtag1","hashtag2"]},{"1330569102":["hashtag1","hashtag2"]},{"1330569089":["hashtag1","hashtag2"]},{"1330569161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569079, 1330569112, 1330569096, 1330569102, 1330569089, 1330569161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.05086398124695 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:38:42.320937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/38/image_22012025_11_38_54_6011.jpg', '/media/data/images/22012025/11/38/image_22012025_11_38_48_6411.jpg', '/media/data/images/22012025/11/38/image_22012025_11_38_41_6440.jpg', '/media/data/images/22012025/11/38/image_22012025_11_38_35_4785.jpg', '/media/data/images/22012025/11/38/image_22012025_11_38_30_6482.jpg', '/media/data/images/22012025/11/38/image_22012025_11_38_24_6856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/38/image_22012025_11_38_54_6011.jpg
/media/data/images/22012025/11/38/image_22012025_11_38_48_6411.jpg
/media/data/images/22012025/11/38/image_22012025_11_38_41_6440.jpg
/media/data/images/22012025/11/38/image_22012025_11_38_35_4785.jpg
/media/data/images/22012025/11/38/image_22012025_11_38_30_6482.jpg
/media/data/images/22012025/11/38/image_22012025_11_38_24_6856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330569217","1330569222","1330569201","1330569207","1330569227","1330569212"],"photo_ids_order":["1330569201","1330569207","1330569212","1330569217","1330569222","1330569227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e268310f3562e0d61b311d6c3f7879fb.jpg","text":"TemporaryFile(/tmp/multipartBody6891289997549371106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_35_4785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8d7d61e2cf67eb8d128af8c8e4439d0.jpg","text":"TemporaryFile(/tmp/multipartBody8135815519733577108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_30_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/22/d2bc8894bb7e1551356028ddf766bd66.jpg","text":"TemporaryFile(/tmp/multipartBody1482838283175790599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_54_6011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14a19a9489eedde6d2208c816765930c.jpg","text":"TemporaryFile(/tmp/multipartBody4709235976055760360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_48_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/22/d2cfe0d6f9d1f2fbcefc37cfc63bbb08.jpg","text":"TemporaryFile(/tmp/multipartBody2599854266750307135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_24_6856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a9265a9509c5437be5f6984971938b9.jpg","text":"TemporaryFile(/tmp/multipartBody5110966390970029355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542389428,"filename":"image_22012025_11_38_41_6440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330569212","file1":"1330569207","file0":"1330569201","file4":"1330569222","file5":"1330569227","file3":"1330569217"},"map_files_photo_id_array":[{"photo_id":"1330569227","filename":"file5"},{"photo_id":"1330569212","filename":"file2"},{"photo_id":"1330569222","filename":"file4"},{"photo_id":"1330569207","filename":"file1"},{"photo_id":"1330569201","filename":"file0"},{"photo_id":"1330569217","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569217":["hashtag1","hashtag2"]},{"1330569222":["hashtag1","hashtag2"]},{"1330569201":["hashtag1","hashtag2"]},{"1330569207":["hashtag1","hashtag2"]},{"1330569227":["hashtag1","hashtag2"]},{"1330569212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569217, 1330569222, 1330569201, 1330569207, 1330569227, 1330569212)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.35969591140747 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:39:42.488757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/39/image_22012025_11_39_53_5090.jpg', '/media/data/images/22012025/11/39/image_22012025_11_39_48_6605.jpg', '/media/data/images/22012025/11/39/image_22012025_11_39_41_6466.jpg', '/media/data/images/22012025/11/39/image_22012025_11_39_34_5276.jpg', '/media/data/images/22012025/11/39/image_22012025_11_39_29_6522.jpg', '/media/data/images/22012025/11/39/image_22012025_11_39_23_5238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/39/image_22012025_11_39_53_5090.jpg
/media/data/images/22012025/11/39/image_22012025_11_39_48_6605.jpg
/media/data/images/22012025/11/39/image_22012025_11_39_41_6466.jpg
/media/data/images/22012025/11/39/image_22012025_11_39_34_5276.jpg
/media/data/images/22012025/11/39/image_22012025_11_39_29_6522.jpg
/media/data/images/22012025/11/39/image_22012025_11_39_23_5238.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330569286","1330569282","1330569291","1330569279","1330569294","1330569276"],"photo_ids_order":["1330569276","1330569279","1330569282","1330569286","1330569291","1330569294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/22d4f126cab2ee9ea98f4ba024dd16a3.jpg","text":"TemporaryFile(/tmp/multipartBody8247567032100225144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_34_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/22/feb2a7a79533e7c7f7701388c8873019.jpg","text":"TemporaryFile(/tmp/multipartBody4533379770975722023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_41_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/22/c04852a626f0dd09b5dfd44d6345c566.jpg","text":"TemporaryFile(/tmp/multipartBody8708725634125308653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_29_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/22/656eaff33c00a31cbb7c5b1c07b7f5fd.jpg","text":"TemporaryFile(/tmp/multipartBody8642583844426279072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_48_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/22/1c3952f6f286fbbb366e8904e1ff28da.jpg","text":"TemporaryFile(/tmp/multipartBody5670549032264410882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_23_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/22/4275edd4e1b1b38e30b7524599566a32.jpg","text":"TemporaryFile(/tmp/multipartBody492176756698174743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542451440,"filename":"image_22012025_11_39_53_5090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330569282","file1":"1330569279","file0":"1330569276","file4":"1330569291","file5":"1330569294","file3":"1330569286"},"map_files_photo_id_array":[{"photo_id":"1330569294","filename":"file5"},{"photo_id":"1330569282","filename":"file2"},{"photo_id":"1330569291","filename":"file4"},{"photo_id":"1330569279","filename":"file1"},{"photo_id":"1330569276","filename":"file0"},{"photo_id":"1330569286","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569286":["hashtag1","hashtag2"]},{"1330569282":["hashtag1","hashtag2"]},{"1330569291":["hashtag1","hashtag2"]},{"1330569279":["hashtag1","hashtag2"]},{"1330569294":["hashtag1","hashtag2"]},{"1330569276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569286, 1330569282, 1330569291, 1330569279, 1330569294, 1330569276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12431073188782 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:40:42.528887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/40/image_22012025_11_40_53_5661.jpg', '/media/data/images/22012025/11/40/image_22012025_11_40_48_6002.jpg', '/media/data/images/22012025/11/40/image_22012025_11_40_41_6432.jpg', '/media/data/images/22012025/11/40/image_22012025_11_40_35_6453.jpg', '/media/data/images/22012025/11/40/image_22012025_11_40_29_5225.jpg', '/media/data/images/22012025/11/40/image_22012025_11_40_23_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/40/image_22012025_11_40_53_5661.jpg
/media/data/images/22012025/11/40/image_22012025_11_40_48_6002.jpg
/media/data/images/22012025/11/40/image_22012025_11_40_41_6432.jpg
/media/data/images/22012025/11/40/image_22012025_11_40_35_6453.jpg
/media/data/images/22012025/11/40/image_22012025_11_40_29_5225.jpg
/media/data/images/22012025/11/40/image_22012025_11_40_23_6451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330569613","1330569619","1330569588","1330569474","1330569603","1330569563"],"photo_ids_order":["1330569474","1330569563","1330569588","1330569603","1330569613","1330569619"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c9195b8589cbe262941012e1bb978e9.jpg","text":"TemporaryFile(/tmp/multipartBody1243576727164857404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_29_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/22/9c1fd1b9581d6c1cb87e0c36bd3b1470.jpg","text":"TemporaryFile(/tmp/multipartBody7783594841240280073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_23_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/22/89b1eb05aa9b1d1f1ac6e1e704452912.jpg","text":"TemporaryFile(/tmp/multipartBody8860723720292242297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_41_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/22/ee6d9fa98a3fcafa305ad9fea596f542.jpg","text":"TemporaryFile(/tmp/multipartBody2616212554678987754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_53_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/22/c4edd53436426d1de95c0c2ec28c743d.jpg","text":"TemporaryFile(/tmp/multipartBody5559715620581153033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_35_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/22/5ce3bdfafe383e45736bd08e5fd479f1.jpg","text":"TemporaryFile(/tmp/multipartBody8629379713820791296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542512007,"filename":"image_22012025_11_40_48_6002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330569588","file1":"1330569563","file0":"1330569474","file4":"1330569613","file5":"1330569619","file3":"1330569603"},"map_files_photo_id_array":[{"photo_id":"1330569619","filename":"file5"},{"photo_id":"1330569588","filename":"file2"},{"photo_id":"1330569613","filename":"file4"},{"photo_id":"1330569563","filename":"file1"},{"photo_id":"1330569474","filename":"file0"},{"photo_id":"1330569603","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569613":["hashtag1","hashtag2"]},{"1330569619":["hashtag1","hashtag2"]},{"1330569588":["hashtag1","hashtag2"]},{"1330569474":["hashtag1","hashtag2"]},{"1330569603":["hashtag1","hashtag2"]},{"1330569563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569613, 1330569619, 1330569588, 1330569474, 1330569603, 1330569563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.80573225021362 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:41:42.754430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/41/image_22012025_11_41_53_5961.jpg', '/media/data/images/22012025/11/41/image_22012025_11_41_47_6379.jpg', '/media/data/images/22012025/11/41/image_22012025_11_41_41_5277.jpg', '/media/data/images/22012025/11/41/image_22012025_11_41_35_6500.jpg', '/media/data/images/22012025/11/41/image_22012025_11_41_29_5296.jpg', '/media/data/images/22012025/11/41/image_22012025_11_41_23_6472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/41/image_22012025_11_41_53_5961.jpg
/media/data/images/22012025/11/41/image_22012025_11_41_47_6379.jpg
/media/data/images/22012025/11/41/image_22012025_11_41_41_5277.jpg
/media/data/images/22012025/11/41/image_22012025_11_41_35_6500.jpg
/media/data/images/22012025/11/41/image_22012025_11_41_29_5296.jpg
/media/data/images/22012025/11/41/image_22012025_11_41_23_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":["1330569763","1330569838","1330569853","1330569847","1330569842","1330569824"],"photo_ids_order":["1330569763","1330569824","1330569838","1330569842","1330569847","1330569853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab80005511527a3bb7c75838d77cca8d.jpg","text":"TemporaryFile(/tmp/multipartBody3629475583299527058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_53_5961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/489a04dca7c804afc87e5033eed42463.jpg","text":"TemporaryFile(/tmp/multipartBody5392712743876342555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_41_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/22/182646f514334566b3c55004f771c6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2491704039984987282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_23_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/22/ebda25c269623be367c5b7adc6f828d7.jpg","text":"TemporaryFile(/tmp/multipartBody3490010025994113398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_29_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/22/f6263a2b5339be20bbad48f6a2b3f168.jpg","text":"TemporaryFile(/tmp/multipartBody5426529109298291335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_35_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/22/c5d003ca45dd97c2085f0b59b82601cb.jpg","text":"TemporaryFile(/tmp/multipartBody705604054409025141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542578371,"filename":"image_22012025_11_41_47_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330569838","file1":"1330569824","file0":"1330569763","file4":"1330569847","file5":"1330569853","file3":"1330569842"},"map_files_photo_id_array":[{"photo_id":"1330569853","filename":"file5"},{"photo_id":"1330569838","filename":"file2"},{"photo_id":"1330569847","filename":"file4"},{"photo_id":"1330569824","filename":"file1"},{"photo_id":"1330569763","filename":"file0"},{"photo_id":"1330569842","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569763":["hashtag1","hashtag2"]},{"1330569838":["hashtag1","hashtag2"]},{"1330569853":["hashtag1","hashtag2"]},{"1330569847":["hashtag1","hashtag2"]},{"1330569842":["hashtag1","hashtag2"]},{"1330569824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569763, 1330569838, 1330569853, 1330569847, 1330569842, 1330569824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.26678252220154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:42:42.867889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/42/image_22012025_11_42_54_6704.jpg', '/media/data/images/22012025/11/42/image_22012025_11_42_47_5362.jpg', '/media/data/images/22012025/11/42/image_22012025_11_42_42_6557.jpg', '/media/data/images/22012025/11/42/image_22012025_11_42_35_5412.jpg', '/media/data/images/22012025/11/42/image_22012025_11_42_30_6543.jpg', '/media/data/images/22012025/11/42/image_22012025_11_42_23_6626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/42/image_22012025_11_42_54_6704.jpg
/media/data/images/22012025/11/42/image_22012025_11_42_47_5362.jpg
/media/data/images/22012025/11/42/image_22012025_11_42_42_6557.jpg
/media/data/images/22012025/11/42/image_22012025_11_42_35_5412.jpg
/media/data/images/22012025/11/42/image_22012025_11_42_30_6543.jpg
/media/data/images/22012025/11/42/image_22012025_11_42_23_6626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330569955","1330570051","1330570045","1330570039","1330569957","1330570029"],"photo_ids_order":["1330569955","1330569957","1330570029","1330570039","1330570045","1330570051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adc274afe4db2a05db97acf0a70f666a.jpg","text":"TemporaryFile(/tmp/multipartBody8309524640909607216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_54_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/22/57f5fa4b156019d51481bc0dd4f69908.jpg","text":"TemporaryFile(/tmp/multipartBody4379935378037130598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_23_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/22/15588ede10619d953845d56b7f2cf9e1.jpg","text":"TemporaryFile(/tmp/multipartBody1900691962803631591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_30_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/22/1c0ba0b45f35907b6cab9322b9d453b0.jpg","text":"TemporaryFile(/tmp/multipartBody8299308292195943505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_35_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/debf882287388d3401a49ce56671aa9e.jpg","text":"TemporaryFile(/tmp/multipartBody2603605179178152093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_47_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/22/93f4664310e7ce7d82c448c0a21f11f1.jpg","text":"TemporaryFile(/tmp/multipartBody2008614490492272042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542634291,"filename":"image_22012025_11_42_42_6557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570029","file1":"1330569957","file0":"1330569955","file4":"1330570045","file5":"1330570051","file3":"1330570039"},"map_files_photo_id_array":[{"photo_id":"1330570051","filename":"file5"},{"photo_id":"1330570029","filename":"file2"},{"photo_id":"1330570045","filename":"file4"},{"photo_id":"1330569957","filename":"file1"},{"photo_id":"1330569955","filename":"file0"},{"photo_id":"1330570039","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330569955":["hashtag1","hashtag2"]},{"1330570051":["hashtag1","hashtag2"]},{"1330570045":["hashtag1","hashtag2"]},{"1330570039":["hashtag1","hashtag2"]},{"1330569957":["hashtag1","hashtag2"]},{"1330570029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330569955, 1330570051, 1330570045, 1330570039, 1330569957, 1330570029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.825339555740356 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:43:42.193959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/43/image_22012025_11_43_54_6598.jpg', '/media/data/images/22012025/11/43/image_22012025_11_43_47_5153.jpg', '/media/data/images/22012025/11/43/image_22012025_11_43_41_6613.jpg', '/media/data/images/22012025/11/43/image_22012025_11_43_35_5305.jpg', '/media/data/images/22012025/11/43/image_22012025_11_43_29_6543.jpg', '/media/data/images/22012025/11/43/image_22012025_11_43_23_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/43/image_22012025_11_43_54_6598.jpg
/media/data/images/22012025/11/43/image_22012025_11_43_47_5153.jpg
/media/data/images/22012025/11/43/image_22012025_11_43_41_6613.jpg
/media/data/images/22012025/11/43/image_22012025_11_43_35_5305.jpg
/media/data/images/22012025/11/43/image_22012025_11_43_29_6543.jpg
/media/data/images/22012025/11/43/image_22012025_11_43_23_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":["1330570310","1330570282","1330570291","1330570345","1330570275","1330570295"],"photo_ids_order":["1330570275","1330570282","1330570291","1330570295","1330570310","1330570345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3fc565ca01201ecb34317a50b6edeba.jpg","text":"TemporaryFile(/tmp/multipartBody3643654494699634503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_43_29_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/22/5faec6f6c225d3817ddbed793d2abcdc.jpg","text":"TemporaryFile(/tmp/multipartBody3148317904715782679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_43_47_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/22/c0b5e2a29ff22ae5d1f82fbb7061369c.jpg","text":"TemporaryFile(/tmp/multipartBody5431687228599463129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_43_41_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/22/fe47081efd393d711ebf63f750ce2d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2521723636575770987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_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/22/fb050034f8002cca481f8867196b9038.jpg","text":"TemporaryFile(/tmp/multipartBody3370645021029932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_43_54_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/22/1bde5d23c5531877399c129545a9dd45.jpg","text":"TemporaryFile(/tmp/multipartBody544396605444249616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542700055,"filename":"image_22012025_11_43_35_5305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570291","file1":"1330570282","file0":"1330570275","file4":"1330570310","file5":"1330570345","file3":"1330570295"},"map_files_photo_id_array":[{"photo_id":"1330570345","filename":"file5"},{"photo_id":"1330570291","filename":"file2"},{"photo_id":"1330570310","filename":"file4"},{"photo_id":"1330570282","filename":"file1"},{"photo_id":"1330570275","filename":"file0"},{"photo_id":"1330570295","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330570310":["hashtag1","hashtag2"]},{"1330570282":["hashtag1","hashtag2"]},{"1330570291":["hashtag1","hashtag2"]},{"1330570345":["hashtag1","hashtag2"]},{"1330570275":["hashtag1","hashtag2"]},{"1330570295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330570310, 1330570282, 1330570291, 1330570345, 1330570275, 1330570295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.819716691970825 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:44:42.193973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/44/image_22012025_11_44_53_4721.jpg', '/media/data/images/22012025/11/44/image_22012025_11_44_41_5333.jpg', '/media/data/images/22012025/11/44/image_22012025_11_44_36_6588.jpg', '/media/data/images/22012025/11/44/image_22012025_11_44_29_6580.jpg', '/media/data/images/22012025/11/44/image_22012025_11_44_22_5340.jpg', '/media/data/images/22012025/11/44/image_22012025_11_44_17_5765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/44/image_22012025_11_44_53_4721.jpg
/media/data/images/22012025/11/44/image_22012025_11_44_41_5333.jpg
/media/data/images/22012025/11/44/image_22012025_11_44_36_6588.jpg
/media/data/images/22012025/11/44/image_22012025_11_44_29_6580.jpg
/media/data/images/22012025/11/44/image_22012025_11_44_22_5340.jpg
/media/data/images/22012025/11/44/image_22012025_11_44_17_5765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330570471","1330570447","1330570482","1330570461","1330570496","1330570493"],"photo_ids_order":["1330570447","1330570461","1330570471","1330570482","1330570493","1330570496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d6fe9a689d98bf9c0e55d1f336fb8d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5955093644420387578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_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/22/1fb9efba0663a266e8fea6392d007266.jpg","text":"TemporaryFile(/tmp/multipartBody2462308084975357532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_53_4721.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/87aea8ae961a59cf3e3088face84f763.jpg","text":"TemporaryFile(/tmp/multipartBody3738581326357561806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_29_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/22/aee04251106449508c354e0da313b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3466064697718071379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_41_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/22/4a5fcdb8dff265022c94677474bcd080.jpg","text":"TemporaryFile(/tmp/multipartBody3329882393018879604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_17_5765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b041f07908ccb4d03b868d94fe8971e.jpg","text":"TemporaryFile(/tmp/multipartBody8193060355005496706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542775318,"filename":"image_22012025_11_44_22_5340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570471","file1":"1330570461","file0":"1330570447","file4":"1330570493","file5":"1330570496","file3":"1330570482"},"map_files_photo_id_array":[{"photo_id":"1330570496","filename":"file5"},{"photo_id":"1330570471","filename":"file2"},{"photo_id":"1330570493","filename":"file4"},{"photo_id":"1330570461","filename":"file1"},{"photo_id":"1330570447","filename":"file0"},{"photo_id":"1330570482","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330570471":["hashtag1","hashtag2"]},{"1330570447":["hashtag1","hashtag2"]},{"1330570482":["hashtag1","hashtag2"]},{"1330570461":["hashtag1","hashtag2"]},{"1330570496":["hashtag1","hashtag2"]},{"1330570493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330570471, 1330570447, 1330570482, 1330570461, 1330570496, 1330570493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.63541197776794 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:46:04.011000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/45/image_22012025_11_45_53_5745.jpg', '/media/data/images/22012025/11/45/image_22012025_11_45_47_6461.jpg', '/media/data/images/22012025/11/45/image_22012025_11_45_41_5368.jpg', '/media/data/images/22012025/11/45/image_22012025_11_45_35_6618.jpg', '/media/data/images/22012025/11/45/image_22012025_11_45_23_6686.jpg', '/media/data/images/22012025/11/45/image_22012025_11_45_17_5519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/45/image_22012025_11_45_53_5745.jpg
/media/data/images/22012025/11/45/image_22012025_11_45_47_6461.jpg
/media/data/images/22012025/11/45/image_22012025_11_45_41_5368.jpg
/media/data/images/22012025/11/45/image_22012025_11_45_35_6618.jpg
/media/data/images/22012025/11/45/image_22012025_11_45_23_6686.jpg
/media/data/images/22012025/11/45/image_22012025_11_45_17_5519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330570700","1330570675","1330570678","1330570702","1330570680","1330570694"],"photo_ids_order":["1330570675","1330570678","1330570680","1330570694","1330570700","1330570702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82dfc9c39017b4a2ab7907f986c7aea5.jpg","text":"TemporaryFile(/tmp/multipartBody5053483487743210221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_23_6686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef368f81b2e2c55b8fe7842c0ad4005c.jpg","text":"TemporaryFile(/tmp/multipartBody1140866795498246374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_53_5745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1570aaf1f2498eb065f371aa3b654a19.jpg","text":"TemporaryFile(/tmp/multipartBody1326826599261596310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_47_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/22/34482266bba3fd98da810d8c37cffe01.jpg","text":"TemporaryFile(/tmp/multipartBody8614130851100897296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_17_5519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/610c211704d66eae5cb205b6dc07f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody6658816924117171772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_41_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/22/6a710a8bc3378fe6c9672980cef595dd.jpg","text":"TemporaryFile(/tmp/multipartBody5397988320789609948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542849583,"filename":"image_22012025_11_45_35_6618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570680","file1":"1330570678","file0":"1330570675","file4":"1330570700","file5":"1330570702","file3":"1330570694"},"map_files_photo_id_array":[{"photo_id":"1330570702","filename":"file5"},{"photo_id":"1330570680","filename":"file2"},{"photo_id":"1330570700","filename":"file4"},{"photo_id":"1330570678","filename":"file1"},{"photo_id":"1330570675","filename":"file0"},{"photo_id":"1330570694","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330570700":["hashtag1","hashtag2"]},{"1330570675":["hashtag1","hashtag2"]},{"1330570678":["hashtag1","hashtag2"]},{"1330570702":["hashtag1","hashtag2"]},{"1330570680":["hashtag1","hashtag2"]},{"1330570694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330570700, 1330570675, 1330570678, 1330570702, 1330570680, 1330570694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.4472758769989 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:47:22.808421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/47/image_22012025_11_47_53_6565.jpg', '/media/data/images/22012025/11/47/image_22012025_11_47_46_5369.jpg', '/media/data/images/22012025/11/47/image_22012025_11_47_41_6607.jpg', '/media/data/images/22012025/11/47/image_22012025_11_47_34_5967.jpg', '/media/data/images/22012025/11/47/image_22012025_11_47_29_4823.jpg', '/media/data/images/22012025/11/47/image_22012025_11_47_24_6765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/47/image_22012025_11_47_53_6565.jpg
/media/data/images/22012025/11/47/image_22012025_11_47_46_5369.jpg
/media/data/images/22012025/11/47/image_22012025_11_47_41_6607.jpg
/media/data/images/22012025/11/47/image_22012025_11_47_34_5967.jpg
/media/data/images/22012025/11/47/image_22012025_11_47_29_4823.jpg
/media/data/images/22012025/11/47/image_22012025_11_47_24_6765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330570841","1330570858","1330570846","1330570863","1330570851","1330570854"],"photo_ids_order":["1330570841","1330570846","1330570851","1330570854","1330570858","1330570863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/933e4f3b5392e5e75c1412e16b9e36f5.jpg","text":"TemporaryFile(/tmp/multipartBody7501089008303981376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_53_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/22/8ac947db3e1145ab8d0fcdb393d105f9.jpg","text":"TemporaryFile(/tmp/multipartBody2353159641585010098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_29_4823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01063e3385065d22e1d2384e25a8826c.jpg","text":"TemporaryFile(/tmp/multipartBody3744298933573495804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_46_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/22/fe87846ff5f02b861b02b6cf2810b18d.jpg","text":"TemporaryFile(/tmp/multipartBody4599321234141908813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_24_6765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cec3cf79b421759b52aa7c84e0fa5585.jpg","text":"TemporaryFile(/tmp/multipartBody4529004192017299578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_41_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/22/7ced81605f0629d90ab3e2be9aaeaab8.jpg","text":"TemporaryFile(/tmp/multipartBody2117630388528971081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542922490,"filename":"image_22012025_11_47_34_5967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570851","file1":"1330570846","file0":"1330570841","file4":"1330570858","file5":"1330570863","file3":"1330570854"},"map_files_photo_id_array":[{"photo_id":"1330570863","filename":"file5"},{"photo_id":"1330570851","filename":"file2"},{"photo_id":"1330570858","filename":"file4"},{"photo_id":"1330570846","filename":"file1"},{"photo_id":"1330570841","filename":"file0"},{"photo_id":"1330570854","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330570841":["hashtag1","hashtag2"]},{"1330570858":["hashtag1","hashtag2"]},{"1330570846":["hashtag1","hashtag2"]},{"1330570863":["hashtag1","hashtag2"]},{"1330570851":["hashtag1","hashtag2"]},{"1330570854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330570841, 1330570858, 1330570846, 1330570863, 1330570851, 1330570854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.62616562843323 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:48:21.882553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/48/image_22012025_11_48_47_5583.jpg', '/media/data/images/22012025/11/48/image_22012025_11_48_42_6735.jpg', '/media/data/images/22012025/11/48/image_22012025_11_48_35_4874.jpg', '/media/data/images/22012025/11/48/image_22012025_11_48_31_7646.jpg', '/media/data/images/22012025/11/48/image_22012025_11_48_22_5400.jpg', '/media/data/images/22012025/11/48/image_22012025_11_48_11_4760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/48/image_22012025_11_48_47_5583.jpg
/media/data/images/22012025/11/48/image_22012025_11_48_42_6735.jpg
/media/data/images/22012025/11/48/image_22012025_11_48_35_4874.jpg
/media/data/images/22012025/11/48/image_22012025_11_48_31_7646.jpg
/media/data/images/22012025/11/48/image_22012025_11_48_22_5400.jpg
/media/data/images/22012025/11/48/image_22012025_11_48_11_4760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330570919","1330570922","1330570916","1330570948","1330570926","1330570938"],"photo_ids_order":["1330570916","1330570919","1330570922","1330570926","1330570938","1330570948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42c8a7c5c7359a0a64912e51b1c00169.jpg","text":"TemporaryFile(/tmp/multipartBody710320285070268629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_42_6735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09ae320373cf10c19839d024e7e146f1.jpg","text":"TemporaryFile(/tmp/multipartBody6233827927562241907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_35_4874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a117f1386e5ea4ab21fff271f244474.jpg","text":"TemporaryFile(/tmp/multipartBody6901035973843950724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_47_5583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e88194692f2ce4b20054773fffe15ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7533535724392358195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_11_4760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3eabd870b2cc4b887bc228f32a0a3785.jpg","text":"TemporaryFile(/tmp/multipartBody4917518059187570198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_31_7646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/27f468df70abf551efbda5d74215b3f6.jpg","text":"TemporaryFile(/tmp/multipartBody6771290151814289780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737542971933,"filename":"image_22012025_11_48_22_5400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330570922","file1":"1330570919","file0":"1330570916","file4":"1330570938","file5":"1330570948","file3":"1330570926"},"map_files_photo_id_array":[{"photo_id":"1330570948","filename":"file5"},{"photo_id":"1330570922","filename":"file2"},{"photo_id":"1330570938","filename":"file4"},{"photo_id":"1330570919","filename":"file1"},{"photo_id":"1330570916","filename":"file0"},{"photo_id":"1330570926","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330570919":["hashtag1","hashtag2"]},{"1330570922":["hashtag1","hashtag2"]},{"1330570916":["hashtag1","hashtag2"]},{"1330570948":["hashtag1","hashtag2"]},{"1330570926":["hashtag1","hashtag2"]},{"1330570938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330570919, 1330570922, 1330570916, 1330570948, 1330570926, 1330570938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0551495552063 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:49:22.316739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/49/image_22012025_11_50_00_6617.jpg', '/media/data/images/22012025/11/49/image_22012025_11_49_46_5393.jpg', '/media/data/images/22012025/11/49/image_22012025_11_49_41_6589.jpg', '/media/data/images/22012025/11/49/image_22012025_11_49_34_5039.jpg', '/media/data/images/22012025/11/49/image_22012025_11_49_29_6174.jpg', '/media/data/images/22012025/11/49/image_22012025_11_49_24_6812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/49/image_22012025_11_50_00_6617.jpg
/media/data/images/22012025/11/49/image_22012025_11_49_46_5393.jpg
/media/data/images/22012025/11/49/image_22012025_11_49_41_6589.jpg
/media/data/images/22012025/11/49/image_22012025_11_49_34_5039.jpg
/media/data/images/22012025/11/49/image_22012025_11_49_29_6174.jpg
/media/data/images/22012025/11/49/image_22012025_11_49_24_6812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330571021","1330571014","1330571017","1330571005","1330571008","1330571010"],"photo_ids_order":["1330571005","1330571008","1330571010","1330571014","1330571017","1330571021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/392799edb0ff54f10dab4a1825ed5813.jpg","text":"TemporaryFile(/tmp/multipartBody6636542129954564782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_49_24_6812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b6d6dd12fe6a9c7f3f62086e4d179f3.jpg","text":"TemporaryFile(/tmp/multipartBody4114845561155989920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_49_34_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/22/48fd8d5e3aa0de59e2b88652d862e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody762008064379517262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_49_29_6174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0c8651e888d059ce9335b7ca51adfcc.jpg","text":"TemporaryFile(/tmp/multipartBody3724189822753660990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_50_00_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/22/25b470367d5dfcd1e79c518a9182bbac.jpg","text":"TemporaryFile(/tmp/multipartBody2280210575567795990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_49_46_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/22/38f1f044fe6c56eb1889b7ea001051e4.jpg","text":"TemporaryFile(/tmp/multipartBody8557458023687176001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543029176,"filename":"image_22012025_11_49_41_6589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330571010","file1":"1330571008","file0":"1330571005","file4":"1330571017","file5":"1330571021","file3":"1330571014"},"map_files_photo_id_array":[{"photo_id":"1330571021","filename":"file5"},{"photo_id":"1330571010","filename":"file2"},{"photo_id":"1330571017","filename":"file4"},{"photo_id":"1330571008","filename":"file1"},{"photo_id":"1330571005","filename":"file0"},{"photo_id":"1330571014","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330571021":["hashtag1","hashtag2"]},{"1330571014":["hashtag1","hashtag2"]},{"1330571017":["hashtag1","hashtag2"]},{"1330571005":["hashtag1","hashtag2"]},{"1330571008":["hashtag1","hashtag2"]},{"1330571010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330571021, 1330571014, 1330571017, 1330571005, 1330571008, 1330571010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26385974884033 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:50:22.517569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/50/image_22012025_11_50_53_6593.jpg', '/media/data/images/22012025/11/50/image_22012025_11_50_47_5302.jpg', '/media/data/images/22012025/11/50/image_22012025_11_50_41_6578.jpg', '/media/data/images/22012025/11/50/image_22012025_11_50_35_5366.jpg', '/media/data/images/22012025/11/50/image_22012025_11_50_29_6410.jpg', '/media/data/images/22012025/11/50/image_22012025_11_50_23_5393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/50/image_22012025_11_50_53_6593.jpg
/media/data/images/22012025/11/50/image_22012025_11_50_47_5302.jpg
/media/data/images/22012025/11/50/image_22012025_11_50_41_6578.jpg
/media/data/images/22012025/11/50/image_22012025_11_50_35_5366.jpg
/media/data/images/22012025/11/50/image_22012025_11_50_29_6410.jpg
/media/data/images/22012025/11/50/image_22012025_11_50_23_5393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330571128","1330571116","1330571119","1330571130","1330571124","1330571106"],"photo_ids_order":["1330571106","1330571116","1330571119","1330571124","1330571128","1330571130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9ca2bb167a99b56899206b529386dac9.jpg","text":"TemporaryFile(/tmp/multipartBody9001400758055676987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_29_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/22/7437b70a4394d0e95b539223f51b5203.jpg","text":"TemporaryFile(/tmp/multipartBody2389850341488334101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_47_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/22/f62895cb62d1512e393276721173f6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3211004109629511834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_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/22/eb44a7f3b86bb5cf679e25a48b8c8725.jpg","text":"TemporaryFile(/tmp/multipartBody1955523465804578884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_23_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/22/1378c401ad9483bad72f8c5bf4b1fd06.jpg","text":"TemporaryFile(/tmp/multipartBody6061461085712825747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_35_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/22/0dab53b107893c6dbffc70a0c31ac384.jpg","text":"TemporaryFile(/tmp/multipartBody1294577470609061586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543111769,"filename":"image_22012025_11_50_53_6593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330571119","file1":"1330571116","file0":"1330571106","file4":"1330571128","file5":"1330571130","file3":"1330571124"},"map_files_photo_id_array":[{"photo_id":"1330571130","filename":"file5"},{"photo_id":"1330571119","filename":"file2"},{"photo_id":"1330571128","filename":"file4"},{"photo_id":"1330571116","filename":"file1"},{"photo_id":"1330571106","filename":"file0"},{"photo_id":"1330571124","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330571128":["hashtag1","hashtag2"]},{"1330571116":["hashtag1","hashtag2"]},{"1330571119":["hashtag1","hashtag2"]},{"1330571130":["hashtag1","hashtag2"]},{"1330571124":["hashtag1","hashtag2"]},{"1330571106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330571128, 1330571116, 1330571119, 1330571130, 1330571124, 1330571106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.23146629333496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:51:42.624622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/51/image_22012025_11_51_53_5494.jpg', '/media/data/images/22012025/11/51/image_22012025_11_51_48_6295.jpg', '/media/data/images/22012025/11/51/image_22012025_11_51_41_6298.jpg', '/media/data/images/22012025/11/51/image_22012025_11_51_28_5602.jpg', '/media/data/images/22012025/11/51/image_22012025_11_51_23_6548.jpg', '/media/data/images/22012025/11/51/image_22012025_11_51_16_5263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/51/image_22012025_11_51_53_5494.jpg
/media/data/images/22012025/11/51/image_22012025_11_51_48_6295.jpg
/media/data/images/22012025/11/51/image_22012025_11_51_41_6298.jpg
/media/data/images/22012025/11/51/image_22012025_11_51_28_5602.jpg
/media/data/images/22012025/11/51/image_22012025_11_51_23_6548.jpg
/media/data/images/22012025/11/51/image_22012025_11_51_16_5263.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330571266","1330571347","1330571295","1330571343","1330571271","1330571351"],"photo_ids_order":["1330571266","1330571271","1330571295","1330571343","1330571347","1330571351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36bcfab5749cd5858937a962823d7531.jpg","text":"TemporaryFile(/tmp/multipartBody1702832194459329277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_53_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/22/6605e1d23ed09accc92ef603f905c90a.jpg","text":"TemporaryFile(/tmp/multipartBody2046530261566461971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_23_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/22/a44bb167758c522d70d77ccbcf3c4b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8363381448442327518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_41_6298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f663a83f1fc90b688aae28ede84e0ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2953759269020678599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_28_5602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e71919fec4e6f45ada0b814d9dbd7770.jpg","text":"TemporaryFile(/tmp/multipartBody900240570014499653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_48_6295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/649808ef33b3d34f416578bfc83dec35.jpg","text":"TemporaryFile(/tmp/multipartBody1460107051964895577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543177520,"filename":"image_22012025_11_51_16_5263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330571295","file1":"1330571271","file0":"1330571266","file4":"1330571347","file5":"1330571351","file3":"1330571343"},"map_files_photo_id_array":[{"photo_id":"1330571351","filename":"file5"},{"photo_id":"1330571295","filename":"file2"},{"photo_id":"1330571347","filename":"file4"},{"photo_id":"1330571271","filename":"file1"},{"photo_id":"1330571266","filename":"file0"},{"photo_id":"1330571343","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330571266":["hashtag1","hashtag2"]},{"1330571347":["hashtag1","hashtag2"]},{"1330571295":["hashtag1","hashtag2"]},{"1330571343":["hashtag1","hashtag2"]},{"1330571271":["hashtag1","hashtag2"]},{"1330571351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330571266, 1330571347, 1330571295, 1330571343, 1330571271, 1330571351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04390478134155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:52:42.878791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/52/image_22012025_11_52_54_6085.jpg', '/media/data/images/22012025/11/52/image_22012025_11_52_47_6225.jpg', '/media/data/images/22012025/11/52/image_22012025_11_52_41_6445.jpg', '/media/data/images/22012025/11/52/image_22012025_11_52_34_5245.jpg', '/media/data/images/22012025/11/52/image_22012025_11_52_29_6558.jpg', '/media/data/images/22012025/11/52/image_22012025_11_52_23_5212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/52/image_22012025_11_52_54_6085.jpg
/media/data/images/22012025/11/52/image_22012025_11_52_47_6225.jpg
/media/data/images/22012025/11/52/image_22012025_11_52_41_6445.jpg
/media/data/images/22012025/11/52/image_22012025_11_52_34_5245.jpg
/media/data/images/22012025/11/52/image_22012025_11_52_29_6558.jpg
/media/data/images/22012025/11/52/image_22012025_11_52_23_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":["1330571512","1330571496","1330571521","1330571484","1330571502","1330571507"],"photo_ids_order":["1330571484","1330571496","1330571502","1330571507","1330571512","1330571521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3bf297a89778cb57cdf38c302788b591.jpg","text":"TemporaryFile(/tmp/multipartBody6267296673559937112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_29_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/22/1071b234cfa9b2ced0cb4ad914f9c907.jpg","text":"TemporaryFile(/tmp/multipartBody2921118058804446064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_47_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/22/d1f0ec0500f4f611d2f6549a1d1f5a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7829128542870863919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_23_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/22/f799fa035c59ca04ed5d34d6281372f9.jpg","text":"TemporaryFile(/tmp/multipartBody8259787261054755438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_54_6085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2516d44c5cb0858ec994b899259c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4854678546968227791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_41_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/22/18fabbc46500fb5ec8e82b7f95e92112.jpg","text":"TemporaryFile(/tmp/multipartBody5848730646467187150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543238369,"filename":"image_22012025_11_52_34_5245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330571502","file1":"1330571496","file0":"1330571484","file4":"1330571512","file5":"1330571521","file3":"1330571507"},"map_files_photo_id_array":[{"photo_id":"1330571521","filename":"file5"},{"photo_id":"1330571502","filename":"file2"},{"photo_id":"1330571512","filename":"file4"},{"photo_id":"1330571496","filename":"file1"},{"photo_id":"1330571484","filename":"file0"},{"photo_id":"1330571507","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330571512":["hashtag1","hashtag2"]},{"1330571496":["hashtag1","hashtag2"]},{"1330571521":["hashtag1","hashtag2"]},{"1330571484":["hashtag1","hashtag2"]},{"1330571502":["hashtag1","hashtag2"]},{"1330571507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330571512, 1330571496, 1330571521, 1330571484, 1330571502, 1330571507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.31284761428833 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:53:42.163579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/53/image_22012025_11_53_54_5667.jpg', '/media/data/images/22012025/11/53/image_22012025_11_53_48_6551.jpg', '/media/data/images/22012025/11/53/image_22012025_11_53_41_6505.jpg', '/media/data/images/22012025/11/53/image_22012025_11_53_35_5256.jpg', '/media/data/images/22012025/11/53/image_22012025_11_53_29_6443.jpg', '/media/data/images/22012025/11/53/image_22012025_11_53_23_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/53/image_22012025_11_53_54_5667.jpg
/media/data/images/22012025/11/53/image_22012025_11_53_48_6551.jpg
/media/data/images/22012025/11/53/image_22012025_11_53_41_6505.jpg
/media/data/images/22012025/11/53/image_22012025_11_53_35_5256.jpg
/media/data/images/22012025/11/53/image_22012025_11_53_29_6443.jpg
/media/data/images/22012025/11/53/image_22012025_11_53_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":["1330572634","1330572666","1330572653","1330572659","1330572644","1330572673"],"photo_ids_order":["1330572634","1330572644","1330572653","1330572659","1330572666","1330572673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8b1b07082620ea3ed075850ad7689ad.jpg","text":"TemporaryFile(/tmp/multipartBody7945293519723738010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_54_5667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a229d9a02fab32926300b8dbaea6098.jpg","text":"TemporaryFile(/tmp/multipartBody5961003894233137850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_29_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/22/8cc2b9ed4e84e2bc88e7c2475455df1b.jpg","text":"TemporaryFile(/tmp/multipartBody5710190707454183971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_41_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/22/f287c938345ce9b3dd7da9951a42882e.jpg","text":"TemporaryFile(/tmp/multipartBody9096363279798290138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_35_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/22/c84a90f4c7c43dc068caefc58c63ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody2852596394257872585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_48_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/22/7111720c37ee1cbc9811414ad13f6963.jpg","text":"TemporaryFile(/tmp/multipartBody5333967023277850562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543302369,"filename":"image_22012025_11_53_23_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330572653","file1":"1330572644","file0":"1330572634","file4":"1330572666","file5":"1330572673","file3":"1330572659"},"map_files_photo_id_array":[{"photo_id":"1330572673","filename":"file5"},{"photo_id":"1330572653","filename":"file2"},{"photo_id":"1330572666","filename":"file4"},{"photo_id":"1330572644","filename":"file1"},{"photo_id":"1330572634","filename":"file0"},{"photo_id":"1330572659","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330572634":["hashtag1","hashtag2"]},{"1330572666":["hashtag1","hashtag2"]},{"1330572653":["hashtag1","hashtag2"]},{"1330572659":["hashtag1","hashtag2"]},{"1330572644":["hashtag1","hashtag2"]},{"1330572673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330572634, 1330572666, 1330572653, 1330572659, 1330572644, 1330572673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04181981086731 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:54:42.262912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/54/image_22012025_11_54_53_6871.jpg', '/media/data/images/22012025/11/54/image_22012025_11_54_47_5088.jpg', '/media/data/images/22012025/11/54/image_22012025_11_54_41_6470.jpg', '/media/data/images/22012025/11/54/image_22012025_11_54_35_5248.jpg', '/media/data/images/22012025/11/54/image_22012025_11_54_29_6441.jpg', '/media/data/images/22012025/11/54/image_22012025_11_54_23_6485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/54/image_22012025_11_54_53_6871.jpg
/media/data/images/22012025/11/54/image_22012025_11_54_47_5088.jpg
/media/data/images/22012025/11/54/image_22012025_11_54_41_6470.jpg
/media/data/images/22012025/11/54/image_22012025_11_54_35_5248.jpg
/media/data/images/22012025/11/54/image_22012025_11_54_29_6441.jpg
/media/data/images/22012025/11/54/image_22012025_11_54_23_6485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330572782","1330572764","1330572848","1330572824","1330572796","1330572739"],"photo_ids_order":["1330572739","1330572764","1330572782","1330572796","1330572824","1330572848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d06a270ac3d8c6faf17843b2e98b968d.jpg","text":"TemporaryFile(/tmp/multipartBody3412720301279091465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_41_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/22/e377b6ee2e648a9d9b7e64db4a2d81e2.jpg","text":"TemporaryFile(/tmp/multipartBody7288162286801718298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_47_5088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/977b218afd27301c826d15cc7dd1b989.jpg","text":"TemporaryFile(/tmp/multipartBody358905370979666976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_23_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/22/e2b27b6b0c233e4bf9a5ceba7272c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8065489464484029015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_29_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/22/14371403781701aa5bb41fe0835fbae4.jpg","text":"TemporaryFile(/tmp/multipartBody1571404757397239874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_35_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/22/d31e34f718056b74a8e1c9507f4ef988.jpg","text":"TemporaryFile(/tmp/multipartBody8362247793179270140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543355311,"filename":"image_22012025_11_54_53_6871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330572782","file1":"1330572764","file0":"1330572739","file4":"1330572824","file5":"1330572848","file3":"1330572796"},"map_files_photo_id_array":[{"photo_id":"1330572848","filename":"file5"},{"photo_id":"1330572782","filename":"file2"},{"photo_id":"1330572824","filename":"file4"},{"photo_id":"1330572764","filename":"file1"},{"photo_id":"1330572739","filename":"file0"},{"photo_id":"1330572796","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330572782":["hashtag1","hashtag2"]},{"1330572764":["hashtag1","hashtag2"]},{"1330572848":["hashtag1","hashtag2"]},{"1330572824":["hashtag1","hashtag2"]},{"1330572796":["hashtag1","hashtag2"]},{"1330572739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330572782, 1330572764, 1330572848, 1330572824, 1330572796, 1330572739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.87286591529846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:55:42.377276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/55/image_22012025_11_55_54_5963.jpg', '/media/data/images/22012025/11/55/image_22012025_11_55_48_7266.jpg', '/media/data/images/22012025/11/55/image_22012025_11_55_40_5292.jpg', '/media/data/images/22012025/11/55/image_22012025_11_55_35_6502.jpg', '/media/data/images/22012025/11/55/image_22012025_11_55_29_5289.jpg', '/media/data/images/22012025/11/55/image_22012025_11_55_23_6508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/55/image_22012025_11_55_54_5963.jpg
/media/data/images/22012025/11/55/image_22012025_11_55_48_7266.jpg
/media/data/images/22012025/11/55/image_22012025_11_55_40_5292.jpg
/media/data/images/22012025/11/55/image_22012025_11_55_35_6502.jpg
/media/data/images/22012025/11/55/image_22012025_11_55_29_5289.jpg
/media/data/images/22012025/11/55/image_22012025_11_55_23_6508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330573524","1330573512","1330573520","1330573457","1330573517","1330573363"],"photo_ids_order":["1330573363","1330573457","1330573512","1330573517","1330573520","1330573524"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8fd03fb113419c92ed914e16cbf1d6cd.jpg","text":"TemporaryFile(/tmp/multipartBody3149644150466085608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_23_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/22/160543752fe08899c59f4e2455b055ce.jpg","text":"TemporaryFile(/tmp/multipartBody5003003447674278630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_40_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/22/66195043be394f9627124d82222893cf.jpg","text":"TemporaryFile(/tmp/multipartBody7560376612981118291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_29_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/22/5497fcdc9a21d917ba0d91051efa057d.jpg","text":"TemporaryFile(/tmp/multipartBody6371023127821306083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_48_7266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b06eb05d895e29a27943b944eda6383.jpg","text":"TemporaryFile(/tmp/multipartBody4161869242901779522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_35_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/22/a7bfa370a29695f698bcc6abf6daecbf.jpg","text":"TemporaryFile(/tmp/multipartBody2485457373156036915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543419596,"filename":"image_22012025_11_55_54_5963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330573512","file1":"1330573457","file0":"1330573363","file4":"1330573520","file5":"1330573524","file3":"1330573517"},"map_files_photo_id_array":[{"photo_id":"1330573524","filename":"file5"},{"photo_id":"1330573512","filename":"file2"},{"photo_id":"1330573520","filename":"file4"},{"photo_id":"1330573457","filename":"file1"},{"photo_id":"1330573363","filename":"file0"},{"photo_id":"1330573517","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330573524":["hashtag1","hashtag2"]},{"1330573512":["hashtag1","hashtag2"]},{"1330573520":["hashtag1","hashtag2"]},{"1330573457":["hashtag1","hashtag2"]},{"1330573517":["hashtag1","hashtag2"]},{"1330573363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330573524, 1330573512, 1330573520, 1330573457, 1330573517, 1330573363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.229060888290405 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:56:42.601788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/56/image_22012025_11_56_54_6331.jpg', '/media/data/images/22012025/11/56/image_22012025_11_56_48_6576.jpg', '/media/data/images/22012025/11/56/image_22012025_11_56_41_5281.jpg', '/media/data/images/22012025/11/56/image_22012025_11_56_35_6448.jpg', '/media/data/images/22012025/11/56/image_22012025_11_56_29_6453.jpg', '/media/data/images/22012025/11/56/image_22012025_11_56_22_5218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/56/image_22012025_11_56_54_6331.jpg
/media/data/images/22012025/11/56/image_22012025_11_56_48_6576.jpg
/media/data/images/22012025/11/56/image_22012025_11_56_41_5281.jpg
/media/data/images/22012025/11/56/image_22012025_11_56_35_6448.jpg
/media/data/images/22012025/11/56/image_22012025_11_56_29_6453.jpg
/media/data/images/22012025/11/56/image_22012025_11_56_22_5218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330573740","1330573725","1330573719","1330573806","1330573772","1330573700"],"photo_ids_order":["1330573700","1330573719","1330573725","1330573740","1330573772","1330573806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/035731c4d4a99da1da9df48f0acbfb49.jpg","text":"TemporaryFile(/tmp/multipartBody6055067362529376202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_35_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/22/3fdd83a72fa68b617a0e765f8aa3841c.jpg","text":"TemporaryFile(/tmp/multipartBody7400136364510324618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_41_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/22/35c9a0d180992b94f7f2ee7d16086199.jpg","text":"TemporaryFile(/tmp/multipartBody6704165705670061472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_48_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/22/06a1f0ee70b6ea8042191bb515e6a5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1437937955935971611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_22_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/22/44406903d48327f5e99c01a4f1147e78.jpg","text":"TemporaryFile(/tmp/multipartBody4968721112361605641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_29_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/22/ca788c6b30063ddd5150dbb33e9f090f.jpg","text":"TemporaryFile(/tmp/multipartBody2124211300227696430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543481732,"filename":"image_22012025_11_56_54_6331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330573725","file1":"1330573719","file0":"1330573700","file4":"1330573772","file5":"1330573806","file3":"1330573740"},"map_files_photo_id_array":[{"photo_id":"1330573806","filename":"file5"},{"photo_id":"1330573725","filename":"file2"},{"photo_id":"1330573772","filename":"file4"},{"photo_id":"1330573719","filename":"file1"},{"photo_id":"1330573700","filename":"file0"},{"photo_id":"1330573740","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330573740":["hashtag1","hashtag2"]},{"1330573725":["hashtag1","hashtag2"]},{"1330573719":["hashtag1","hashtag2"]},{"1330573806":["hashtag1","hashtag2"]},{"1330573772":["hashtag1","hashtag2"]},{"1330573700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330573740, 1330573725, 1330573719, 1330573806, 1330573772, 1330573700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56044936180115 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 11:57:42.696502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/57/image_22012025_11_57_53_4690.jpg', '/media/data/images/22012025/11/57/image_22012025_11_57_48_6838.jpg', '/media/data/images/22012025/11/57/image_22012025_11_57_41_6455.jpg', '/media/data/images/22012025/11/57/image_22012025_11_57_35_5237.jpg', '/media/data/images/22012025/11/57/image_22012025_11_57_29_6454.jpg', '/media/data/images/22012025/11/57/image_22012025_11_57_23_6452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/57/image_22012025_11_57_53_4690.jpg
/media/data/images/22012025/11/57/image_22012025_11_57_48_6838.jpg
/media/data/images/22012025/11/57/image_22012025_11_57_41_6455.jpg
/media/data/images/22012025/11/57/image_22012025_11_57_35_5237.jpg
/media/data/images/22012025/11/57/image_22012025_11_57_29_6454.jpg
/media/data/images/22012025/11/57/image_22012025_11_57_23_6452.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-22 11:59:04.896274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/58/image_22012025_11_58_54_6095.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_48_6353.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_41_6468.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_34_5252.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_29_6562.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_23_5090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/58/image_22012025_11_58_54_6095.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_48_6353.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_41_6468.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_34_5252.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_29_6562.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_23_5090.jpg
2025-01-22 11:59:05.259402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/11/58/image_22012025_11_58_54_6095.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_48_6353.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_41_6468.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_34_5252.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_29_6562.jpg', '/media/data/images/22012025/11/58/image_22012025_11_58_23_5090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/11/58/image_22012025_11_58_54_6095.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_48_6353.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_41_6468.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_34_5252.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_29_6562.jpg
/media/data/images/22012025/11/58/image_22012025_11_58_23_5090.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":["1330573920","1330573931","1330573960","1330573927","1330573936","1330573924"],"photo_ids_order":["1330573920","1330573924","1330573927","1330573931","1330573936","1330573960"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7af53c67222973376dc6959da24798e.jpg","text":"TemporaryFile(/tmp/multipartBody5850297155175364673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_54_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c87757492fb488865c9de7db99980cea.jpg","text":"TemporaryFile(/tmp/multipartBody4458384605325434902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_34_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/22/528a3bf1a73628bc93747923077364ad.jpg","text":"TemporaryFile(/tmp/multipartBody7345402251785209223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_23_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/22/de6dd67e562634dbb407ee46d40d9f32.jpg","text":"TemporaryFile(/tmp/multipartBody3987887813565541833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_41_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/22/293fa03c1ac51b9cb557909dc3682950.jpg","text":"TemporaryFile(/tmp/multipartBody8555917453765392730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_29_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/22/a6e02c3f79093ee148428ac2696c4800.jpg","text":"TemporaryFile(/tmp/multipartBody1242296603845506871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543645400,"filename":"image_22012025_11_58_48_6353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330573927","file1":"1330573924","file0":"1330573920","file4":"1330573936","file5":"1330573960","file3":"1330573931"},"map_files_photo_id_array":[{"photo_id":"1330573960","filename":"file5"},{"photo_id":"1330573927","filename":"file2"},{"photo_id":"1330573936","filename":"file4"},{"photo_id":"1330573924","filename":"file1"},{"photo_id":"1330573920","filename":"file0"},{"photo_id":"1330573931","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330573920":["hashtag1","hashtag2"]},{"1330573931":["hashtag1","hashtag2"]},{"1330573960":["hashtag1","hashtag2"]},{"1330573927":["hashtag1","hashtag2"]},{"1330573936":["hashtag1","hashtag2"]},{"1330573924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330573920, 1330573931, 1330573960, 1330573927, 1330573936, 1330573924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.23797130584717 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330573926","1330573964","1330573922","1330573933","1330573939","1330573930"],"photo_ids_order":["1330573922","1330573926","1330573930","1330573933","1330573939","1330573964"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7cce00052766cf53b2c74831d2b66ff8.jpg","text":"TemporaryFile(/tmp/multipartBody47891956012497738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_48_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/22/624cb33da6005d93cb8cd929c49501ff.jpg","text":"TemporaryFile(/tmp/multipartBody6923563079481079007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_23_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/22/951f2e88b5926cf3332a0202f3d75147.jpg","text":"TemporaryFile(/tmp/multipartBody6180208595406312107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_54_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/00fac9ee95bab15fdb9696d34b73e1d7.jpg","text":"TemporaryFile(/tmp/multipartBody9064371839562751790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_34_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/22/a5d89e9559c66f20a074488d224072c0.jpg","text":"TemporaryFile(/tmp/multipartBody1559106279109769044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_29_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/22/f04f94f21b1478c84ede86c72ecb21ab.jpg","text":"TemporaryFile(/tmp/multipartBody39464246797168024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543647995,"filename":"image_22012025_11_58_41_6468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330573930","file1":"1330573926","file0":"1330573922","file4":"1330573939","file5":"1330573964","file3":"1330573933"},"map_files_photo_id_array":[{"photo_id":"1330573964","filename":"file5"},{"photo_id":"1330573930","filename":"file2"},{"photo_id":"1330573939","filename":"file4"},{"photo_id":"1330573926","filename":"file1"},{"photo_id":"1330573922","filename":"file0"},{"photo_id":"1330573933","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330573926":["hashtag1","hashtag2"]},{"1330573964":["hashtag1","hashtag2"]},{"1330573922":["hashtag1","hashtag2"]},{"1330573933":["hashtag1","hashtag2"]},{"1330573939":["hashtag1","hashtag2"]},{"1330573930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330573926, 1330573964, 1330573922, 1330573933, 1330573939, 1330573930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.32120680809021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:00:42.464360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/00/image_22012025_12_00_42_6689.jpg', '/media/data/images/22012025/12/00/image_22012025_12_00_35_6388.jpg', '/media/data/images/22012025/12/00/image_22012025_12_00_17_5179.jpg', '/media/data/images/22012025/12/00/image_22012025_12_00_12_6712.jpg', '/media/data/images/22012025/12/00/image_22012025_12_00_05_6324.jpg', '/media/data/images/22012025/11/59/image_22012025_11_59_58_5395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/00/image_22012025_12_00_42_6689.jpg
/media/data/images/22012025/12/00/image_22012025_12_00_35_6388.jpg
/media/data/images/22012025/12/00/image_22012025_12_00_17_5179.jpg
/media/data/images/22012025/12/00/image_22012025_12_00_12_6712.jpg
/media/data/images/22012025/12/00/image_22012025_12_00_05_6324.jpg
/media/data/images/22012025/11/59/image_22012025_11_59_58_5395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330574148","1330574129","1330574144","1330574126","1330574140","1330574134"],"photo_ids_order":["1330574126","1330574129","1330574134","1330574140","1330574144","1330574148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/724c5a8496e076e87ec55004a52a4a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2671819942687612500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_11_59_58_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/22/f29f257f91850a1b55c40efa877890a8.jpg","text":"TemporaryFile(/tmp/multipartBody7658583995846169275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_12_00_35_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/22/ac77e4f1340ad60744e3aee7776bd172.jpg","text":"TemporaryFile(/tmp/multipartBody3364877274561988142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_12_00_05_6324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69d52a460ca9dde0062dd45062d824e6.jpg","text":"TemporaryFile(/tmp/multipartBody2335271948173106695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_12_00_42_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a37d49c28888e81e6235dfcd07193e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8914809960890028559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_12_00_12_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/22/094c92c09793293adb1e41fa57b09d34.jpg","text":"TemporaryFile(/tmp/multipartBody4812076224995796042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543721782,"filename":"image_22012025_12_00_17_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330574134","file1":"1330574129","file0":"1330574126","file4":"1330574144","file5":"1330574148","file3":"1330574140"},"map_files_photo_id_array":[{"photo_id":"1330574148","filename":"file5"},{"photo_id":"1330574134","filename":"file2"},{"photo_id":"1330574144","filename":"file4"},{"photo_id":"1330574129","filename":"file1"},{"photo_id":"1330574126","filename":"file0"},{"photo_id":"1330574140","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330574148":["hashtag1","hashtag2"]},{"1330574129":["hashtag1","hashtag2"]},{"1330574144":["hashtag1","hashtag2"]},{"1330574126":["hashtag1","hashtag2"]},{"1330574140":["hashtag1","hashtag2"]},{"1330574134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330574148, 1330574129, 1330574144, 1330574126, 1330574140, 1330574134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.075284004211426 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:01:42.798880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/01/image_22012025_12_01_41_6652.jpg', '/media/data/images/22012025/12/01/image_22012025_12_01_34_5397.jpg', '/media/data/images/22012025/12/01/image_22012025_12_01_29_5456.jpg', '/media/data/images/22012025/12/01/image_22012025_12_01_24_6755.jpg', '/media/data/images/22012025/12/01/image_22012025_12_01_11_5988.jpg', '/media/data/images/22012025/12/00/image_22012025_12_00_59_5450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/01/image_22012025_12_01_41_6652.jpg
/media/data/images/22012025/12/01/image_22012025_12_01_34_5397.jpg
/media/data/images/22012025/12/01/image_22012025_12_01_29_5456.jpg
/media/data/images/22012025/12/01/image_22012025_12_01_24_6755.jpg
/media/data/images/22012025/12/01/image_22012025_12_01_11_5988.jpg
/media/data/images/22012025/12/00/image_22012025_12_00_59_5450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330574198","1330574219","1330574207","1330574224","1330574233","1330574215"],"photo_ids_order":["1330574198","1330574207","1330574215","1330574219","1330574224","1330574233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/401955d1d277224a5f0c2b673d88f93b.jpg","text":"TemporaryFile(/tmp/multipartBody4600956683600477323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_01_41_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/22/07677ce8b08d582ee4823848e7a14709.jpg","text":"TemporaryFile(/tmp/multipartBody9074075780505521295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_01_24_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/22/665cb09771e608565dfccbac40f79f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1068413214022218521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_01_34_5397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ef0f25beeda2b2676f40527fb0082c3.jpg","text":"TemporaryFile(/tmp/multipartBody6696491705302333979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_01_11_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fadf0f2df464664d97e54dee44d85a56.jpg","text":"TemporaryFile(/tmp/multipartBody869058401668585969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_00_59_5450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7aa15c7b1bd02c27715e6e3d541ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody5661972605186406005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543803445,"filename":"image_22012025_12_01_29_5456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330574215","file1":"1330574207","file0":"1330574198","file4":"1330574224","file5":"1330574233","file3":"1330574219"},"map_files_photo_id_array":[{"photo_id":"1330574233","filename":"file5"},{"photo_id":"1330574215","filename":"file2"},{"photo_id":"1330574224","filename":"file4"},{"photo_id":"1330574207","filename":"file1"},{"photo_id":"1330574198","filename":"file0"},{"photo_id":"1330574219","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330574198":["hashtag1","hashtag2"]},{"1330574219":["hashtag1","hashtag2"]},{"1330574207":["hashtag1","hashtag2"]},{"1330574224":["hashtag1","hashtag2"]},{"1330574233":["hashtag1","hashtag2"]},{"1330574215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330574198, 1330574219, 1330574207, 1330574224, 1330574233, 1330574215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.06414198875427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:03:04.287019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/02/image_22012025_12_02_48_6226.jpg', '/media/data/images/22012025/12/02/image_22012025_12_02_35_5420.jpg', '/media/data/images/22012025/12/02/image_22012025_12_02_23_5468.jpg', '/media/data/images/22012025/12/02/image_22012025_12_02_06_6667.jpg', '/media/data/images/22012025/12/01/image_22012025_12_01_47_5326.jpg', '/media/data/images/22012025/11/59/image_22012025_11_59_48_6650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/02/image_22012025_12_02_48_6226.jpg
/media/data/images/22012025/12/02/image_22012025_12_02_35_5420.jpg
/media/data/images/22012025/12/02/image_22012025_12_02_23_5468.jpg
/media/data/images/22012025/12/02/image_22012025_12_02_06_6667.jpg
/media/data/images/22012025/12/01/image_22012025_12_01_47_5326.jpg
/media/data/images/22012025/11/59/image_22012025_11_59_48_6650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330574294","1330574291","1330574285","1330574288","1330574281","1330574277"],"photo_ids_order":["1330574277","1330574281","1330574285","1330574288","1330574291","1330574294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7fcdf72c4fdedecff136d653262fdf23.jpg","text":"TemporaryFile(/tmp/multipartBody6528537817430669441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_11_59_48_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a772f4577db1498f383aa7dc1bb37bca.jpg","text":"TemporaryFile(/tmp/multipartBody7627279066701421037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_12_01_47_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/22/49f156e4301cf54a05ecf2b75b3c6a59.jpg","text":"TemporaryFile(/tmp/multipartBody3851780577001855425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_12_02_23_5468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a36736fb1b55254717b25096f811e620.jpg","text":"TemporaryFile(/tmp/multipartBody4506721978400463463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_12_02_06_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/22/d91ba9454a54ac3cf979473e35288208.jpg","text":"TemporaryFile(/tmp/multipartBody5075297172092479469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_12_02_35_5420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5054a3a47ff2ce5f20be7f0b0813a09f.jpg","text":"TemporaryFile(/tmp/multipartBody6093846211384259403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543858350,"filename":"image_22012025_12_02_48_6226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330574285","file1":"1330574281","file0":"1330574277","file4":"1330574291","file5":"1330574294","file3":"1330574288"},"map_files_photo_id_array":[{"photo_id":"1330574294","filename":"file5"},{"photo_id":"1330574285","filename":"file2"},{"photo_id":"1330574291","filename":"file4"},{"photo_id":"1330574281","filename":"file1"},{"photo_id":"1330574277","filename":"file0"},{"photo_id":"1330574288","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330574294":["hashtag1","hashtag2"]},{"1330574291":["hashtag1","hashtag2"]},{"1330574285":["hashtag1","hashtag2"]},{"1330574288":["hashtag1","hashtag2"]},{"1330574281":["hashtag1","hashtag2"]},{"1330574277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330574294, 1330574291, 1330574285, 1330574288, 1330574281, 1330574277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.92290377616882 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 12:04:04.496797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/03/image_22012025_12_03_47_6669.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_41_5466.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_29_6126.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_18_6913.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_06_6535.jpg', '/media/data/images/22012025/12/02/image_22012025_12_02_53_5317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/03/image_22012025_12_03_47_6669.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_41_5466.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_29_6126.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_18_6913.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_06_6535.jpg
/media/data/images/22012025/12/02/image_22012025_12_02_53_5317.jpg
2025-01-22 12:04:04.631066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/03/image_22012025_12_03_47_6669.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_41_5466.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_29_6126.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_18_6913.jpg', '/media/data/images/22012025/12/03/image_22012025_12_03_06_6535.jpg', '/media/data/images/22012025/12/02/image_22012025_12_02_53_5317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/03/image_22012025_12_03_47_6669.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_41_5466.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_29_6126.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_18_6913.jpg
/media/data/images/22012025/12/03/image_22012025_12_03_06_6535.jpg
/media/data/images/22012025/12/02/image_22012025_12_02_53_5317.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":["1330574381","1330574387","1330574366","1330574392","1330574374","1330574397"],"photo_ids_order":["1330574366","1330574374","1330574381","1330574387","1330574392","1330574397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14ed49b2e5f3f968ae7fdda8ddc94337.jpg","text":"TemporaryFile(/tmp/multipartBody5712485097792101694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_03_29_6126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25c12dfa5c9070e6281c838a20cab072.jpg","text":"TemporaryFile(/tmp/multipartBody1191334303237266205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_03_18_6913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17a3027b8f436fb556556570e3b969ec.jpg","text":"TemporaryFile(/tmp/multipartBody587847995187775504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_03_47_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/22/b180d7e9510adcea4feda2fad160dca4.jpg","text":"TemporaryFile(/tmp/multipartBody7169920302956943471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_03_06_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/22/91886f165cf222ede8910af9fff1b232.jpg","text":"TemporaryFile(/tmp/multipartBody1364560126702886469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_03_41_5466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f953526e22c699d49a583395e38b3d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2744622705541405659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543956520,"filename":"image_22012025_12_02_53_5317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330574381","file1":"1330574374","file0":"1330574366","file4":"1330574392","file5":"1330574397","file3":"1330574387"},"map_files_photo_id_array":[{"photo_id":"1330574397","filename":"file5"},{"photo_id":"1330574381","filename":"file2"},{"photo_id":"1330574392","filename":"file4"},{"photo_id":"1330574374","filename":"file1"},{"photo_id":"1330574366","filename":"file0"},{"photo_id":"1330574387","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330574381":["hashtag1","hashtag2"]},{"1330574387":["hashtag1","hashtag2"]},{"1330574366":["hashtag1","hashtag2"]},{"1330574392":["hashtag1","hashtag2"]},{"1330574374":["hashtag1","hashtag2"]},{"1330574397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330574381, 1330574387, 1330574366, 1330574392, 1330574374, 1330574397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.71128511428833 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330574390","1330574395","1330574383","1330574377","1330574401","1330574370"],"photo_ids_order":["1330574370","1330574377","1330574383","1330574390","1330574395","1330574401"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/573ba8494fd4da57ddbebc4d5b952f82.jpg","text":"TemporaryFile(/tmp/multipartBody5529363905378871509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_03_18_6913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fa21715fd7f4a2a0b9e54f454ace862b.jpg","text":"TemporaryFile(/tmp/multipartBody5793632833584960977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_03_06_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/22/8370279f4e59896a8d2db191b4d728a8.jpg","text":"TemporaryFile(/tmp/multipartBody2298138683953620179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_03_29_6126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a826d194f00412719b793ae6bd79dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7886724202359403419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_03_41_5466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98fc4948ab621c9e846878b2fd4c8a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5605273249370267990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_02_53_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/22/2addf96369ae4e2355c0fbe3ea6b18cb.jpg","text":"TemporaryFile(/tmp/multipartBody4124280576713620848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737543960639,"filename":"image_22012025_12_03_47_6669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330574383","file1":"1330574377","file0":"1330574370","file4":"1330574395","file5":"1330574401","file3":"1330574390"},"map_files_photo_id_array":[{"photo_id":"1330574401","filename":"file5"},{"photo_id":"1330574383","filename":"file2"},{"photo_id":"1330574395","filename":"file4"},{"photo_id":"1330574377","filename":"file1"},{"photo_id":"1330574370","filename":"file0"},{"photo_id":"1330574390","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330574390":["hashtag1","hashtag2"]},{"1330574395":["hashtag1","hashtag2"]},{"1330574383":["hashtag1","hashtag2"]},{"1330574377":["hashtag1","hashtag2"]},{"1330574401":["hashtag1","hashtag2"]},{"1330574370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330574390, 1330574395, 1330574383, 1330574377, 1330574401, 1330574370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.90205097198486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:05:42.728470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/05/image_22012025_12_05_53_6246.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_46_4471.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_35_4589.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_31_6732.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_18_5788.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_12_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/05/image_22012025_12_05_53_6246.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_46_4471.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_35_4589.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_31_6732.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_18_5788.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_12_6477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330575454","1330575427","1330575166","1330575183","1330575486","1330575348"],"photo_ids_order":["1330575166","1330575183","1330575348","1330575427","1330575454","1330575486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/052b711992bd1418c3daec8912595b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2362071973750611525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_18_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6913cb793cd36d595cb4b3e7ac8c159f.jpg","text":"TemporaryFile(/tmp/multipartBody4137282087677172408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_31_6732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7975e121b519b07bd5ab89473f475592.jpg","text":"TemporaryFile(/tmp/multipartBody7576985551751342505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_53_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/22/fed53b27abb5a57189e7af5c187db3f5.jpg","text":"TemporaryFile(/tmp/multipartBody3800689316889311797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_46_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18c93e7b42a422ea75fda9fe055ac76e.jpg","text":"TemporaryFile(/tmp/multipartBody2501245505641770822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_12_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/22/5c4449b479aea924cd16ab4fda7810cc.jpg","text":"TemporaryFile(/tmp/multipartBody4343574759939803210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544033350,"filename":"image_22012025_12_05_35_4589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330575348","file1":"1330575183","file0":"1330575166","file4":"1330575454","file5":"1330575486","file3":"1330575427"},"map_files_photo_id_array":[{"photo_id":"1330575486","filename":"file5"},{"photo_id":"1330575348","filename":"file2"},{"photo_id":"1330575454","filename":"file4"},{"photo_id":"1330575183","filename":"file1"},{"photo_id":"1330575166","filename":"file0"},{"photo_id":"1330575427","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330575454":["hashtag1","hashtag2"]},{"1330575427":["hashtag1","hashtag2"]},{"1330575166":["hashtag1","hashtag2"]},{"1330575183":["hashtag1","hashtag2"]},{"1330575486":["hashtag1","hashtag2"]},{"1330575348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330575454, 1330575427, 1330575166, 1330575183, 1330575486, 1330575348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.21051073074341 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:07:04.957820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/06/image_22012025_12_06_54_5651.jpg', '/media/data/images/22012025/12/06/image_22012025_12_06_48_6841.jpg', '/media/data/images/22012025/12/06/image_22012025_12_06_34_5446.jpg', '/media/data/images/22012025/12/06/image_22012025_12_06_23_6683.jpg', '/media/data/images/22012025/12/06/image_22012025_12_06_12_6822.jpg', '/media/data/images/22012025/12/06/image_22012025_12_06_05_6518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/06/image_22012025_12_06_54_5651.jpg
/media/data/images/22012025/12/06/image_22012025_12_06_48_6841.jpg
/media/data/images/22012025/12/06/image_22012025_12_06_34_5446.jpg
/media/data/images/22012025/12/06/image_22012025_12_06_23_6683.jpg
/media/data/images/22012025/12/06/image_22012025_12_06_12_6822.jpg
/media/data/images/22012025/12/06/image_22012025_12_06_05_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":["1330575791","1330575799","1330575787","1330575786","1330575789","1330575782"],"photo_ids_order":["1330575782","1330575786","1330575787","1330575789","1330575791","1330575799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d93453d834ebe854fe0084a5b31e8eb7.jpg","text":"TemporaryFile(/tmp/multipartBody7766403777227871280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_12_6822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/958b26d6bf6be96150a7b9a1865b0b40.jpg","text":"TemporaryFile(/tmp/multipartBody2860657745829820580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_05_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/22/1ce1120ae0b1714839155d8db0c9eaf4.jpg","text":"TemporaryFile(/tmp/multipartBody7021717923036033330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_34_5446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdb1e49de7004fed282d3e238cda2af0.jpg","text":"TemporaryFile(/tmp/multipartBody4061550204391173428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_48_6841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ead352b2039aeca8c752c802e5ed217.jpg","text":"TemporaryFile(/tmp/multipartBody8901312696432332610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_23_6683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/522c2989b1238cb6135f347244720950.jpg","text":"TemporaryFile(/tmp/multipartBody7814081779252599302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544104629,"filename":"image_22012025_12_06_54_5651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330575787","file1":"1330575786","file0":"1330575782","file4":"1330575791","file5":"1330575799","file3":"1330575789"},"map_files_photo_id_array":[{"photo_id":"1330575799","filename":"file5"},{"photo_id":"1330575787","filename":"file2"},{"photo_id":"1330575791","filename":"file4"},{"photo_id":"1330575786","filename":"file1"},{"photo_id":"1330575782","filename":"file0"},{"photo_id":"1330575789","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330575791":["hashtag1","hashtag2"]},{"1330575799":["hashtag1","hashtag2"]},{"1330575787":["hashtag1","hashtag2"]},{"1330575786":["hashtag1","hashtag2"]},{"1330575789":["hashtag1","hashtag2"]},{"1330575782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330575791, 1330575799, 1330575787, 1330575786, 1330575789, 1330575782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.72423958778381 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:08:03.288220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/07/image_22012025_12_07_47_6664.jpg', '/media/data/images/22012025/12/07/image_22012025_12_07_28_5420.jpg', '/media/data/images/22012025/12/07/image_22012025_12_07_23_5794.jpg', '/media/data/images/22012025/12/07/image_22012025_12_07_05_5155.jpg', '/media/data/images/22012025/12/06/image_22012025_12_07_00_5725.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_59_5985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/07/image_22012025_12_07_47_6664.jpg
/media/data/images/22012025/12/07/image_22012025_12_07_28_5420.jpg
/media/data/images/22012025/12/07/image_22012025_12_07_23_5794.jpg
/media/data/images/22012025/12/07/image_22012025_12_07_05_5155.jpg
/media/data/images/22012025/12/06/image_22012025_12_07_00_5725.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_59_5985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330575842","1330575844","1330575826","1330575820","1330575837","1330575831"],"photo_ids_order":["1330575820","1330575826","1330575831","1330575837","1330575842","1330575844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0bcd5386c9a6506702e16cbde1c0be98.jpg","text":"TemporaryFile(/tmp/multipartBody4519886115575490273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_07_00_5725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5f4f22169950abfb5d3dcb9ea89dda2.jpg","text":"TemporaryFile(/tmp/multipartBody6002887916935683218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_05_59_5985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/79df395d731d1f1edb0798ee04d317a2.jpg","text":"TemporaryFile(/tmp/multipartBody3855525626571094173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_07_28_5420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/973f7ab1cce2ed4b14fc3d6f8e11ef8b.jpg","text":"TemporaryFile(/tmp/multipartBody657785516914201594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_07_47_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/22/607fe31e044cfd4888a1bc8dc4c8f648.jpg","text":"TemporaryFile(/tmp/multipartBody8248753145163791884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_07_05_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/22/0a633ad82d194ee964da8b1608f76d75.jpg","text":"TemporaryFile(/tmp/multipartBody3016392041702721864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544152358,"filename":"image_22012025_12_07_23_5794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330575831","file1":"1330575826","file0":"1330575820","file4":"1330575842","file5":"1330575844","file3":"1330575837"},"map_files_photo_id_array":[{"photo_id":"1330575844","filename":"file5"},{"photo_id":"1330575831","filename":"file2"},{"photo_id":"1330575842","filename":"file4"},{"photo_id":"1330575826","filename":"file1"},{"photo_id":"1330575820","filename":"file0"},{"photo_id":"1330575837","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330575842":["hashtag1","hashtag2"]},{"1330575844":["hashtag1","hashtag2"]},{"1330575826":["hashtag1","hashtag2"]},{"1330575820":["hashtag1","hashtag2"]},{"1330575837":["hashtag1","hashtag2"]},{"1330575831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330575842, 1330575844, 1330575826, 1330575820, 1330575837, 1330575831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.58247137069702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 12:09:04.963395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/08/image_22012025_12_08_05_5091.jpg', '/media/data/images/22012025/12/07/image_22012025_12_07_53_5547.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_06_5455.jpg', '/media/data/images/22012025/12/04/image_22012025_12_05_00_6703.jpg', '/media/data/images/22012025/12/04/image_22012025_12_04_53_5431.jpg', '/media/data/images/22012025/12/04/image_22012025_12_04_47_6705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/08/image_22012025_12_08_05_5091.jpg
/media/data/images/22012025/12/07/image_22012025_12_07_53_5547.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_06_5455.jpg
/media/data/images/22012025/12/04/image_22012025_12_05_00_6703.jpg
/media/data/images/22012025/12/04/image_22012025_12_04_53_5431.jpg
/media/data/images/22012025/12/04/image_22012025_12_04_47_6705.jpg
2025-01-22 12:09:05.157828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/08/image_22012025_12_08_05_5091.jpg', '/media/data/images/22012025/12/07/image_22012025_12_07_53_5547.jpg', '/media/data/images/22012025/12/05/image_22012025_12_05_06_5455.jpg', '/media/data/images/22012025/12/04/image_22012025_12_05_00_6703.jpg', '/media/data/images/22012025/12/04/image_22012025_12_04_53_5431.jpg', '/media/data/images/22012025/12/04/image_22012025_12_04_47_6705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/08/image_22012025_12_08_05_5091.jpg
/media/data/images/22012025/12/07/image_22012025_12_07_53_5547.jpg
/media/data/images/22012025/12/05/image_22012025_12_05_06_5455.jpg
/media/data/images/22012025/12/04/image_22012025_12_05_00_6703.jpg
/media/data/images/22012025/12/04/image_22012025_12_04_53_5431.jpg
/media/data/images/22012025/12/04/image_22012025_12_04_47_6705.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":["1330575971","1330575938","1330575961","1330575958","1330575916","1330575966"],"photo_ids_order":["1330575916","1330575938","1330575958","1330575961","1330575966","1330575971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/58fe265c98161b94b02310e7b63a9c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8461584869772837189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_04_47_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/22/21c1f330f1973bba1a16bd793890a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8148986626846946229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_07_53_5547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ad5e10fc7b11b76b0a1528d235ad37e.jpg","text":"TemporaryFile(/tmp/multipartBody4126768785949232004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_05_00_6703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/43c10fdbf53b021a2a67ad4ee60cd4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6066390504746450529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_05_06_5455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ee6e6884674edf7be1ff723be36aff8.jpg","text":"TemporaryFile(/tmp/multipartBody8142795839376426551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_08_05_5091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82a7ffc47d3dc23d5f81d3a5d74545cb.jpg","text":"TemporaryFile(/tmp/multipartBody1057174309973184283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544229004,"filename":"image_22012025_12_04_53_5431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330575958","file1":"1330575938","file0":"1330575916","file4":"1330575966","file5":"1330575971","file3":"1330575961"},"map_files_photo_id_array":[{"photo_id":"1330575971","filename":"file5"},{"photo_id":"1330575958","filename":"file2"},{"photo_id":"1330575966","filename":"file4"},{"photo_id":"1330575938","filename":"file1"},{"photo_id":"1330575916","filename":"file0"},{"photo_id":"1330575961","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330575971":["hashtag1","hashtag2"]},{"1330575938":["hashtag1","hashtag2"]},{"1330575961":["hashtag1","hashtag2"]},{"1330575958":["hashtag1","hashtag2"]},{"1330575916":["hashtag1","hashtag2"]},{"1330575966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330575971, 1330575938, 1330575961, 1330575958, 1330575916, 1330575966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.006051540374756 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330575965","1330575970","1330575960","1330575915","1330575939","1330575974"],"photo_ids_order":["1330575915","1330575939","1330575960","1330575965","1330575970","1330575974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/55de46f433b1375072064642501649c5.jpg","text":"TemporaryFile(/tmp/multipartBody4025559552788019698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_05_00_6703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3034009485a5660ee4d3f91145bae8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2023538885635162213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_04_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/22/df805a0c762234707c87385a49e042d1.jpg","text":"TemporaryFile(/tmp/multipartBody3507987856120290386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_05_06_5455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/db4e8a242661b5dc7ae94b9d1e5eb7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6344421424384877590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_08_05_5091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/05cba261c268f6c1d58c30b191db0687.jpg","text":"TemporaryFile(/tmp/multipartBody4778392936760981884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_07_53_5547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98dd7b062cc1a88127a5a56561fcd53f.jpg","text":"TemporaryFile(/tmp/multipartBody6658948223097858960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544228721,"filename":"image_22012025_12_04_47_6705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330575960","file1":"1330575939","file0":"1330575915","file4":"1330575970","file5":"1330575974","file3":"1330575965"},"map_files_photo_id_array":[{"photo_id":"1330575974","filename":"file5"},{"photo_id":"1330575960","filename":"file2"},{"photo_id":"1330575970","filename":"file4"},{"photo_id":"1330575939","filename":"file1"},{"photo_id":"1330575915","filename":"file0"},{"photo_id":"1330575965","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330575965":["hashtag1","hashtag2"]},{"1330575970":["hashtag1","hashtag2"]},{"1330575960":["hashtag1","hashtag2"]},{"1330575915":["hashtag1","hashtag2"]},{"1330575939":["hashtag1","hashtag2"]},{"1330575974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330575965, 1330575970, 1330575960, 1330575915, 1330575939, 1330575974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.51838302612305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:10:22.136182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/10/image_22012025_12_10_53_6702.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_47_5440.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_41_6692.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_34_5436.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_23_5189.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_18_6552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/10/image_22012025_12_10_53_6702.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_47_5440.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_41_6692.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_34_5436.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_23_5189.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_18_6552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330576042","1330576039","1330576027","1330576047","1330576035","1330576037"],"photo_ids_order":["1330576027","1330576035","1330576037","1330576039","1330576042","1330576047"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32018fd4709b629e055ef01f0913b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8281303902522260027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_23_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/22/391124c34ed6554b292645cff5d2dcaa.jpg","text":"TemporaryFile(/tmp/multipartBody5444198202983071554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_34_5436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98dc67b40fcf0eb323119354e5255b17.jpg","text":"TemporaryFile(/tmp/multipartBody6725229678597728491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_53_6702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30a14bfc1911ae7ca159149fde90d297.jpg","text":"TemporaryFile(/tmp/multipartBody2850777359222404316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_18_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/22/77be47ba2c0ad95552053846f261889c.jpg","text":"TemporaryFile(/tmp/multipartBody1346153811506389857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_47_5440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d0714839e59356e9d589b1d06f9359e.jpg","text":"TemporaryFile(/tmp/multipartBody8565516464352160253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544305340,"filename":"image_22012025_12_10_41_6692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576037","file1":"1330576035","file0":"1330576027","file4":"1330576042","file5":"1330576047","file3":"1330576039"},"map_files_photo_id_array":[{"photo_id":"1330576047","filename":"file5"},{"photo_id":"1330576037","filename":"file2"},{"photo_id":"1330576042","filename":"file4"},{"photo_id":"1330576035","filename":"file1"},{"photo_id":"1330576027","filename":"file0"},{"photo_id":"1330576039","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576042":["hashtag1","hashtag2"]},{"1330576039":["hashtag1","hashtag2"]},{"1330576027":["hashtag1","hashtag2"]},{"1330576047":["hashtag1","hashtag2"]},{"1330576035":["hashtag1","hashtag2"]},{"1330576037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576042, 1330576039, 1330576027, 1330576047, 1330576035, 1330576037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29089546203613 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:11:22.410496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/11/image_22012025_12_11_53_5444.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_47_6106.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_41_6592.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_29_5365.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_24_6909.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_16_5679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/11/image_22012025_12_11_53_5444.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_47_6106.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_41_6592.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_29_5365.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_24_6909.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_16_5679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330576288","1330576273","1330576231","1330576182","1330576251","1330576289"],"photo_ids_order":["1330576182","1330576231","1330576251","1330576273","1330576288","1330576289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f26e055a3e1374465731a7a04195306.jpg","text":"TemporaryFile(/tmp/multipartBody4065648081321274376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_24_6909.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9e121cb5232772041fa06d7b161f641c.jpg","text":"TemporaryFile(/tmp/multipartBody7693105664791000778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_29_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/22/aa35941ca8f90fc35907a7f3d8c10e82.jpg","text":"TemporaryFile(/tmp/multipartBody9157416027645111754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_47_6106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17abb2139115e2b1dc5fd72548b3616f.jpg","text":"TemporaryFile(/tmp/multipartBody4748609375088933179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_53_5444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38ab2d2aaf9f2db934a8aea69715c249.jpg","text":"TemporaryFile(/tmp/multipartBody566674397912640355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_41_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/22/99b63422b25368cd8e25b9ddd183a7e4.jpg","text":"TemporaryFile(/tmp/multipartBody5188483223340991021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544377323,"filename":"image_22012025_12_11_16_5679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576251","file1":"1330576231","file0":"1330576182","file4":"1330576288","file5":"1330576289","file3":"1330576273"},"map_files_photo_id_array":[{"photo_id":"1330576289","filename":"file5"},{"photo_id":"1330576251","filename":"file2"},{"photo_id":"1330576288","filename":"file4"},{"photo_id":"1330576231","filename":"file1"},{"photo_id":"1330576182","filename":"file0"},{"photo_id":"1330576273","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576288":["hashtag1","hashtag2"]},{"1330576273":["hashtag1","hashtag2"]},{"1330576231":["hashtag1","hashtag2"]},{"1330576182":["hashtag1","hashtag2"]},{"1330576251":["hashtag1","hashtag2"]},{"1330576289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576288, 1330576273, 1330576231, 1330576182, 1330576251, 1330576289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.6425678730011 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:12:42.558889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/12/image_22012025_12_12_41_6565.jpg', '/media/data/images/22012025/12/12/image_22012025_12_12_12_5733.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_59_6730.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_11_6424.jpg', '/media/data/images/22012025/12/11/image_22012025_12_11_05_5720.jpg', '/media/data/images/22012025/12/10/image_22012025_12_10_59_5434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/12/image_22012025_12_12_41_6565.jpg
/media/data/images/22012025/12/12/image_22012025_12_12_12_5733.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_59_6730.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_11_6424.jpg
/media/data/images/22012025/12/11/image_22012025_12_11_05_5720.jpg
/media/data/images/22012025/12/10/image_22012025_12_10_59_5434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330576651","1330576603","1330576633","1330576600","1330576643","1330576631"],"photo_ids_order":["1330576600","1330576603","1330576631","1330576633","1330576643","1330576651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/930ce919f0c672a68f10ffee459738e9.jpg","text":"TemporaryFile(/tmp/multipartBody7295170572831299029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_10_59_5434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/659a4892025e4539d43d60a47eec0aed.jpg","text":"TemporaryFile(/tmp/multipartBody5069132542210369956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_12_12_5733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/022324f32ab68f82736d82661bac7f28.jpg","text":"TemporaryFile(/tmp/multipartBody4916508146884940906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_11_11_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/22/cd17cf364e1ff89e4bd024f13300e70d.jpg","text":"TemporaryFile(/tmp/multipartBody6890903019909587945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_12_41_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/22/91e191ba52e312d3d29f90068c16e6b8.jpg","text":"TemporaryFile(/tmp/multipartBody571797002337013763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_11_05_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/658cda4e876f552c4d81305cdb34869c.jpg","text":"TemporaryFile(/tmp/multipartBody7406219456333265685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544454225,"filename":"image_22012025_12_11_59_6730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576631","file1":"1330576603","file0":"1330576600","file4":"1330576643","file5":"1330576651","file3":"1330576633"},"map_files_photo_id_array":[{"photo_id":"1330576651","filename":"file5"},{"photo_id":"1330576631","filename":"file2"},{"photo_id":"1330576643","filename":"file4"},{"photo_id":"1330576603","filename":"file1"},{"photo_id":"1330576600","filename":"file0"},{"photo_id":"1330576633","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576651":["hashtag1","hashtag2"]},{"1330576603":["hashtag1","hashtag2"]},{"1330576633":["hashtag1","hashtag2"]},{"1330576600":["hashtag1","hashtag2"]},{"1330576643":["hashtag1","hashtag2"]},{"1330576631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576651, 1330576603, 1330576633, 1330576600, 1330576643, 1330576631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.21631073951721 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 12:14:04.298238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/13/image_22012025_12_13_46_5807.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_41_5434.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_35_6698.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_16_5938.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_11_4897.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_06_6052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/13/image_22012025_12_13_46_5807.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_41_5434.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_35_6698.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_16_5938.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_11_4897.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_06_6052.jpg
2025-01-22 12:14:04.394024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/13/image_22012025_12_13_46_5807.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_41_5434.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_35_6698.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_16_5938.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_11_4897.jpg', '/media/data/images/22012025/12/13/image_22012025_12_13_06_6052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/13/image_22012025_12_13_46_5807.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_41_5434.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_35_6698.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_16_5938.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_11_4897.jpg
/media/data/images/22012025/12/13/image_22012025_12_13_06_6052.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":["1330576820","1330576825","1330576804","1330576830","1330576815","1330576809"],"photo_ids_order":["1330576804","1330576809","1330576815","1330576820","1330576825","1330576830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76fdcfad057ff9cf2b8f045667df67b4.jpg","text":"TemporaryFile(/tmp/multipartBody2210560869372533894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_16_5938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83d5a29250f46645ecfc6f5c4dc48152.jpg","text":"TemporaryFile(/tmp/multipartBody6531485856047905929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_11_4897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1607890fa4b7aeb7bc930032c063f51e.jpg","text":"TemporaryFile(/tmp/multipartBody7331877035695412744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_46_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1a3cc1321596903a281e195bacea65ac.jpg","text":"TemporaryFile(/tmp/multipartBody6797604505746254980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_06_6052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02488921af6d3f8555188a804fee32fd.jpg","text":"TemporaryFile(/tmp/multipartBody8321350983776884911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_35_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/22/8baede874c50e83219fca06817180805.jpg","text":"TemporaryFile(/tmp/multipartBody540780897139585777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544558081,"filename":"image_22012025_12_13_41_5434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576815","file1":"1330576809","file0":"1330576804","file4":"1330576825","file5":"1330576830","file3":"1330576820"},"map_files_photo_id_array":[{"photo_id":"1330576830","filename":"file5"},{"photo_id":"1330576815","filename":"file2"},{"photo_id":"1330576825","filename":"file4"},{"photo_id":"1330576809","filename":"file1"},{"photo_id":"1330576804","filename":"file0"},{"photo_id":"1330576820","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576820":["hashtag1","hashtag2"]},{"1330576825":["hashtag1","hashtag2"]},{"1330576804":["hashtag1","hashtag2"]},{"1330576830":["hashtag1","hashtag2"]},{"1330576815":["hashtag1","hashtag2"]},{"1330576809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576820, 1330576825, 1330576804, 1330576830, 1330576815, 1330576809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.8102388381958 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330576832","1330576826","1330576807","1330576812","1330576821","1330576817"],"photo_ids_order":["1330576807","1330576812","1330576817","1330576821","1330576826","1330576832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ff8250a5cff4d985c4882c3660c226cf.jpg","text":"TemporaryFile(/tmp/multipartBody3905323898572408015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_06_6052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42315a59323a2f8fccc12012d6ba6762.jpg","text":"TemporaryFile(/tmp/multipartBody7291541719985616478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_11_4897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf900b710957113887b28277aa799dea.jpg","text":"TemporaryFile(/tmp/multipartBody9071396243109402283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_46_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/acfda7c3c21032c58b8b92a089e3a453.jpg","text":"TemporaryFile(/tmp/multipartBody271566528029305192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_41_5434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2ce3ecac3cc08e857139f734d73df5d6.jpg","text":"TemporaryFile(/tmp/multipartBody4119237040737053276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_16_5938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71de75629e0b9c070b8e382b3afda138.jpg","text":"TemporaryFile(/tmp/multipartBody1166767125646883178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544561825,"filename":"image_22012025_12_13_35_6698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576817","file1":"1330576812","file0":"1330576807","file4":"1330576826","file5":"1330576832","file3":"1330576821"},"map_files_photo_id_array":[{"photo_id":"1330576832","filename":"file5"},{"photo_id":"1330576817","filename":"file2"},{"photo_id":"1330576826","filename":"file4"},{"photo_id":"1330576812","filename":"file1"},{"photo_id":"1330576807","filename":"file0"},{"photo_id":"1330576821","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576832":["hashtag1","hashtag2"]},{"1330576826":["hashtag1","hashtag2"]},{"1330576807":["hashtag1","hashtag2"]},{"1330576812":["hashtag1","hashtag2"]},{"1330576821":["hashtag1","hashtag2"]},{"1330576817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576832, 1330576826, 1330576807, 1330576812, 1330576821, 1330576817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.33103680610657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:15:42.291477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/15/image_22012025_12_15_30_6013.jpg', '/media/data/images/22012025/12/15/image_22012025_12_15_06_7230.jpg', '/media/data/images/22012025/12/14/image_22012025_12_14_58_5454.jpg', '/media/data/images/22012025/12/14/image_22012025_12_14_41_5517.jpg', '/media/data/images/22012025/12/14/image_22012025_12_14_23_6036.jpg', '/media/data/images/22012025/12/14/image_22012025_12_14_17_6712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/15/image_22012025_12_15_30_6013.jpg
/media/data/images/22012025/12/15/image_22012025_12_15_06_7230.jpg
/media/data/images/22012025/12/14/image_22012025_12_14_58_5454.jpg
/media/data/images/22012025/12/14/image_22012025_12_14_41_5517.jpg
/media/data/images/22012025/12/14/image_22012025_12_14_23_6036.jpg
/media/data/images/22012025/12/14/image_22012025_12_14_17_6712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330576925","1330576951","1330576909","1330576938","1330576947","1330576943"],"photo_ids_order":["1330576909","1330576925","1330576938","1330576943","1330576947","1330576951"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d43bc8a6e41be6be3c8ce6490d72a05f.jpg","text":"TemporaryFile(/tmp/multipartBody5924848921175015113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_15_06_7230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0ce15868afff2aa393c4dbe914b3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5202812466104378029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_14_17_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/22/2659ed423c2a4c950f2e0466066aafcf.jpg","text":"TemporaryFile(/tmp/multipartBody1152191010624658188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_15_30_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/22/0adefe63debed1d18cfac6602792030f.jpg","text":"TemporaryFile(/tmp/multipartBody8399242642977158514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_14_58_5454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d50c8f4c7c7338be36891a64c3564e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8387748090010115343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_14_23_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/22/a10998715b057b527b3e7d441ac4fc61.jpg","text":"TemporaryFile(/tmp/multipartBody4834711737704674910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544612569,"filename":"image_22012025_12_14_41_5517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330576938","file1":"1330576925","file0":"1330576909","file4":"1330576947","file5":"1330576951","file3":"1330576943"},"map_files_photo_id_array":[{"photo_id":"1330576951","filename":"file5"},{"photo_id":"1330576938","filename":"file2"},{"photo_id":"1330576947","filename":"file4"},{"photo_id":"1330576925","filename":"file1"},{"photo_id":"1330576909","filename":"file0"},{"photo_id":"1330576943","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330576925":["hashtag1","hashtag2"]},{"1330576951":["hashtag1","hashtag2"]},{"1330576909":["hashtag1","hashtag2"]},{"1330576938":["hashtag1","hashtag2"]},{"1330576947":["hashtag1","hashtag2"]},{"1330576943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330576925, 1330576951, 1330576909, 1330576938, 1330576947, 1330576943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.82927680015564 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:16:42.562114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/16/image_22012025_12_16_53_6238.jpg', '/media/data/images/22012025/12/16/image_22012025_12_16_46_5907.jpg', '/media/data/images/22012025/12/16/image_22012025_12_16_40_5362.jpg', '/media/data/images/22012025/12/16/image_22012025_12_16_35_6535.jpg', '/media/data/images/22012025/12/16/image_22012025_12_16_29_5265.jpg', '/media/data/images/22012025/12/16/image_22012025_12_16_23_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/16/image_22012025_12_16_53_6238.jpg
/media/data/images/22012025/12/16/image_22012025_12_16_46_5907.jpg
/media/data/images/22012025/12/16/image_22012025_12_16_40_5362.jpg
/media/data/images/22012025/12/16/image_22012025_12_16_35_6535.jpg
/media/data/images/22012025/12/16/image_22012025_12_16_29_5265.jpg
/media/data/images/22012025/12/16/image_22012025_12_16_23_6467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330577044","1330577037","1330577031","1330577025","1330577019","1330577081"],"photo_ids_order":["1330577019","1330577025","1330577031","1330577037","1330577044","1330577081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bbdcd57022618cef18786492feeb2d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2508765537109745927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_29_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/22/6f1a93db761ec028bc41154048d78cbd.jpg","text":"TemporaryFile(/tmp/multipartBody518695900785047097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_35_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/22/c23cef187f495507ae77d3128a22df6f.jpg","text":"TemporaryFile(/tmp/multipartBody775267362255162687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_40_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/22/b614f96a6621fed89275a92491e3c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody8115096768214122231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_46_5907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3bd7ef0faa5126516a22d16ac8be1d45.jpg","text":"TemporaryFile(/tmp/multipartBody2294060526738780505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_53_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/22/fa00731e9cc1d9697de0103ae11e26ec.jpg","text":"TemporaryFile(/tmp/multipartBody3829741006711537408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544680436,"filename":"image_22012025_12_16_23_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577031","file1":"1330577025","file0":"1330577019","file4":"1330577044","file5":"1330577081","file3":"1330577037"},"map_files_photo_id_array":[{"photo_id":"1330577081","filename":"file5"},{"photo_id":"1330577031","filename":"file2"},{"photo_id":"1330577044","filename":"file4"},{"photo_id":"1330577025","filename":"file1"},{"photo_id":"1330577019","filename":"file0"},{"photo_id":"1330577037","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577044":["hashtag1","hashtag2"]},{"1330577037":["hashtag1","hashtag2"]},{"1330577031":["hashtag1","hashtag2"]},{"1330577025":["hashtag1","hashtag2"]},{"1330577019":["hashtag1","hashtag2"]},{"1330577081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577044, 1330577037, 1330577031, 1330577025, 1330577019, 1330577081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.566993713378906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:17:42.595954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/17/image_22012025_12_17_53_4533.jpg', '/media/data/images/22012025/12/17/image_22012025_12_17_48_7385.jpg', '/media/data/images/22012025/12/17/image_22012025_12_17_40_5255.jpg', '/media/data/images/22012025/12/17/image_22012025_12_17_35_6530.jpg', '/media/data/images/22012025/12/17/image_22012025_12_17_29_5203.jpg', '/media/data/images/22012025/12/17/image_22012025_12_17_23_6444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/17/image_22012025_12_17_53_4533.jpg
/media/data/images/22012025/12/17/image_22012025_12_17_48_7385.jpg
/media/data/images/22012025/12/17/image_22012025_12_17_40_5255.jpg
/media/data/images/22012025/12/17/image_22012025_12_17_35_6530.jpg
/media/data/images/22012025/12/17/image_22012025_12_17_29_5203.jpg
/media/data/images/22012025/12/17/image_22012025_12_17_23_6444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330577131","1330577119","1330577110","1330577124","1330577115","1330577102"],"photo_ids_order":["1330577102","1330577110","1330577115","1330577119","1330577124","1330577131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d49564d9ae12bd8562305dd46946f675.jpg","text":"TemporaryFile(/tmp/multipartBody4297145071362616729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_23_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/22/e86bd439b1c9242f854102212d1bc299.jpg","text":"TemporaryFile(/tmp/multipartBody9213500027510475398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_35_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/22/97bfc8baf9199e11ad6155e295b85049.jpg","text":"TemporaryFile(/tmp/multipartBody3121235909266381434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_48_7385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d91f04724d8ebe69e3034f41d08b8134.jpg","text":"TemporaryFile(/tmp/multipartBody7220499091244822780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_29_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/22/18b5c0df9c1616884df65e9888184eee.jpg","text":"TemporaryFile(/tmp/multipartBody7422953421723553225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_40_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/22/99384d80521f0e0788a76d6db56d2f88.jpg","text":"TemporaryFile(/tmp/multipartBody5867512574755945957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544742349,"filename":"image_22012025_12_17_53_4533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577115","file1":"1330577110","file0":"1330577102","file4":"1330577124","file5":"1330577131","file3":"1330577119"},"map_files_photo_id_array":[{"photo_id":"1330577131","filename":"file5"},{"photo_id":"1330577115","filename":"file2"},{"photo_id":"1330577124","filename":"file4"},{"photo_id":"1330577110","filename":"file1"},{"photo_id":"1330577102","filename":"file0"},{"photo_id":"1330577119","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577131":["hashtag1","hashtag2"]},{"1330577119":["hashtag1","hashtag2"]},{"1330577110":["hashtag1","hashtag2"]},{"1330577124":["hashtag1","hashtag2"]},{"1330577115":["hashtag1","hashtag2"]},{"1330577102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577131, 1330577119, 1330577110, 1330577124, 1330577115, 1330577102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.58870553970337 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:18:42.761487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/18/image_22012025_12_18_54_4897.jpg', '/media/data/images/22012025/12/18/image_22012025_12_18_49_7093.jpg', '/media/data/images/22012025/12/18/image_22012025_12_18_41_5420.jpg', '/media/data/images/22012025/12/18/image_22012025_12_18_36_6693.jpg', '/media/data/images/22012025/12/18/image_22012025_12_18_29_5457.jpg', '/media/data/images/22012025/12/18/image_22012025_12_18_23_6689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/18/image_22012025_12_18_54_4897.jpg
/media/data/images/22012025/12/18/image_22012025_12_18_49_7093.jpg
/media/data/images/22012025/12/18/image_22012025_12_18_41_5420.jpg
/media/data/images/22012025/12/18/image_22012025_12_18_36_6693.jpg
/media/data/images/22012025/12/18/image_22012025_12_18_29_5457.jpg
/media/data/images/22012025/12/18/image_22012025_12_18_23_6689.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":["1330577207","1330577203","1330577223","1330577211","1330577214","1330577219"],"photo_ids_order":["1330577203","1330577207","1330577211","1330577214","1330577219","1330577223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b5fbff66f1a9c296a5124354841ef0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7021455795068282712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_49_7093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01093936390305a5f17c8eb3c1544e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5320595927283525555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_54_4897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d90fbd91faf2f6379dcb7afa5b6b54dd.jpg","text":"TemporaryFile(/tmp/multipartBody8809859426589593122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_23_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/06f0db8e00dc68a2d950b778c4999d63.jpg","text":"TemporaryFile(/tmp/multipartBody1108745432277650118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_41_5420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a056845bcffe9856f45cf70e1d26d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6806956025545866724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_36_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/22/020fa3b69c214ba6d67c999030f5615a.jpg","text":"TemporaryFile(/tmp/multipartBody3677850886418341888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544819840,"filename":"image_22012025_12_18_29_5457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577211","file1":"1330577207","file0":"1330577203","file4":"1330577219","file5":"1330577223","file3":"1330577214"},"map_files_photo_id_array":[{"photo_id":"1330577223","filename":"file5"},{"photo_id":"1330577211","filename":"file2"},{"photo_id":"1330577219","filename":"file4"},{"photo_id":"1330577207","filename":"file1"},{"photo_id":"1330577203","filename":"file0"},{"photo_id":"1330577214","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577207":["hashtag1","hashtag2"]},{"1330577203":["hashtag1","hashtag2"]},{"1330577223":["hashtag1","hashtag2"]},{"1330577211":["hashtag1","hashtag2"]},{"1330577214":["hashtag1","hashtag2"]},{"1330577219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577207, 1330577203, 1330577223, 1330577211, 1330577214, 1330577219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.31744718551636 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:20:03.576441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/19/image_22012025_12_19_54_6306.jpg', '/media/data/images/22012025/12/19/image_22012025_12_19_48_6435.jpg', '/media/data/images/22012025/12/19/image_22012025_12_19_41_6497.jpg', '/media/data/images/22012025/12/19/image_22012025_12_19_35_6407.jpg', '/media/data/images/22012025/12/19/image_22012025_12_19_28_5239.jpg', '/media/data/images/22012025/12/19/image_22012025_12_19_23_6687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/19/image_22012025_12_19_54_6306.jpg
/media/data/images/22012025/12/19/image_22012025_12_19_48_6435.jpg
/media/data/images/22012025/12/19/image_22012025_12_19_41_6497.jpg
/media/data/images/22012025/12/19/image_22012025_12_19_35_6407.jpg
/media/data/images/22012025/12/19/image_22012025_12_19_28_5239.jpg
/media/data/images/22012025/12/19/image_22012025_12_19_23_6687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330577374","1330577347","1330577364","1330577376","1330577381","1330577360"],"photo_ids_order":["1330577347","1330577360","1330577364","1330577374","1330577376","1330577381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/08387b93659f6981f8cf2c68812e86c6.jpg","text":"TemporaryFile(/tmp/multipartBody7981360610670150615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_35_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/22/a7e48ce6f60340a4df77191b133bfffe.jpg","text":"TemporaryFile(/tmp/multipartBody7207521823146464237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_54_6306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d879ba4c43df4ee1a3575eedec1e2ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6948061130468192809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_41_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/22/333c0ddc1f9bc3006e9aad5f61b6b8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8378111619465929966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_28_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/22/1ad22e73ddb1c47b8cfbe9567e0421fa.jpg","text":"TemporaryFile(/tmp/multipartBody8917275379849578226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_23_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5864a87eedf7b2fe9bf37fa3cb2875c7.jpg","text":"TemporaryFile(/tmp/multipartBody2889197127889565004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544880476,"filename":"image_22012025_12_19_48_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577364","file1":"1330577360","file0":"1330577347","file4":"1330577376","file5":"1330577381","file3":"1330577374"},"map_files_photo_id_array":[{"photo_id":"1330577381","filename":"file5"},{"photo_id":"1330577364","filename":"file2"},{"photo_id":"1330577376","filename":"file4"},{"photo_id":"1330577360","filename":"file1"},{"photo_id":"1330577347","filename":"file0"},{"photo_id":"1330577374","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577374":["hashtag1","hashtag2"]},{"1330577347":["hashtag1","hashtag2"]},{"1330577364":["hashtag1","hashtag2"]},{"1330577376":["hashtag1","hashtag2"]},{"1330577381":["hashtag1","hashtag2"]},{"1330577360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577374, 1330577347, 1330577364, 1330577376, 1330577381, 1330577360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.559263944625854 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:21:03.624150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/20/image_22012025_12_20_53_6531.jpg', '/media/data/images/22012025/12/20/image_22012025_12_20_47_5259.jpg', '/media/data/images/22012025/12/20/image_22012025_12_20_41_6503.jpg', '/media/data/images/22012025/12/20/image_22012025_12_20_35_6516.jpg', '/media/data/images/22012025/12/20/image_22012025_12_20_28_5281.jpg', '/media/data/images/22012025/12/20/image_22012025_12_20_23_6032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/20/image_22012025_12_20_53_6531.jpg
/media/data/images/22012025/12/20/image_22012025_12_20_47_5259.jpg
/media/data/images/22012025/12/20/image_22012025_12_20_41_6503.jpg
/media/data/images/22012025/12/20/image_22012025_12_20_35_6516.jpg
/media/data/images/22012025/12/20/image_22012025_12_20_28_5281.jpg
/media/data/images/22012025/12/20/image_22012025_12_20_23_6032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330577404","1330577413","1330577409","1330577430","1330577424","1330577418"],"photo_ids_order":["1330577404","1330577409","1330577413","1330577418","1330577424","1330577430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59f0990cac12109f69ab0c13cb3d0a6f.jpg","text":"TemporaryFile(/tmp/multipartBody92247437321492756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_53_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/22/98277514499d865d0a8903440d4f5d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7322525807847147039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_41_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/22/6323a5dce8ffcf1e0d37545b7822c832.jpg","text":"TemporaryFile(/tmp/multipartBody5350064970123872501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_47_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/22/7bef847b6264abbe4e0ec0e756a40130.jpg","text":"TemporaryFile(/tmp/multipartBody4434763011285058163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_23_6032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da2a42207c8b45bbad7d301d8819edae.jpg","text":"TemporaryFile(/tmp/multipartBody6623420434309771295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_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/22/b5ce20c65b89cead1ef84ce44638e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody3228891021286207011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544933532,"filename":"image_22012025_12_20_35_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577413","file1":"1330577409","file0":"1330577404","file4":"1330577424","file5":"1330577430","file3":"1330577418"},"map_files_photo_id_array":[{"photo_id":"1330577430","filename":"file5"},{"photo_id":"1330577413","filename":"file2"},{"photo_id":"1330577424","filename":"file4"},{"photo_id":"1330577409","filename":"file1"},{"photo_id":"1330577404","filename":"file0"},{"photo_id":"1330577418","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577404":["hashtag1","hashtag2"]},{"1330577413":["hashtag1","hashtag2"]},{"1330577409":["hashtag1","hashtag2"]},{"1330577430":["hashtag1","hashtag2"]},{"1330577424":["hashtag1","hashtag2"]},{"1330577418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577404, 1330577413, 1330577409, 1330577430, 1330577424, 1330577418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.297444581985474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:22:03.591501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/21/image_22012025_12_21_53_6442.jpg', '/media/data/images/22012025/12/21/image_22012025_12_21_47_5247.jpg', '/media/data/images/22012025/12/21/image_22012025_12_21_41_6456.jpg', '/media/data/images/22012025/12/21/image_22012025_12_21_35_6434.jpg', '/media/data/images/22012025/12/21/image_22012025_12_21_29_5227.jpg', '/media/data/images/22012025/12/21/image_22012025_12_21_23_6966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/21/image_22012025_12_21_53_6442.jpg
/media/data/images/22012025/12/21/image_22012025_12_21_47_5247.jpg
/media/data/images/22012025/12/21/image_22012025_12_21_41_6456.jpg
/media/data/images/22012025/12/21/image_22012025_12_21_35_6434.jpg
/media/data/images/22012025/12/21/image_22012025_12_21_29_5227.jpg
/media/data/images/22012025/12/21/image_22012025_12_21_23_6966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330577473","1330577452","1330577463","1330577457","1330577477","1330577470"],"photo_ids_order":["1330577452","1330577457","1330577463","1330577470","1330577473","1330577477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d99eb0238be94af7ccdf6401b82029d.jpg","text":"TemporaryFile(/tmp/multipartBody1717248613622854637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_29_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/22/34ec97b0bfc2c41094c0d5b723fb906b.jpg","text":"TemporaryFile(/tmp/multipartBody4835587953363470044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_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/22/faf42f0dc056e7004486d80086cedc28.jpg","text":"TemporaryFile(/tmp/multipartBody1282409933856953170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_41_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/22/e9ceeb5ec5b1aefa1a1803f4aafb996f.jpg","text":"TemporaryFile(/tmp/multipartBody4364174420366394937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_47_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/22/1fbe2c4afa7b1f6d36af4650ba510908.jpg","text":"TemporaryFile(/tmp/multipartBody7410456102547003123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_23_6966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b4939391859f6c4035728a0f3f7f196.jpg","text":"TemporaryFile(/tmp/multipartBody1365615697848891286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737544989167,"filename":"image_22012025_12_21_35_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577463","file1":"1330577457","file0":"1330577452","file4":"1330577473","file5":"1330577477","file3":"1330577470"},"map_files_photo_id_array":[{"photo_id":"1330577477","filename":"file5"},{"photo_id":"1330577463","filename":"file2"},{"photo_id":"1330577473","filename":"file4"},{"photo_id":"1330577457","filename":"file1"},{"photo_id":"1330577452","filename":"file0"},{"photo_id":"1330577470","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330577473":["hashtag1","hashtag2"]},{"1330577452":["hashtag1","hashtag2"]},{"1330577463":["hashtag1","hashtag2"]},{"1330577457":["hashtag1","hashtag2"]},{"1330577477":["hashtag1","hashtag2"]},{"1330577470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330577473, 1330577452, 1330577463, 1330577457, 1330577477, 1330577470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.849035024642944 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:23:04.260981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/22/image_22012025_12_22_53_6521.jpg', '/media/data/images/22012025/12/22/image_22012025_12_22_46_5288.jpg', '/media/data/images/22012025/12/22/image_22012025_12_22_41_6463.jpg', '/media/data/images/22012025/12/22/image_22012025_12_22_35_5242.jpg', '/media/data/images/22012025/12/22/image_22012025_12_22_29_6477.jpg', '/media/data/images/22012025/12/22/image_22012025_12_22_23_6465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/22/image_22012025_12_22_53_6521.jpg
/media/data/images/22012025/12/22/image_22012025_12_22_46_5288.jpg
/media/data/images/22012025/12/22/image_22012025_12_22_41_6463.jpg
/media/data/images/22012025/12/22/image_22012025_12_22_35_5242.jpg
/media/data/images/22012025/12/22/image_22012025_12_22_29_6477.jpg
/media/data/images/22012025/12/22/image_22012025_12_22_23_6465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330578270","1330577743","1330578009","1330577657","1330577525","1330578544"],"photo_ids_order":["1330577525","1330577657","1330577743","1330578009","1330578270","1330578544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82d7cbe49f2fda7ce402e45c0a18d9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3364292119567293654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_29_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/22/259f518c2e83cb262a5fec920e1dcfe6.jpg","text":"TemporaryFile(/tmp/multipartBody2914709120716720794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_41_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/22/7cffbd121110dccf6f127197fbd94d86.jpg","text":"TemporaryFile(/tmp/multipartBody3299577414951526227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_35_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/22/f1a21ec79e745fb21adbf883161c7b27.jpg","text":"TemporaryFile(/tmp/multipartBody6407668956145694509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_46_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/22/e105b6e86f9f31074a86abc6cc5accc7.jpg","text":"TemporaryFile(/tmp/multipartBody8536811627553851240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_53_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/22/e3e5186f96b14348cc3aa2c0fe6bdbfc.jpg","text":"TemporaryFile(/tmp/multipartBody1316649406414031358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545050536,"filename":"image_22012025_12_22_23_6465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330577743","file1":"1330577657","file0":"1330577525","file4":"1330578270","file5":"1330578544","file3":"1330578009"},"map_files_photo_id_array":[{"photo_id":"1330578544","filename":"file5"},{"photo_id":"1330577743","filename":"file2"},{"photo_id":"1330578270","filename":"file4"},{"photo_id":"1330577657","filename":"file1"},{"photo_id":"1330577525","filename":"file0"},{"photo_id":"1330578009","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330578270":["hashtag1","hashtag2"]},{"1330577743":["hashtag1","hashtag2"]},{"1330578009":["hashtag1","hashtag2"]},{"1330577657":["hashtag1","hashtag2"]},{"1330577525":["hashtag1","hashtag2"]},{"1330578544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330578270, 1330577743, 1330578009, 1330577657, 1330577525, 1330578544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0565402507782 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 12:24:04.807544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/23/image_22012025_12_23_47_6515.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_41_6504.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_34_5214.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_29_6422.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_23_6454.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_16_5735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/23/image_22012025_12_23_47_6515.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_41_6504.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_34_5214.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_29_6422.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_23_6454.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_16_5735.jpg
2025-01-22 12:24:04.886907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/23/image_22012025_12_23_47_6515.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_41_6504.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_34_5214.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_29_6422.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_23_6454.jpg', '/media/data/images/22012025/12/23/image_22012025_12_23_16_5735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/23/image_22012025_12_23_47_6515.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_41_6504.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_34_5214.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_29_6422.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_23_6454.jpg
/media/data/images/22012025/12/23/image_22012025_12_23_16_5735.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3155646324157715 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":["1330578675","1330578845","1330578824","1330578670","1330578664","1330578718"],"photo_ids_order":["1330578664","1330578670","1330578675","1330578718","1330578824","1330578845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a66c01033fed0ed3d63ab8441a3e390.jpg","text":"TemporaryFile(/tmp/multipartBody532701933651307239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_34_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/22/beeef26474b2d737eabe99f7213ab164.jpg","text":"TemporaryFile(/tmp/multipartBody196618510022259598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_16_5735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c69ba1905f8109ad334280c02b8d446.jpg","text":"TemporaryFile(/tmp/multipartBody4875073496606896961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_23_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/22/7bb948557ed14fc776df55927b86a6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4327164178224796451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_41_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/22/4f7d1d47a339842b9a5dbea34052863d.jpg","text":"TemporaryFile(/tmp/multipartBody6392179415993852718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_47_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/22/e601753f18c526f338e28dfe2f9ab938.jpg","text":"TemporaryFile(/tmp/multipartBody4825138657296271543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545113007,"filename":"image_22012025_12_23_29_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330578675","file1":"1330578670","file0":"1330578664","file4":"1330578824","file5":"1330578845","file3":"1330578718"},"map_files_photo_id_array":[{"photo_id":"1330578845","filename":"file5"},{"photo_id":"1330578675","filename":"file2"},{"photo_id":"1330578824","filename":"file4"},{"photo_id":"1330578670","filename":"file1"},{"photo_id":"1330578664","filename":"file0"},{"photo_id":"1330578718","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330578675":["hashtag1","hashtag2"]},{"1330578845":["hashtag1","hashtag2"]},{"1330578824":["hashtag1","hashtag2"]},{"1330578670":["hashtag1","hashtag2"]},{"1330578664":["hashtag1","hashtag2"]},{"1330578718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330578675, 1330578845, 1330578824, 1330578670, 1330578664, 1330578718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91284394264221 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:25:03.097816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/24/image_22012025_12_24_53_6616.jpg', '/media/data/images/22012025/12/24/image_22012025_12_24_41_6597.jpg', '/media/data/images/22012025/12/24/image_22012025_12_24_35_5324.jpg', '/media/data/images/22012025/12/24/image_22012025_12_24_29_6539.jpg', '/media/data/images/22012025/12/24/image_22012025_12_24_23_5294.jpg', '/media/data/images/22012025/12/24/image_22012025_12_24_17_5938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/24/image_22012025_12_24_53_6616.jpg
/media/data/images/22012025/12/24/image_22012025_12_24_41_6597.jpg
/media/data/images/22012025/12/24/image_22012025_12_24_35_5324.jpg
/media/data/images/22012025/12/24/image_22012025_12_24_29_6539.jpg
/media/data/images/22012025/12/24/image_22012025_12_24_23_5294.jpg
/media/data/images/22012025/12/24/image_22012025_12_24_17_5938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579401","1330579193","1330579061","1330579442","1330579438","1330579432"],"photo_ids_order":["1330579061","1330579193","1330579401","1330579432","1330579438","1330579442"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3cacd1551182500d21ab61a9c810b394.jpg","text":"TemporaryFile(/tmp/multipartBody3962823450334453323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_35_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/22/a94c677655d89699e5187f7ad52e05d6.jpg","text":"TemporaryFile(/tmp/multipartBody4489641647739677227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_41_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/22/ec49411c212c82a41ed8d9c9d4845c33.jpg","text":"TemporaryFile(/tmp/multipartBody6926151391164245845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_53_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/22/0d04d5eb7f42bef4fe5aa62e68ae3e35.jpg","text":"TemporaryFile(/tmp/multipartBody1776351356613460527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_17_5938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fb2c778202ad6f2cb4109f6674705812.jpg","text":"TemporaryFile(/tmp/multipartBody1800571482738543686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_23_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/22/e887a2ebd38445e13529129e1fc8a796.jpg","text":"TemporaryFile(/tmp/multipartBody6408412678749967339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545189733,"filename":"image_22012025_12_24_29_6539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579401","file1":"1330579193","file0":"1330579061","file4":"1330579438","file5":"1330579442","file3":"1330579432"},"map_files_photo_id_array":[{"photo_id":"1330579442","filename":"file5"},{"photo_id":"1330579401","filename":"file2"},{"photo_id":"1330579438","filename":"file4"},{"photo_id":"1330579193","filename":"file1"},{"photo_id":"1330579061","filename":"file0"},{"photo_id":"1330579432","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579401":["hashtag1","hashtag2"]},{"1330579193":["hashtag1","hashtag2"]},{"1330579061":["hashtag1","hashtag2"]},{"1330579442":["hashtag1","hashtag2"]},{"1330579438":["hashtag1","hashtag2"]},{"1330579432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579401, 1330579193, 1330579061, 1330579442, 1330579438, 1330579432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.858384132385254 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:26:22.153583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/26/image_22012025_12_26_53_5261.jpg', '/media/data/images/22012025/12/26/image_22012025_12_26_47_6514.jpg', '/media/data/images/22012025/12/26/image_22012025_12_26_41_6501.jpg', '/media/data/images/22012025/12/26/image_22012025_12_26_34_5658.jpg', '/media/data/images/22012025/12/26/image_22012025_12_26_29_5453.jpg', '/media/data/images/22012025/12/26/image_22012025_12_26_24_6713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/26/image_22012025_12_26_53_5261.jpg
/media/data/images/22012025/12/26/image_22012025_12_26_47_6514.jpg
/media/data/images/22012025/12/26/image_22012025_12_26_41_6501.jpg
/media/data/images/22012025/12/26/image_22012025_12_26_34_5658.jpg
/media/data/images/22012025/12/26/image_22012025_12_26_29_5453.jpg
/media/data/images/22012025/12/26/image_22012025_12_26_24_6713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579665","1330579690","1330579687","1330579672","1330579683","1330579662"],"photo_ids_order":["1330579662","1330579665","1330579672","1330579683","1330579687","1330579690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f46b114b4c6675d11418540cc0672a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4203954230790743692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_47_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/22/b00b314a78a39e3fd03089d8b20fda60.jpg","text":"TemporaryFile(/tmp/multipartBody2074540286594550070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_24_6713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fa638a288e17a797b07ad09a0387d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7346283886104217095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_29_5453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20dea40aafc90f94933d7478371a95de.jpg","text":"TemporaryFile(/tmp/multipartBody6003226018503553081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_41_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/22/12b8e7c8ad41c9a853e235caff436f38.jpg","text":"TemporaryFile(/tmp/multipartBody4224378969575442066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_34_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/667a239823c56ba3896c7d33fbe7c04b.jpg","text":"TemporaryFile(/tmp/multipartBody793342370350587925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545260747,"filename":"image_22012025_12_26_53_5261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579672","file1":"1330579665","file0":"1330579662","file4":"1330579687","file5":"1330579690","file3":"1330579683"},"map_files_photo_id_array":[{"photo_id":"1330579690","filename":"file5"},{"photo_id":"1330579672","filename":"file2"},{"photo_id":"1330579687","filename":"file4"},{"photo_id":"1330579665","filename":"file1"},{"photo_id":"1330579662","filename":"file0"},{"photo_id":"1330579683","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579665":["hashtag1","hashtag2"]},{"1330579690":["hashtag1","hashtag2"]},{"1330579687":["hashtag1","hashtag2"]},{"1330579672":["hashtag1","hashtag2"]},{"1330579683":["hashtag1","hashtag2"]},{"1330579662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579665, 1330579690, 1330579687, 1330579672, 1330579683, 1330579662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.460880279541016 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:27:22.308813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/27/image_22012025_12_27_52_5221.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_47_6498.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_41_5808.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_35_5832.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_29_6628.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_23_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/27/image_22012025_12_27_52_5221.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_47_6498.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_41_5808.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_35_5832.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_29_6628.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_23_5335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579767","1330579731","1330579737","1330579747","1330579762","1330579726"],"photo_ids_order":["1330579726","1330579731","1330579737","1330579747","1330579762","1330579767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2e8fb4baecaecfc135891ce5cddaa7dc.jpg","text":"TemporaryFile(/tmp/multipartBody3475764721852016685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_23_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/22/ba9335737ca8d694538d1a26982ee537.jpg","text":"TemporaryFile(/tmp/multipartBody2152960586845293767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_47_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/22/fe470909867c80227d5c3dc689b1dbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8993982062020606619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_41_5808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/566b632bbda58336aa248e2926ec0a1e.jpg","text":"TemporaryFile(/tmp/multipartBody2825821320085446002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_35_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f63bcc97b5d2aa0503b63c46f8c9bfd5.jpg","text":"TemporaryFile(/tmp/multipartBody2369470222362175872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_29_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/22/6dd1a53fbd159f45b49d7bb46a17d74b.jpg","text":"TemporaryFile(/tmp/multipartBody3982480417812405223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545315087,"filename":"image_22012025_12_27_52_5221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579737","file1":"1330579731","file0":"1330579726","file4":"1330579762","file5":"1330579767","file3":"1330579747"},"map_files_photo_id_array":[{"photo_id":"1330579767","filename":"file5"},{"photo_id":"1330579737","filename":"file2"},{"photo_id":"1330579762","filename":"file4"},{"photo_id":"1330579731","filename":"file1"},{"photo_id":"1330579726","filename":"file0"},{"photo_id":"1330579747","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579767":["hashtag1","hashtag2"]},{"1330579731":["hashtag1","hashtag2"]},{"1330579737":["hashtag1","hashtag2"]},{"1330579747":["hashtag1","hashtag2"]},{"1330579762":["hashtag1","hashtag2"]},{"1330579726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579767, 1330579731, 1330579737, 1330579747, 1330579762, 1330579726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.20605993270874 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:28:22.337073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/28/image_22012025_12_28_53_6510.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_46_5266.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_41_6698.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_35_5276.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_29_6131.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_23_6609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/28/image_22012025_12_28_53_6510.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_46_5266.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_41_6698.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_35_5276.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_29_6131.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_23_6609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579883","1330579871","1330579865","1330579889","1330579864","1330579875"],"photo_ids_order":["1330579864","1330579865","1330579871","1330579875","1330579883","1330579889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4920edd59e99905ca07497ec1bcdb14.jpg","text":"TemporaryFile(/tmp/multipartBody1544605099770130607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_29_6131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2664b8166f4350348525caa5b87f9d6.jpg","text":"TemporaryFile(/tmp/multipartBody7032064825745449263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_41_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/22/76d26c1b85a1b1d1de0dd93b11eca28d.jpg","text":"TemporaryFile(/tmp/multipartBody6236186974156792377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_46_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/22/fcdc32b33de4aa3a2bf959b9f4af3906.jpg","text":"TemporaryFile(/tmp/multipartBody8003493112439899460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_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/22/1f9145695ca859413edf317ff888e7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6292990995671789841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_53_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/22/224446c50547e7b2824b1d2fb6fc2707.jpg","text":"TemporaryFile(/tmp/multipartBody4991081353633627754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545368034,"filename":"image_22012025_12_28_35_5276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579871","file1":"1330579865","file0":"1330579864","file4":"1330579883","file5":"1330579889","file3":"1330579875"},"map_files_photo_id_array":[{"photo_id":"1330579889","filename":"file5"},{"photo_id":"1330579871","filename":"file2"},{"photo_id":"1330579883","filename":"file4"},{"photo_id":"1330579865","filename":"file1"},{"photo_id":"1330579864","filename":"file0"},{"photo_id":"1330579875","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579883":["hashtag1","hashtag2"]},{"1330579871":["hashtag1","hashtag2"]},{"1330579865":["hashtag1","hashtag2"]},{"1330579889":["hashtag1","hashtag2"]},{"1330579864":["hashtag1","hashtag2"]},{"1330579875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579883, 1330579871, 1330579865, 1330579889, 1330579864, 1330579875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48167037963867 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 12:29:04.904133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/28/image_22012025_12_28_16_5648.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_11_6168.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_05_5587.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_59_6453.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_17_6457.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_11_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/28/image_22012025_12_28_16_5648.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_11_6168.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_05_5587.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_59_6453.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_17_6457.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_11_5888.jpg
2025-01-22 12:29:05.346713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/28/image_22012025_12_28_16_5648.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_11_6168.jpg', '/media/data/images/22012025/12/28/image_22012025_12_28_05_5587.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_59_6453.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_17_6457.jpg', '/media/data/images/22012025/12/27/image_22012025_12_27_11_5888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/28/image_22012025_12_28_16_5648.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_11_6168.jpg
/media/data/images/22012025/12/28/image_22012025_12_28_05_5587.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_59_6453.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_17_6457.jpg
/media/data/images/22012025/12/27/image_22012025_12_27_11_5888.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":["1330579923","1330579935","1330579920","1330579928","1330579916","1330579942"],"photo_ids_order":["1330579916","1330579920","1330579923","1330579928","1330579935","1330579942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6bbbd0ef03900d5d0ed8886cc3d6d81f.jpg","text":"TemporaryFile(/tmp/multipartBody3503755751104563786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_28_05_5587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7645df9afe21b9c8b28375448834572.jpg","text":"TemporaryFile(/tmp/multipartBody673289445346941154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_27_17_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/22/485df8d77265bc17917fa9bdf01c3cea.jpg","text":"TemporaryFile(/tmp/multipartBody5104042814260033358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_28_11_6168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f47577f37180bb8138d3145e6f59a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2806852977955584801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_27_59_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/22/b3fff824aea148b58ef18b5c64f07dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2381378976355579069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_28_16_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b38d4a3ae894070790dac38b77c1c6b.jpg","text":"TemporaryFile(/tmp/multipartBody974242259228768624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419973,"filename":"image_22012025_12_27_11_5888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579923","file1":"1330579920","file0":"1330579916","file4":"1330579935","file5":"1330579942","file3":"1330579928"},"map_files_photo_id_array":[{"photo_id":"1330579942","filename":"file5"},{"photo_id":"1330579923","filename":"file2"},{"photo_id":"1330579935","filename":"file4"},{"photo_id":"1330579920","filename":"file1"},{"photo_id":"1330579916","filename":"file0"},{"photo_id":"1330579928","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579923":["hashtag1","hashtag2"]},{"1330579935":["hashtag1","hashtag2"]},{"1330579920":["hashtag1","hashtag2"]},{"1330579928":["hashtag1","hashtag2"]},{"1330579916":["hashtag1","hashtag2"]},{"1330579942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579923, 1330579935, 1330579920, 1330579928, 1330579916, 1330579942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.869919538497925 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579917","1330579943","1330579930","1330579936","1330579921","1330579924"],"photo_ids_order":["1330579917","1330579921","1330579924","1330579930","1330579936","1330579943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5eecb54f8dc16abac9ed99b07ef300c.jpg","text":"TemporaryFile(/tmp/multipartBody5230987795963242150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_28_16_5648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/095f13d1f5aeaf2655a9ed156b5f3030.jpg","text":"TemporaryFile(/tmp/multipartBody7969776111443844776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_27_11_5888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0a0984a5f1da0b1238aa4f9201956316.jpg","text":"TemporaryFile(/tmp/multipartBody3157048721183728107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_27_59_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/22/84d4a661f124ff4c04871d23a97736d3.jpg","text":"TemporaryFile(/tmp/multipartBody3461556832180470273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_27_17_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/22/71fa9212c3a9f362189bfbb0724c2108.jpg","text":"TemporaryFile(/tmp/multipartBody3909519853359008264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_28_11_6168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd4b8c051e51431cb19b6d75d8e25959.jpg","text":"TemporaryFile(/tmp/multipartBody7935554911963635313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545419812,"filename":"image_22012025_12_28_05_5587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579924","file1":"1330579921","file0":"1330579917","file4":"1330579936","file5":"1330579943","file3":"1330579930"},"map_files_photo_id_array":[{"photo_id":"1330579943","filename":"file5"},{"photo_id":"1330579924","filename":"file2"},{"photo_id":"1330579936","filename":"file4"},{"photo_id":"1330579921","filename":"file1"},{"photo_id":"1330579917","filename":"file0"},{"photo_id":"1330579930","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579917":["hashtag1","hashtag2"]},{"1330579943":["hashtag1","hashtag2"]},{"1330579930":["hashtag1","hashtag2"]},{"1330579936":["hashtag1","hashtag2"]},{"1330579921":["hashtag1","hashtag2"]},{"1330579924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579917, 1330579943, 1330579930, 1330579936, 1330579921, 1330579924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.531656980514526 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:30:04.087489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/29/image_22012025_12_29_52_5292.jpg', '/media/data/images/22012025/12/29/image_22012025_12_29_47_6493.jpg', '/media/data/images/22012025/12/29/image_22012025_12_29_41_5246.jpg', '/media/data/images/22012025/12/29/image_22012025_12_29_35_6439.jpg', '/media/data/images/22012025/12/29/image_22012025_12_29_29_6472.jpg', '/media/data/images/22012025/12/29/image_22012025_12_29_23_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/29/image_22012025_12_29_52_5292.jpg
/media/data/images/22012025/12/29/image_22012025_12_29_47_6493.jpg
/media/data/images/22012025/12/29/image_22012025_12_29_41_5246.jpg
/media/data/images/22012025/12/29/image_22012025_12_29_35_6439.jpg
/media/data/images/22012025/12/29/image_22012025_12_29_29_6472.jpg
/media/data/images/22012025/12/29/image_22012025_12_29_23_5285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330579983","1330580049","1330579991","1330579988","1330579986","1330579995"],"photo_ids_order":["1330579983","1330579986","1330579988","1330579991","1330579995","1330580049"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/80138fb3862b0fa0407d9cca50a9b4b6.jpg","text":"TemporaryFile(/tmp/multipartBody408384395861293166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_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/22/42be047daca17fb42f039169b6dfd93c.jpg","text":"TemporaryFile(/tmp/multipartBody6759493018647040688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_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/22/90efc1a1edcfbfce883863b2a7b90608.jpg","text":"TemporaryFile(/tmp/multipartBody2265107184164571361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_35_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/22/5aa69d0b275d963617fca85a32fc2376.jpg","text":"TemporaryFile(/tmp/multipartBody873912290222324342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_41_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/22/2fd98eb8725506fb645aea20faf0269b.jpg","text":"TemporaryFile(/tmp/multipartBody5301517493347742864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_47_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/22/86bd9f3f6bbdd54a4e100b05c7e42e5f.jpg","text":"TemporaryFile(/tmp/multipartBody253324660760032711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545479090,"filename":"image_22012025_12_29_29_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330579988","file1":"1330579986","file0":"1330579983","file4":"1330579995","file5":"1330580049","file3":"1330579991"},"map_files_photo_id_array":[{"photo_id":"1330580049","filename":"file5"},{"photo_id":"1330579988","filename":"file2"},{"photo_id":"1330579995","filename":"file4"},{"photo_id":"1330579986","filename":"file1"},{"photo_id":"1330579983","filename":"file0"},{"photo_id":"1330579991","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330579983":["hashtag1","hashtag2"]},{"1330580049":["hashtag1","hashtag2"]},{"1330579991":["hashtag1","hashtag2"]},{"1330579988":["hashtag1","hashtag2"]},{"1330579986":["hashtag1","hashtag2"]},{"1330579995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330579983, 1330580049, 1330579991, 1330579988, 1330579986, 1330579995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.15654516220093 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:31:03.672870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/30/image_22012025_12_30_53_6458.jpg', '/media/data/images/22012025/12/30/image_22012025_12_30_47_5258.jpg', '/media/data/images/22012025/12/30/image_22012025_12_30_41_6503.jpg', '/media/data/images/22012025/12/30/image_22012025_12_30_35_5261.jpg', '/media/data/images/22012025/12/30/image_22012025_12_30_29_6498.jpg', '/media/data/images/22012025/12/30/image_22012025_12_30_23_5270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/30/image_22012025_12_30_53_6458.jpg
/media/data/images/22012025/12/30/image_22012025_12_30_47_5258.jpg
/media/data/images/22012025/12/30/image_22012025_12_30_41_6503.jpg
/media/data/images/22012025/12/30/image_22012025_12_30_35_5261.jpg
/media/data/images/22012025/12/30/image_22012025_12_30_29_6498.jpg
/media/data/images/22012025/12/30/image_22012025_12_30_23_5270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330580150","1330580147","1330580216","1330580197","1330580161","1330580167"],"photo_ids_order":["1330580147","1330580150","1330580161","1330580167","1330580197","1330580216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d31f1ef78470e3d655f6584566611827.jpg","text":"TemporaryFile(/tmp/multipartBody6873196252831243131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_47_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/22/882f7ad9824e64079be9c87591054f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6602750127116382453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_53_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/22/12924599df80b99ff5b056ec3f2b0701.jpg","text":"TemporaryFile(/tmp/multipartBody213666616922157795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_23_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/22/ed04885bf145658ca336124bf4ec4931.jpg","text":"TemporaryFile(/tmp/multipartBody8311495810091019229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_29_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/22/333751cdfa71680dc535b2f9024809b2.jpg","text":"TemporaryFile(/tmp/multipartBody1620075251951026385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_41_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/22/a82e0381c8b9141e5a1ae8eb139f5c57.jpg","text":"TemporaryFile(/tmp/multipartBody4391074164986757098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737545547393,"filename":"image_22012025_12_30_35_5261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330580161","file1":"1330580150","file0":"1330580147","file4":"1330580197","file5":"1330580216","file3":"1330580167"},"map_files_photo_id_array":[{"photo_id":"1330580216","filename":"file5"},{"photo_id":"1330580161","filename":"file2"},{"photo_id":"1330580197","filename":"file4"},{"photo_id":"1330580150","filename":"file1"},{"photo_id":"1330580147","filename":"file0"},{"photo_id":"1330580167","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330580150":["hashtag1","hashtag2"]},{"1330580147":["hashtag1","hashtag2"]},{"1330580216":["hashtag1","hashtag2"]},{"1330580197":["hashtag1","hashtag2"]},{"1330580161":["hashtag1","hashtag2"]},{"1330580167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330580150, 1330580147, 1330580216, 1330580197, 1330580161, 1330580167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04108381271362 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:32:22.059620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/32/image_22012025_12_32_53_5411.jpg', '/media/data/images/22012025/12/32/image_22012025_12_32_47_6674.jpg', '/media/data/images/22012025/12/32/image_22012025_12_32_41_5367.jpg', '/media/data/images/22012025/12/32/image_22012025_12_32_35_6659.jpg', '/media/data/images/22012025/12/32/image_22012025_12_32_29_4685.jpg', '/media/data/images/22012025/12/32/image_22012025_12_32_24_7330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/32/image_22012025_12_32_53_5411.jpg
/media/data/images/22012025/12/32/image_22012025_12_32_47_6674.jpg
/media/data/images/22012025/12/32/image_22012025_12_32_41_5367.jpg
/media/data/images/22012025/12/32/image_22012025_12_32_35_6659.jpg
/media/data/images/22012025/12/32/image_22012025_12_32_29_4685.jpg
/media/data/images/22012025/12/32/image_22012025_12_32_24_7330.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! 
after data_to_send, before sending request
ERROR IN API l 184 ('Connection aborted.', TimeoutError(110, 'Connection timed out'))
'int' object is not iterable
time to upload: 1003.162416934967 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:49:22.745869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/49/image_22012025_12_49_53_6368.jpg', '/media/data/images/22012025/12/49/image_22012025_12_49_47_5117.jpg', '/media/data/images/22012025/12/49/image_22012025_12_49_41_6486.jpg', '/media/data/images/22012025/12/49/image_22012025_12_49_35_6610.jpg', '/media/data/images/22012025/12/49/image_22012025_12_49_28_5396.jpg', '/media/data/images/22012025/12/49/image_22012025_12_49_23_6504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/49/image_22012025_12_49_53_6368.jpg
/media/data/images/22012025/12/49/image_22012025_12_49_47_5117.jpg
/media/data/images/22012025/12/49/image_22012025_12_49_41_6486.jpg
/media/data/images/22012025/12/49/image_22012025_12_49_35_6610.jpg
/media/data/images/22012025/12/49/image_22012025_12_49_28_5396.jpg
/media/data/images/22012025/12/49/image_22012025_12_49_23_6504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583255","1330583237","1330583278","1330583251","1330583247","1330583244"],"photo_ids_order":["1330583237","1330583244","1330583247","1330583251","1330583255","1330583278"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9638ae651d0f9a0fac28e2be9e02516d.jpg","text":"TemporaryFile(/tmp/multipartBody5966448535752146647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_28_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4189f615b8cc5ef55a3c654beec4ed24.jpg","text":"TemporaryFile(/tmp/multipartBody4216089930571956147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_53_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/22/3a7afef2ed72b097a6ca74187808dc2b.jpg","text":"TemporaryFile(/tmp/multipartBody263619636817450265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_23_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/22/a1fdfd0b876e0995be66968c82ecbaa2.jpg","text":"TemporaryFile(/tmp/multipartBody8066438342497944385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_35_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/22/b46e995f12174cf65b9598da995f5fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8821270037996780115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_41_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/22/efdb8077e6087da406b8da0b6bc95948.jpg","text":"TemporaryFile(/tmp/multipartBody3808515099511737216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546650111,"filename":"image_22012025_12_49_47_5117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583247","file1":"1330583244","file0":"1330583237","file4":"1330583255","file5":"1330583278","file3":"1330583251"},"map_files_photo_id_array":[{"photo_id":"1330583278","filename":"file5"},{"photo_id":"1330583247","filename":"file2"},{"photo_id":"1330583255","filename":"file4"},{"photo_id":"1330583244","filename":"file1"},{"photo_id":"1330583237","filename":"file0"},{"photo_id":"1330583251","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583255":["hashtag1","hashtag2"]},{"1330583237":["hashtag1","hashtag2"]},{"1330583278":["hashtag1","hashtag2"]},{"1330583251":["hashtag1","hashtag2"]},{"1330583247":["hashtag1","hashtag2"]},{"1330583244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583255, 1330583237, 1330583278, 1330583251, 1330583247, 1330583244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.549437522888184 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:50:42.195217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/50/image_22012025_12_50_53_5104.jpg', '/media/data/images/22012025/12/50/image_22012025_12_50_48_6299.jpg', '/media/data/images/22012025/12/50/image_22012025_12_50_42_6155.jpg', '/media/data/images/22012025/12/50/image_22012025_12_50_36_6160.jpg', '/media/data/images/22012025/12/50/image_22012025_12_50_30_6174.jpg', '/media/data/images/22012025/12/50/image_22012025_12_50_24_6470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/50/image_22012025_12_50_53_5104.jpg
/media/data/images/22012025/12/50/image_22012025_12_50_48_6299.jpg
/media/data/images/22012025/12/50/image_22012025_12_50_42_6155.jpg
/media/data/images/22012025/12/50/image_22012025_12_50_36_6160.jpg
/media/data/images/22012025/12/50/image_22012025_12_50_30_6174.jpg
/media/data/images/22012025/12/50/image_22012025_12_50_24_6470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583384","1330583423","1330583429","1330583414","1330583416","1330583419"],"photo_ids_order":["1330583384","1330583414","1330583416","1330583419","1330583423","1330583429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81a4d13efffed43175fee524c6631265.jpg","text":"TemporaryFile(/tmp/multipartBody2332831855939107651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_53_5104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3882f06fd1d91af59827560bdfd0aab.jpg","text":"TemporaryFile(/tmp/multipartBody332216271198699532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_30_6174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2d1751acb77dd2076a48fb36b5f1e7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5494872025231068931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_24_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/22/bfde0a8d1cad665d584c0e5484616fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8058890009351838671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_48_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/22/dbdab674eb5a92fe9900bcdbff5e9dd1.jpg","text":"TemporaryFile(/tmp/multipartBody220549267605922045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_42_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/22/d1835a478ba56bab2f79c4f03f07b05a.jpg","text":"TemporaryFile(/tmp/multipartBody1888344870960519834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546707967,"filename":"image_22012025_12_50_36_6160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583416","file1":"1330583414","file0":"1330583384","file4":"1330583423","file5":"1330583429","file3":"1330583419"},"map_files_photo_id_array":[{"photo_id":"1330583429","filename":"file5"},{"photo_id":"1330583416","filename":"file2"},{"photo_id":"1330583423","filename":"file4"},{"photo_id":"1330583414","filename":"file1"},{"photo_id":"1330583384","filename":"file0"},{"photo_id":"1330583419","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583384":["hashtag1","hashtag2"]},{"1330583423":["hashtag1","hashtag2"]},{"1330583429":["hashtag1","hashtag2"]},{"1330583414":["hashtag1","hashtag2"]},{"1330583416":["hashtag1","hashtag2"]},{"1330583419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583384, 1330583423, 1330583429, 1330583414, 1330583416, 1330583419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93997550010681 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:51:22.114444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/51/image_22012025_12_51_53_5341.jpg', '/media/data/images/22012025/12/51/image_22012025_12_51_48_6695.jpg', '/media/data/images/22012025/12/51/image_22012025_12_51_41_6645.jpg', '/media/data/images/22012025/12/51/image_22012025_12_51_34_5353.jpg', '/media/data/images/22012025/12/51/image_22012025_12_51_29_6654.jpg', '/media/data/images/22012025/12/51/image_22012025_12_51_22_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/51/image_22012025_12_51_53_5341.jpg
/media/data/images/22012025/12/51/image_22012025_12_51_48_6695.jpg
/media/data/images/22012025/12/51/image_22012025_12_51_41_6645.jpg
/media/data/images/22012025/12/51/image_22012025_12_51_34_5353.jpg
/media/data/images/22012025/12/51/image_22012025_12_51_29_6654.jpg
/media/data/images/22012025/12/51/image_22012025_12_51_22_5342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583633","1330583496","1330583637","1330583579","1330583502","1330583480"],"photo_ids_order":["1330583480","1330583496","1330583502","1330583579","1330583633","1330583637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/53f0a919482f5b8752b9bfd6f323e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4062446226930892201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_29_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/22/06523c6d5ff9f0596c6f253876b979fa.jpg","text":"TemporaryFile(/tmp/multipartBody687175138889425068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_48_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/22/8046f80fefd84d658a4e1a8bd4db9a00.jpg","text":"TemporaryFile(/tmp/multipartBody6435238419962336327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_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/22/c55ea3ea598f5a775db5d1ded6d77858.jpg","text":"TemporaryFile(/tmp/multipartBody8044893391664376877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_34_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/22/426bf34dcf5f0739380904aeef1ca661.jpg","text":"TemporaryFile(/tmp/multipartBody3183157622820832140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_41_6645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8561b74a0a408a4a76088dcec98d12f.jpg","text":"TemporaryFile(/tmp/multipartBody189891091613505217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546755718,"filename":"image_22012025_12_51_53_5341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583502","file1":"1330583496","file0":"1330583480","file4":"1330583633","file5":"1330583637","file3":"1330583579"},"map_files_photo_id_array":[{"photo_id":"1330583637","filename":"file5"},{"photo_id":"1330583502","filename":"file2"},{"photo_id":"1330583633","filename":"file4"},{"photo_id":"1330583496","filename":"file1"},{"photo_id":"1330583480","filename":"file0"},{"photo_id":"1330583579","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583633":["hashtag1","hashtag2"]},{"1330583496":["hashtag1","hashtag2"]},{"1330583637":["hashtag1","hashtag2"]},{"1330583579":["hashtag1","hashtag2"]},{"1330583502":["hashtag1","hashtag2"]},{"1330583480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583633, 1330583496, 1330583637, 1330583579, 1330583502, 1330583480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.02975034713745 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:52:22.214470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/52/image_22012025_12_52_52_5342.jpg', '/media/data/images/22012025/12/52/image_22012025_12_52_47_6629.jpg', '/media/data/images/22012025/12/52/image_22012025_12_52_41_5658.jpg', '/media/data/images/22012025/12/52/image_22012025_12_52_35_6033.jpg', '/media/data/images/22012025/12/52/image_22012025_12_52_29_6064.jpg', '/media/data/images/22012025/12/52/image_22012025_12_52_17_6825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/52/image_22012025_12_52_52_5342.jpg
/media/data/images/22012025/12/52/image_22012025_12_52_47_6629.jpg
/media/data/images/22012025/12/52/image_22012025_12_52_41_5658.jpg
/media/data/images/22012025/12/52/image_22012025_12_52_35_6033.jpg
/media/data/images/22012025/12/52/image_22012025_12_52_29_6064.jpg
/media/data/images/22012025/12/52/image_22012025_12_52_17_6825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583788","1330583773","1330583767","1330583784","1330583778","1330583763"],"photo_ids_order":["1330583763","1330583767","1330583773","1330583778","1330583784","1330583788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1288abbbb7a5064136c58595f31979d2.jpg","text":"TemporaryFile(/tmp/multipartBody4510625171033643716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_17_6825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b32b1b984db11a3bec8de46ec9ee563d.jpg","text":"TemporaryFile(/tmp/multipartBody7892254762165288828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_41_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd9291004e1c7b64354501773767bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody7970736123766739462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_47_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/22/c3ac98b54a8430329e1ff020b0a4e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody6748132955689727997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_29_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/45c4b17221e823d93385d34769379525.jpg","text":"TemporaryFile(/tmp/multipartBody6491189991218403401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_35_6033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6d29b7ebe2b5061ec2111995686ed3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2446959410201956678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546808687,"filename":"image_22012025_12_52_52_5342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583773","file1":"1330583767","file0":"1330583763","file4":"1330583784","file5":"1330583788","file3":"1330583778"},"map_files_photo_id_array":[{"photo_id":"1330583788","filename":"file5"},{"photo_id":"1330583773","filename":"file2"},{"photo_id":"1330583784","filename":"file4"},{"photo_id":"1330583767","filename":"file1"},{"photo_id":"1330583763","filename":"file0"},{"photo_id":"1330583778","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583788":["hashtag1","hashtag2"]},{"1330583773":["hashtag1","hashtag2"]},{"1330583767":["hashtag1","hashtag2"]},{"1330583784":["hashtag1","hashtag2"]},{"1330583778":["hashtag1","hashtag2"]},{"1330583763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583788, 1330583773, 1330583767, 1330583784, 1330583778, 1330583763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63001990318298 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-22 12:53:22.331795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/53/image_22012025_12_53_53_6534.jpg', '/media/data/images/22012025/12/53/image_22012025_12_53_41_6492.jpg', '/media/data/images/22012025/12/53/image_22012025_12_53_35_5262.jpg', '/media/data/images/22012025/12/53/image_22012025_12_53_29_7028.jpg', '/media/data/images/22012025/12/53/image_22012025_12_53_23_5487.jpg', '/media/data/images/22012025/12/53/image_22012025_12_53_11_7093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/53/image_22012025_12_53_53_6534.jpg
/media/data/images/22012025/12/53/image_22012025_12_53_41_6492.jpg
/media/data/images/22012025/12/53/image_22012025_12_53_35_5262.jpg
/media/data/images/22012025/12/53/image_22012025_12_53_29_7028.jpg
/media/data/images/22012025/12/53/image_22012025_12_53_23_5487.jpg
/media/data/images/22012025/12/53/image_22012025_12_53_11_7093.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583831","1330583822","1330583872","1330583839","1330583835","1330583864"],"photo_ids_order":["1330583822","1330583831","1330583835","1330583839","1330583864","1330583872"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01aab80b7b9382ff8ef0dec5a0a7927b.jpg","text":"TemporaryFile(/tmp/multipartBody5280812974197065642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_41_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/22/ebd367381bf84e28648c697c08de3c32.jpg","text":"TemporaryFile(/tmp/multipartBody4902588814542386194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_53_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/22/fd35e9005b42ffee142a42b084edebb8.jpg","text":"TemporaryFile(/tmp/multipartBody1703856395533351905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_11_7093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18ebc3335b0a6e683be627c4bc282580.jpg","text":"TemporaryFile(/tmp/multipartBody8077015285003700937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_29_7028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5235c1d7d534d3c743677593eecbefc7.jpg","text":"TemporaryFile(/tmp/multipartBody2473852093380566915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_35_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/22/8bdec1d94ba04b35d8fecf94d5291561.jpg","text":"TemporaryFile(/tmp/multipartBody2315784443200030790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546880815,"filename":"image_22012025_12_53_23_5487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583835","file1":"1330583831","file0":"1330583822","file4":"1330583864","file5":"1330583872","file3":"1330583839"},"map_files_photo_id_array":[{"photo_id":"1330583872","filename":"file5"},{"photo_id":"1330583835","filename":"file2"},{"photo_id":"1330583864","filename":"file4"},{"photo_id":"1330583831","filename":"file1"},{"photo_id":"1330583822","filename":"file0"},{"photo_id":"1330583839","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583831":["hashtag1","hashtag2"]},{"1330583822":["hashtag1","hashtag2"]},{"1330583872":["hashtag1","hashtag2"]},{"1330583839":["hashtag1","hashtag2"]},{"1330583835":["hashtag1","hashtag2"]},{"1330583864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583831, 1330583822, 1330583872, 1330583839, 1330583835, 1330583864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.025471925735474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:54:22.572461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/54/image_22012025_12_54_52_5266.jpg', '/media/data/images/22012025/12/54/image_22012025_12_54_47_6491.jpg', '/media/data/images/22012025/12/54/image_22012025_12_54_41_6291.jpg', '/media/data/images/22012025/12/54/image_22012025_12_54_35_4587.jpg', '/media/data/images/22012025/12/54/image_22012025_12_54_30_6537.jpg', '/media/data/images/22012025/12/54/image_22012025_12_54_23_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/54/image_22012025_12_54_52_5266.jpg
/media/data/images/22012025/12/54/image_22012025_12_54_47_6491.jpg
/media/data/images/22012025/12/54/image_22012025_12_54_41_6291.jpg
/media/data/images/22012025/12/54/image_22012025_12_54_35_4587.jpg
/media/data/images/22012025/12/54/image_22012025_12_54_30_6537.jpg
/media/data/images/22012025/12/54/image_22012025_12_54_23_6549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330583987","1330583972","1330583962","1330583967","1330583955","1330583975"],"photo_ids_order":["1330583955","1330583962","1330583967","1330583972","1330583975","1330583987"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b5fbb9a897df73dd051c53fe71b5603.jpg","text":"TemporaryFile(/tmp/multipartBody2367161792659123725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_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/22/883df8828524ff860616be2de78e2514.jpg","text":"TemporaryFile(/tmp/multipartBody1305289248753398821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_35_4587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6ee734ad3dc6fa45455eef7f97fb9fee.jpg","text":"TemporaryFile(/tmp/multipartBody4977899119426819744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_47_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/22/619ab3f25b526adaf357e57142d95e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5351260286121506460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_41_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/22/838e098a10e3747c6570f20177b10a7f.jpg","text":"TemporaryFile(/tmp/multipartBody8006027304281476157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_52_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/22/457f8436ac175395a0746e11ba002c94.jpg","text":"TemporaryFile(/tmp/multipartBody2002365854080881033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546936583,"filename":"image_22012025_12_54_30_6537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330583967","file1":"1330583962","file0":"1330583955","file4":"1330583975","file5":"1330583987","file3":"1330583972"},"map_files_photo_id_array":[{"photo_id":"1330583987","filename":"file5"},{"photo_id":"1330583967","filename":"file2"},{"photo_id":"1330583975","filename":"file4"},{"photo_id":"1330583962","filename":"file1"},{"photo_id":"1330583955","filename":"file0"},{"photo_id":"1330583972","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330583987":["hashtag1","hashtag2"]},{"1330583972":["hashtag1","hashtag2"]},{"1330583962":["hashtag1","hashtag2"]},{"1330583967":["hashtag1","hashtag2"]},{"1330583955":["hashtag1","hashtag2"]},{"1330583975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330583987, 1330583972, 1330583962, 1330583967, 1330583955, 1330583975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.93939995765686 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:55:22.584753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/55/image_22012025_12_55_53_5354.jpg', '/media/data/images/22012025/12/55/image_22012025_12_55_47_6368.jpg', '/media/data/images/22012025/12/55/image_22012025_12_55_41_6014.jpg', '/media/data/images/22012025/12/55/image_22012025_12_55_35_5393.jpg', '/media/data/images/22012025/12/55/image_22012025_12_55_30_6687.jpg', '/media/data/images/22012025/12/55/image_22012025_12_55_23_6688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/55/image_22012025_12_55_53_5354.jpg
/media/data/images/22012025/12/55/image_22012025_12_55_47_6368.jpg
/media/data/images/22012025/12/55/image_22012025_12_55_41_6014.jpg
/media/data/images/22012025/12/55/image_22012025_12_55_35_5393.jpg
/media/data/images/22012025/12/55/image_22012025_12_55_30_6687.jpg
/media/data/images/22012025/12/55/image_22012025_12_55_23_6688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330584052","1330584028","1330584075","1330584042","1330584018","1330584062"],"photo_ids_order":["1330584018","1330584028","1330584042","1330584052","1330584062","1330584075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ca184585011fa83e456a2e78d806b734.jpg","text":"TemporaryFile(/tmp/multipartBody8022138999778241721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_35_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/22/db9e170b5a14559443bc8bbdc6f33dce.jpg","text":"TemporaryFile(/tmp/multipartBody2644332702529031313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_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/22/9ef40137f1f28ac113429518e19849d8.jpg","text":"TemporaryFile(/tmp/multipartBody8343143547490452218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_23_6688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e1d19d1d81743900e8e48ff39eb8e907.jpg","text":"TemporaryFile(/tmp/multipartBody1510774150093356677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_41_6014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ae10dd71da2996bb0b4d863e43f0b16.jpg","text":"TemporaryFile(/tmp/multipartBody5024041222500093803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_53_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/22/04eafed3db17f0ce13ce581879ddcd81.jpg","text":"TemporaryFile(/tmp/multipartBody5755050738979624105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737546997720,"filename":"image_22012025_12_55_30_6687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330584042","file1":"1330584028","file0":"1330584018","file4":"1330584062","file5":"1330584075","file3":"1330584052"},"map_files_photo_id_array":[{"photo_id":"1330584075","filename":"file5"},{"photo_id":"1330584042","filename":"file2"},{"photo_id":"1330584062","filename":"file4"},{"photo_id":"1330584028","filename":"file1"},{"photo_id":"1330584018","filename":"file0"},{"photo_id":"1330584052","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330584052":["hashtag1","hashtag2"]},{"1330584028":["hashtag1","hashtag2"]},{"1330584075":["hashtag1","hashtag2"]},{"1330584042":["hashtag1","hashtag2"]},{"1330584018":["hashtag1","hashtag2"]},{"1330584062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330584052, 1330584028, 1330584075, 1330584042, 1330584018, 1330584062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.710551261901855 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:56:22.734830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/56/image_22012025_12_56_47_5377.jpg', '/media/data/images/22012025/12/56/image_22012025_12_56_42_6531.jpg', '/media/data/images/22012025/12/56/image_22012025_12_56_35_5150.jpg', '/media/data/images/22012025/12/56/image_22012025_12_56_30_7229.jpg', '/media/data/images/22012025/12/56/image_22012025_12_56_23_5366.jpg', '/media/data/images/22012025/12/56/image_22012025_12_56_17_5706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/56/image_22012025_12_56_47_5377.jpg
/media/data/images/22012025/12/56/image_22012025_12_56_42_6531.jpg
/media/data/images/22012025/12/56/image_22012025_12_56_35_5150.jpg
/media/data/images/22012025/12/56/image_22012025_12_56_30_7229.jpg
/media/data/images/22012025/12/56/image_22012025_12_56_23_5366.jpg
/media/data/images/22012025/12/56/image_22012025_12_56_17_5706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330585132","1330584829","1330585176","1330585151","1330585169","1330584971"],"photo_ids_order":["1330584829","1330584971","1330585132","1330585151","1330585169","1330585176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c4a4b52e7c951c1d126130409f57455.jpg","text":"TemporaryFile(/tmp/multipartBody8944053656680157282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_35_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/22/fd432162e61324ba83c1b09eb1b09d31.jpg","text":"TemporaryFile(/tmp/multipartBody107818439391956525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_47_5377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b1bf4a8b6b524b4c20a764c546de90f1.jpg","text":"TemporaryFile(/tmp/multipartBody3945605462021402771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_17_5706.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11feb7bc54cfbdbd06311bbf2918452c.jpg","text":"TemporaryFile(/tmp/multipartBody423496455182762735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_30_7229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8f570b99f4252177b4b776ebc6693e75.jpg","text":"TemporaryFile(/tmp/multipartBody3600419711886888363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_23_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/22/4f443995aa74b04621144803e00d2aee.jpg","text":"TemporaryFile(/tmp/multipartBody3586591168798626357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547070691,"filename":"image_22012025_12_56_42_6531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330585132","file1":"1330584971","file0":"1330584829","file4":"1330585169","file5":"1330585176","file3":"1330585151"},"map_files_photo_id_array":[{"photo_id":"1330585176","filename":"file5"},{"photo_id":"1330585132","filename":"file2"},{"photo_id":"1330585169","filename":"file4"},{"photo_id":"1330584971","filename":"file1"},{"photo_id":"1330584829","filename":"file0"},{"photo_id":"1330585151","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330585132":["hashtag1","hashtag2"]},{"1330584829":["hashtag1","hashtag2"]},{"1330585176":["hashtag1","hashtag2"]},{"1330585151":["hashtag1","hashtag2"]},{"1330585169":["hashtag1","hashtag2"]},{"1330584971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330585132, 1330584829, 1330585176, 1330585151, 1330585169, 1330584971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.32467269897461 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 12:57:42.148205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/57/image_22012025_12_57_53_5428.jpg', '/media/data/images/22012025/12/57/image_22012025_12_57_48_6986.jpg', '/media/data/images/22012025/12/57/image_22012025_12_57_41_4401.jpg', '/media/data/images/22012025/12/57/image_22012025_12_57_36_6667.jpg', '/media/data/images/22012025/12/57/image_22012025_12_57_30_6942.jpg', '/media/data/images/22012025/12/57/image_22012025_12_57_22_5378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/57/image_22012025_12_57_53_5428.jpg
/media/data/images/22012025/12/57/image_22012025_12_57_48_6986.jpg
/media/data/images/22012025/12/57/image_22012025_12_57_41_4401.jpg
/media/data/images/22012025/12/57/image_22012025_12_57_36_6667.jpg
/media/data/images/22012025/12/57/image_22012025_12_57_30_6942.jpg
/media/data/images/22012025/12/57/image_22012025_12_57_22_5378.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-22 12:59:04.465280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/59/image_22012025_12_59_58_5238.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_48_6685.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_41_6664.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_34_5409.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_29_5469.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_24_6729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/59/image_22012025_12_59_58_5238.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_48_6685.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_41_6664.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_34_5409.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_29_5469.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_24_6729.jpg
2025-01-22 12:59:04.776358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/12/59/image_22012025_12_59_58_5238.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_48_6685.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_41_6664.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_34_5409.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_29_5469.jpg', '/media/data/images/22012025/12/58/image_22012025_12_58_24_6729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/12/59/image_22012025_12_59_58_5238.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_48_6685.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_41_6664.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_34_5409.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_29_5469.jpg
/media/data/images/22012025/12/58/image_22012025_12_58_24_6729.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":["1330585953","1330585946","1330585949","1330585940","1330585943","1330585957"],"photo_ids_order":["1330585940","1330585943","1330585946","1330585949","1330585953","1330585957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a454821f4e0c19769df3567e13c3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8173146577285267792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_58_29_5469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f5b2812f90048beb79b4eb5d4b47a48b.jpg","text":"TemporaryFile(/tmp/multipartBody7736724020709333326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_58_41_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/22/b512b57ce136bc8e8541e00888c97768.jpg","text":"TemporaryFile(/tmp/multipartBody1194034611702591801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_58_34_5409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1cfe3946304d1668a38110fa508f271.jpg","text":"TemporaryFile(/tmp/multipartBody7667618538201471618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_59_58_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/22/2b237f79da861c8a413a58ac667eb777.jpg","text":"TemporaryFile(/tmp/multipartBody917638865204273696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_58_48_6685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5e3fe4a32180c48c1d154f6e0a381e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6102453203202970548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547231902,"filename":"image_22012025_12_58_24_6729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330585946","file1":"1330585943","file0":"1330585940","file4":"1330585953","file5":"1330585957","file3":"1330585949"},"map_files_photo_id_array":[{"photo_id":"1330585957","filename":"file5"},{"photo_id":"1330585946","filename":"file2"},{"photo_id":"1330585953","filename":"file4"},{"photo_id":"1330585943","filename":"file1"},{"photo_id":"1330585940","filename":"file0"},{"photo_id":"1330585949","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330585953":["hashtag1","hashtag2"]},{"1330585946":["hashtag1","hashtag2"]},{"1330585949":["hashtag1","hashtag2"]},{"1330585940":["hashtag1","hashtag2"]},{"1330585943":["hashtag1","hashtag2"]},{"1330585957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330585953, 1330585946, 1330585949, 1330585940, 1330585943, 1330585957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.381251096725464 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330585960","1330585948","1330585956","1330585965","1330585944","1330585952"],"photo_ids_order":["1330585944","1330585948","1330585952","1330585956","1330585960","1330585965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd5557973621548135371f6937cce7b1.jpg","text":"TemporaryFile(/tmp/multipartBody7662740635162880553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_58_29_5469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14b89945fbe180120a87844d07e86df6.jpg","text":"TemporaryFile(/tmp/multipartBody2594777931236576208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_58_48_6685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1bd0cddefac535eae5df61b9b63e292.jpg","text":"TemporaryFile(/tmp/multipartBody1950942847650654940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_58_34_5409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42dbbafd75d5e798587db8c675743837.jpg","text":"TemporaryFile(/tmp/multipartBody71365473805390080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_58_24_6729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb9587bb432ddabe91bf6e7bb95132e5.jpg","text":"TemporaryFile(/tmp/multipartBody8147028446378187701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_59_58_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/22/3002e946db3e817eceef37b616304ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6987932053608925147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547241636,"filename":"image_22012025_12_58_41_6664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330585952","file1":"1330585948","file0":"1330585944","file4":"1330585960","file5":"1330585965","file3":"1330585956"},"map_files_photo_id_array":[{"photo_id":"1330585965","filename":"file5"},{"photo_id":"1330585952","filename":"file2"},{"photo_id":"1330585960","filename":"file4"},{"photo_id":"1330585948","filename":"file1"},{"photo_id":"1330585944","filename":"file0"},{"photo_id":"1330585956","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330585960":["hashtag1","hashtag2"]},{"1330585948":["hashtag1","hashtag2"]},{"1330585956":["hashtag1","hashtag2"]},{"1330585965":["hashtag1","hashtag2"]},{"1330585944":["hashtag1","hashtag2"]},{"1330585952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330585960, 1330585948, 1330585956, 1330585965, 1330585944, 1330585952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.54798936843872 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:00:22.247282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/00/image_22012025_13_00_53_6425.jpg', '/media/data/images/22012025/13/00/image_22012025_13_00_47_6567.jpg', '/media/data/images/22012025/13/00/image_22012025_13_00_40_5440.jpg', '/media/data/images/22012025/13/00/image_22012025_13_00_35_6276.jpg', '/media/data/images/22012025/13/00/image_22012025_13_00_29_6138.jpg', '/media/data/images/22012025/13/00/image_22012025_13_00_23_5869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/00/image_22012025_13_00_53_6425.jpg
/media/data/images/22012025/13/00/image_22012025_13_00_47_6567.jpg
/media/data/images/22012025/13/00/image_22012025_13_00_40_5440.jpg
/media/data/images/22012025/13/00/image_22012025_13_00_35_6276.jpg
/media/data/images/22012025/13/00/image_22012025_13_00_29_6138.jpg
/media/data/images/22012025/13/00/image_22012025_13_00_23_5869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586020","1330586023","1330586025","1330586007","1330586015","1330586011"],"photo_ids_order":["1330586007","1330586011","1330586015","1330586020","1330586023","1330586025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6011062cbc94e3f71d5697a60f988226.jpg","text":"TemporaryFile(/tmp/multipartBody562443699310889267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_35_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/22/81144ce090ac3ca9c0c6739d99e31272.jpg","text":"TemporaryFile(/tmp/multipartBody1749909243379936674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_29_6138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/47cebe27ca49b45a46d72ea7169eeea9.jpg","text":"TemporaryFile(/tmp/multipartBody3953382194447814359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_23_5869.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/075f7b8d3d992e3916093b4f44193853.jpg","text":"TemporaryFile(/tmp/multipartBody968076799248566791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_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/22/7d5211b8a00c23f5e2bc3d66cc46dc27.jpg","text":"TemporaryFile(/tmp/multipartBody1541921279751377051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_40_5440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/97955a02a4651cccea15afaa9a5ec5da.jpg","text":"TemporaryFile(/tmp/multipartBody8596973449636030207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547297643,"filename":"image_22012025_13_00_47_6567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586015","file1":"1330586011","file0":"1330586007","file4":"1330586023","file5":"1330586025","file3":"1330586020"},"map_files_photo_id_array":[{"photo_id":"1330586025","filename":"file5"},{"photo_id":"1330586015","filename":"file2"},{"photo_id":"1330586023","filename":"file4"},{"photo_id":"1330586011","filename":"file1"},{"photo_id":"1330586007","filename":"file0"},{"photo_id":"1330586020","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586020":["hashtag1","hashtag2"]},{"1330586023":["hashtag1","hashtag2"]},{"1330586025":["hashtag1","hashtag2"]},{"1330586007":["hashtag1","hashtag2"]},{"1330586015":["hashtag1","hashtag2"]},{"1330586011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586020, 1330586023, 1330586025, 1330586007, 1330586015, 1330586011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27412009239197 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:01:22.280856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/01/image_22012025_13_01_53_5232.jpg', '/media/data/images/22012025/13/01/image_22012025_13_01_47_6461.jpg', '/media/data/images/22012025/13/01/image_22012025_13_01_41_5211.jpg', '/media/data/images/22012025/13/01/image_22012025_13_01_36_6181.jpg', '/media/data/images/22012025/13/01/image_22012025_13_01_30_6463.jpg', '/media/data/images/22012025/13/01/image_22012025_13_01_23_6572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/01/image_22012025_13_01_53_5232.jpg
/media/data/images/22012025/13/01/image_22012025_13_01_47_6461.jpg
/media/data/images/22012025/13/01/image_22012025_13_01_41_5211.jpg
/media/data/images/22012025/13/01/image_22012025_13_01_36_6181.jpg
/media/data/images/22012025/13/01/image_22012025_13_01_30_6463.jpg
/media/data/images/22012025/13/01/image_22012025_13_01_23_6572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586067","1330586058","1330586081","1330586092","1330586077","1330586062"],"photo_ids_order":["1330586058","1330586062","1330586067","1330586077","1330586081","1330586092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2124a09d7d45b8f15c9066622c5f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody4410934248978465765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_41_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/22/bd79a3b781c01b413d3078c7d3ee49dc.jpg","text":"TemporaryFile(/tmp/multipartBody6712749563508785499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_53_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/22/b3c228931053baddb796ead4a24af3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7695629432114968548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_30_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/22/d753bbd71c8c5820986e652082c35a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4281272361871518242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_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/22/ba0217c9ba43e415150c8b33c0127937.jpg","text":"TemporaryFile(/tmp/multipartBody5592304322324211773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_36_6181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f69678547531561165d8c15be9936368.jpg","text":"TemporaryFile(/tmp/multipartBody2212968627207863909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547357786,"filename":"image_22012025_13_01_47_6461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586067","file1":"1330586062","file0":"1330586058","file4":"1330586081","file5":"1330586092","file3":"1330586077"},"map_files_photo_id_array":[{"photo_id":"1330586092","filename":"file5"},{"photo_id":"1330586067","filename":"file2"},{"photo_id":"1330586081","filename":"file4"},{"photo_id":"1330586062","filename":"file1"},{"photo_id":"1330586058","filename":"file0"},{"photo_id":"1330586077","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586067":["hashtag1","hashtag2"]},{"1330586058":["hashtag1","hashtag2"]},{"1330586081":["hashtag1","hashtag2"]},{"1330586092":["hashtag1","hashtag2"]},{"1330586077":["hashtag1","hashtag2"]},{"1330586062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586067, 1330586058, 1330586081, 1330586092, 1330586077, 1330586062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.34098219871521 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:02:22.509352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/02/image_22012025_13_02_53_5192.jpg', '/media/data/images/22012025/13/02/image_22012025_13_02_47_6474.jpg', '/media/data/images/22012025/13/02/image_22012025_13_02_41_5189.jpg', '/media/data/images/22012025/13/02/image_22012025_13_02_36_6161.jpg', '/media/data/images/22012025/13/02/image_22012025_13_02_30_6322.jpg', '/media/data/images/22012025/13/02/image_22012025_13_02_24_6493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/02/image_22012025_13_02_53_5192.jpg
/media/data/images/22012025/13/02/image_22012025_13_02_47_6474.jpg
/media/data/images/22012025/13/02/image_22012025_13_02_41_5189.jpg
/media/data/images/22012025/13/02/image_22012025_13_02_36_6161.jpg
/media/data/images/22012025/13/02/image_22012025_13_02_30_6322.jpg
/media/data/images/22012025/13/02/image_22012025_13_02_24_6493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586184","1330586178","1330586151","1330586157","1330586188","1330586146"],"photo_ids_order":["1330586146","1330586151","1330586157","1330586178","1330586184","1330586188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/84e47dfbb734bfa60f792692fb524f14.jpg","text":"TemporaryFile(/tmp/multipartBody2535132533782508808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_30_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/22/1ab178404e4e1f7051090bac500c1fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2634378565053822217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_36_6161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5c60b387a75e2ab4f29d57f31e4c500.jpg","text":"TemporaryFile(/tmp/multipartBody4464441605982839678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_47_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/22/d8f86353bcb2f936e05615863e9ee9dc.jpg","text":"TemporaryFile(/tmp/multipartBody4416754755016062904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_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/22/2f14fa6f0e3f7bad65072090b33db5af.jpg","text":"TemporaryFile(/tmp/multipartBody7847905111435564179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_24_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/22/f00bd7af47724e99d03d2c86c21abaf8.jpg","text":"TemporaryFile(/tmp/multipartBody1203779254243817937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547415106,"filename":"image_22012025_13_02_53_5192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586157","file1":"1330586151","file0":"1330586146","file4":"1330586184","file5":"1330586188","file3":"1330586178"},"map_files_photo_id_array":[{"photo_id":"1330586188","filename":"file5"},{"photo_id":"1330586157","filename":"file2"},{"photo_id":"1330586184","filename":"file4"},{"photo_id":"1330586151","filename":"file1"},{"photo_id":"1330586146","filename":"file0"},{"photo_id":"1330586178","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586184":["hashtag1","hashtag2"]},{"1330586178":["hashtag1","hashtag2"]},{"1330586151":["hashtag1","hashtag2"]},{"1330586157":["hashtag1","hashtag2"]},{"1330586188":["hashtag1","hashtag2"]},{"1330586146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586184, 1330586178, 1330586151, 1330586157, 1330586188, 1330586146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11716628074646 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:03:22.735565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/03/image_22012025_13_03_53_5235.jpg', '/media/data/images/22012025/13/03/image_22012025_13_03_47_6492.jpg', '/media/data/images/22012025/13/03/image_22012025_13_03_41_5241.jpg', '/media/data/images/22012025/13/03/image_22012025_13_03_36_6139.jpg', '/media/data/images/22012025/13/03/image_22012025_13_03_30_6324.jpg', '/media/data/images/22012025/13/03/image_22012025_13_03_24_6456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/03/image_22012025_13_03_53_5235.jpg
/media/data/images/22012025/13/03/image_22012025_13_03_47_6492.jpg
/media/data/images/22012025/13/03/image_22012025_13_03_41_5241.jpg
/media/data/images/22012025/13/03/image_22012025_13_03_36_6139.jpg
/media/data/images/22012025/13/03/image_22012025_13_03_30_6324.jpg
/media/data/images/22012025/13/03/image_22012025_13_03_24_6456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586310","1330586297","1330586324","1330586315","1330586303","1330586320"],"photo_ids_order":["1330586297","1330586303","1330586310","1330586315","1330586320","1330586324"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c0772dd02c45971d296997e461bb91af.jpg","text":"TemporaryFile(/tmp/multipartBody8869873515097592970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_41_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/22/50fdfb4905b3f0442898ea305e8e2d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4621350493165456603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_53_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/22/3a11109dc673b40480fb00384ac0487e.jpg","text":"TemporaryFile(/tmp/multipartBody5343182663374491551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_24_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/22/c8ef399235ac67555e895c0b28e8bd76.jpg","text":"TemporaryFile(/tmp/multipartBody3147072770123976503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_36_6139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/23465dd54829cbf4b499a9c581bcd0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1501194245188544414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_47_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/22/2114eff88002cf6129bea7d5eb464c4b.jpg","text":"TemporaryFile(/tmp/multipartBody1228415174337301903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547475657,"filename":"image_22012025_13_03_30_6324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586310","file1":"1330586303","file0":"1330586297","file4":"1330586320","file5":"1330586324","file3":"1330586315"},"map_files_photo_id_array":[{"photo_id":"1330586324","filename":"file5"},{"photo_id":"1330586310","filename":"file2"},{"photo_id":"1330586320","filename":"file4"},{"photo_id":"1330586303","filename":"file1"},{"photo_id":"1330586297","filename":"file0"},{"photo_id":"1330586315","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586310":["hashtag1","hashtag2"]},{"1330586297":["hashtag1","hashtag2"]},{"1330586324":["hashtag1","hashtag2"]},{"1330586315":["hashtag1","hashtag2"]},{"1330586303":["hashtag1","hashtag2"]},{"1330586320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586310, 1330586297, 1330586324, 1330586315, 1330586303, 1330586320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.9913809299469 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:04:22.789459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/04/image_22012025_13_04_53_5391.jpg', '/media/data/images/22012025/13/04/image_22012025_13_04_47_6523.jpg', '/media/data/images/22012025/13/04/image_22012025_13_04_41_5222.jpg', '/media/data/images/22012025/13/04/image_22012025_13_04_36_6269.jpg', '/media/data/images/22012025/13/04/image_22012025_13_04_30_6337.jpg', '/media/data/images/22012025/13/04/image_22012025_13_04_24_6455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/04/image_22012025_13_04_53_5391.jpg
/media/data/images/22012025/13/04/image_22012025_13_04_47_6523.jpg
/media/data/images/22012025/13/04/image_22012025_13_04_41_5222.jpg
/media/data/images/22012025/13/04/image_22012025_13_04_36_6269.jpg
/media/data/images/22012025/13/04/image_22012025_13_04_30_6337.jpg
/media/data/images/22012025/13/04/image_22012025_13_04_24_6455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586454","1330586409","1330586390","1330586465","1330586356","1330586350"],"photo_ids_order":["1330586350","1330586356","1330586390","1330586409","1330586454","1330586465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30459de76839f85498dda79c0ee15d8f.jpg","text":"TemporaryFile(/tmp/multipartBody608078776378446208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_30_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/22/2208b130e57d75c3848b80eea49ffcd5.jpg","text":"TemporaryFile(/tmp/multipartBody8055463637946221992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_36_6269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2f15b76c6114f464521587a04b8f907.jpg","text":"TemporaryFile(/tmp/multipartBody6026537457156152627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_41_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/22/c0189bd6f8da7f947ef787f22f45e2e6.jpg","text":"TemporaryFile(/tmp/multipartBody388769159411002020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_24_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/22/40d2c6bff4f39f4bf9b7df5c0815fa25.jpg","text":"TemporaryFile(/tmp/multipartBody9147798353380204665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_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/22/900fd4206f0e7dbf31314cff35d7f3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6202496149886587341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547539904,"filename":"image_22012025_13_04_53_5391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586390","file1":"1330586356","file0":"1330586350","file4":"1330586454","file5":"1330586465","file3":"1330586409"},"map_files_photo_id_array":[{"photo_id":"1330586465","filename":"file5"},{"photo_id":"1330586390","filename":"file2"},{"photo_id":"1330586454","filename":"file4"},{"photo_id":"1330586356","filename":"file1"},{"photo_id":"1330586350","filename":"file0"},{"photo_id":"1330586409","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586454":["hashtag1","hashtag2"]},{"1330586409":["hashtag1","hashtag2"]},{"1330586390":["hashtag1","hashtag2"]},{"1330586465":["hashtag1","hashtag2"]},{"1330586356":["hashtag1","hashtag2"]},{"1330586350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586454, 1330586409, 1330586390, 1330586465, 1330586356, 1330586350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.03117322921753 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:05:21.951306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/05/image_22012025_13_05_53_5231.jpg', '/media/data/images/22012025/13/05/image_22012025_13_05_47_6639.jpg', '/media/data/images/22012025/13/05/image_22012025_13_05_41_6336.jpg', '/media/data/images/22012025/13/05/image_22012025_13_05_35_4897.jpg', '/media/data/images/22012025/13/05/image_22012025_13_05_30_6622.jpg', '/media/data/images/22012025/13/05/image_22012025_13_05_23_5457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/05/image_22012025_13_05_53_5231.jpg
/media/data/images/22012025/13/05/image_22012025_13_05_47_6639.jpg
/media/data/images/22012025/13/05/image_22012025_13_05_41_6336.jpg
/media/data/images/22012025/13/05/image_22012025_13_05_35_4897.jpg
/media/data/images/22012025/13/05/image_22012025_13_05_30_6622.jpg
/media/data/images/22012025/13/05/image_22012025_13_05_23_5457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586530","1330586499","1330586522","1330586516","1330586504","1330586509"],"photo_ids_order":["1330586499","1330586504","1330586509","1330586516","1330586522","1330586530"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b9954c8f362227610ef045f2c00aece6.jpg","text":"TemporaryFile(/tmp/multipartBody1927290071866874022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_23_5457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce7fa9e4199bded0da7ead5e7c920885.jpg","text":"TemporaryFile(/tmp/multipartBody7063059040511097487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_53_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/22/91334a8a83b67e6c0810e3dd529848c4.jpg","text":"TemporaryFile(/tmp/multipartBody6932074766905637345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_30_6622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bcacab1799861dbe2836ae648742b010.jpg","text":"TemporaryFile(/tmp/multipartBody751732995685307545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_35_4897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc9f3e296b8bfeb5953c5129fb34fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5482596492290945957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_47_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cb8837411146120c40ed8b2a554d8239.jpg","text":"TemporaryFile(/tmp/multipartBody1003178545548638702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547593447,"filename":"image_22012025_13_05_41_6336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586509","file1":"1330586504","file0":"1330586499","file4":"1330586522","file5":"1330586530","file3":"1330586516"},"map_files_photo_id_array":[{"photo_id":"1330586530","filename":"file5"},{"photo_id":"1330586509","filename":"file2"},{"photo_id":"1330586522","filename":"file4"},{"photo_id":"1330586504","filename":"file1"},{"photo_id":"1330586499","filename":"file0"},{"photo_id":"1330586516","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586530":["hashtag1","hashtag2"]},{"1330586499":["hashtag1","hashtag2"]},{"1330586522":["hashtag1","hashtag2"]},{"1330586516":["hashtag1","hashtag2"]},{"1330586504":["hashtag1","hashtag2"]},{"1330586509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586530, 1330586499, 1330586522, 1330586516, 1330586504, 1330586509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.75123977661133 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:06:22.159259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/06/image_22012025_13_06_53_5278.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_48_6491.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_41_6485.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_35_5680.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_29_5699.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_23_6604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/06/image_22012025_13_06_53_5278.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_48_6491.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_41_6485.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_35_5680.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_29_5699.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_23_6604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.705113410949707 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:06:42.132077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/06/image_22012025_13_06_53_5278.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_48_6491.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_41_6485.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_35_5680.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_29_5699.jpg', '/media/data/images/22012025/13/06/image_22012025_13_06_23_6604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/06/image_22012025_13_06_53_5278.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_48_6491.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_41_6485.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_35_5680.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_29_5699.jpg
/media/data/images/22012025/13/06/image_22012025_13_06_23_6604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330586661","1330586670","1330586666","1330586669","1330586663","1330586657"],"photo_ids_order":["1330586657","1330586661","1330586663","1330586666","1330586669","1330586670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab49c3f74d678ced650e92c344f23d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7865136890140815790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_48_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/22/8aa6ba778e4988b665812f2ad01201fc.jpg","text":"TemporaryFile(/tmp/multipartBody3206507713356497507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_23_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/22/03ac2e6a72e382680076685bc6a40c2b.jpg","text":"TemporaryFile(/tmp/multipartBody668832225607196408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_35_5680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/285f54c858f4f96e53b88877226e5e75.jpg","text":"TemporaryFile(/tmp/multipartBody9148546782815353331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_29_5699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/291d7009a121d4c46ff67e0b0ec874a3.jpg","text":"TemporaryFile(/tmp/multipartBody6253723283459948535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_41_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/22/7c7d29ec1983a6b24b261c5d9702edd7.jpg","text":"TemporaryFile(/tmp/multipartBody8677923346149331500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547673789,"filename":"image_22012025_13_06_53_5278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330586663","file1":"1330586661","file0":"1330586657","file4":"1330586669","file5":"1330586670","file3":"1330586666"},"map_files_photo_id_array":[{"photo_id":"1330586670","filename":"file5"},{"photo_id":"1330586663","filename":"file2"},{"photo_id":"1330586669","filename":"file4"},{"photo_id":"1330586661","filename":"file1"},{"photo_id":"1330586657","filename":"file0"},{"photo_id":"1330586666","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330586661":["hashtag1","hashtag2"]},{"1330586670":["hashtag1","hashtag2"]},{"1330586666":["hashtag1","hashtag2"]},{"1330586669":["hashtag1","hashtag2"]},{"1330586663":["hashtag1","hashtag2"]},{"1330586657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330586661, 1330586670, 1330586666, 1330586669, 1330586663, 1330586657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3305184841156 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:07:42.235954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/07/image_22012025_13_07_53_4424.jpg', '/media/data/images/22012025/13/07/image_22012025_13_07_48_7644.jpg', '/media/data/images/22012025/13/07/image_22012025_13_07_40_4636.jpg', '/media/data/images/22012025/13/07/image_22012025_13_07_36_5686.jpg', '/media/data/images/22012025/13/07/image_22012025_13_07_30_7689.jpg', '/media/data/images/22012025/13/07/image_22012025_13_07_23_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/07/image_22012025_13_07_53_4424.jpg
/media/data/images/22012025/13/07/image_22012025_13_07_48_7644.jpg
/media/data/images/22012025/13/07/image_22012025_13_07_40_4636.jpg
/media/data/images/22012025/13/07/image_22012025_13_07_36_5686.jpg
/media/data/images/22012025/13/07/image_22012025_13_07_30_7689.jpg
/media/data/images/22012025/13/07/image_22012025_13_07_23_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":["1330587911","1330587908","1330587892","1330587901","1330587904","1330587897"],"photo_ids_order":["1330587892","1330587897","1330587901","1330587904","1330587908","1330587911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/703e3eb67cc2ac3d43f4fcdd7e7112a6.jpg","text":"TemporaryFile(/tmp/multipartBody5121770286697618591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_23_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/22/45da931d2d329ee7306277a1dbb21a34.jpg","text":"TemporaryFile(/tmp/multipartBody8073654121629859796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_30_7689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54e97a14c5e31fbeb9658f2f3d46c5ca.jpg","text":"TemporaryFile(/tmp/multipartBody2192306948832065080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_53_4424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e9534d1ff0891955213320f695d1b408.jpg","text":"TemporaryFile(/tmp/multipartBody8509606566742859076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_40_4636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a39e548b1706403ab05f7a04162048f.jpg","text":"TemporaryFile(/tmp/multipartBody5488930527394895257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_36_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e1b9cab564c7166130e46caeffd4536e.jpg","text":"TemporaryFile(/tmp/multipartBody4466678357194364359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547741777,"filename":"image_22012025_13_07_48_7644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330587901","file1":"1330587897","file0":"1330587892","file4":"1330587908","file5":"1330587911","file3":"1330587904"},"map_files_photo_id_array":[{"photo_id":"1330587911","filename":"file5"},{"photo_id":"1330587901","filename":"file2"},{"photo_id":"1330587908","filename":"file4"},{"photo_id":"1330587897","filename":"file1"},{"photo_id":"1330587892","filename":"file0"},{"photo_id":"1330587904","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330587911":["hashtag1","hashtag2"]},{"1330587908":["hashtag1","hashtag2"]},{"1330587892":["hashtag1","hashtag2"]},{"1330587901":["hashtag1","hashtag2"]},{"1330587904":["hashtag1","hashtag2"]},{"1330587897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330587911, 1330587908, 1330587892, 1330587901, 1330587904, 1330587897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.72415781021118 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:08:42.679592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/08/image_22012025_13_08_48_6669.jpg', '/media/data/images/22012025/13/08/image_22012025_13_08_40_5291.jpg', '/media/data/images/22012025/13/08/image_22012025_13_08_35_6657.jpg', '/media/data/images/22012025/13/08/image_22012025_13_08_29_5301.jpg', '/media/data/images/22012025/13/08/image_22012025_13_08_23_6595.jpg', '/media/data/images/22012025/13/08/image_22012025_13_08_17_5726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/08/image_22012025_13_08_48_6669.jpg
/media/data/images/22012025/13/08/image_22012025_13_08_40_5291.jpg
/media/data/images/22012025/13/08/image_22012025_13_08_35_6657.jpg
/media/data/images/22012025/13/08/image_22012025_13_08_29_5301.jpg
/media/data/images/22012025/13/08/image_22012025_13_08_23_6595.jpg
/media/data/images/22012025/13/08/image_22012025_13_08_17_5726.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":["1330588273","1330588282","1330588276","1330588279","1330588347","1330588341"],"photo_ids_order":["1330588273","1330588276","1330588279","1330588282","1330588341","1330588347"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a4f75b52d6364bafb2508bc673c6f48.jpg","text":"TemporaryFile(/tmp/multipartBody6102280298550353320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_48_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/22/31db3aee875955879ea88a92989e9999.jpg","text":"TemporaryFile(/tmp/multipartBody7251855092506926087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_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/22/9d38495520bcec8d09d5a091e2c3f101.jpg","text":"TemporaryFile(/tmp/multipartBody2601699350497557618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_40_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/22/b15a6231311e1c5aae80dcf8162352b5.jpg","text":"TemporaryFile(/tmp/multipartBody249002090395883612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_35_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f0ebd0557ccd6d4fdadb5c63296e7752.jpg","text":"TemporaryFile(/tmp/multipartBody8819496839614575769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_17_5726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/95a6e9e78f1e592b2ebd30e2f790e50d.jpg","text":"TemporaryFile(/tmp/multipartBody8293844966804484291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547813240,"filename":"image_22012025_13_08_23_6595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330588279","file1":"1330588276","file0":"1330588273","file4":"1330588341","file5":"1330588347","file3":"1330588282"},"map_files_photo_id_array":[{"photo_id":"1330588347","filename":"file5"},{"photo_id":"1330588279","filename":"file2"},{"photo_id":"1330588341","filename":"file4"},{"photo_id":"1330588276","filename":"file1"},{"photo_id":"1330588273","filename":"file0"},{"photo_id":"1330588282","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330588273":["hashtag1","hashtag2"]},{"1330588282":["hashtag1","hashtag2"]},{"1330588276":["hashtag1","hashtag2"]},{"1330588279":["hashtag1","hashtag2"]},{"1330588347":["hashtag1","hashtag2"]},{"1330588341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330588273, 1330588282, 1330588276, 1330588279, 1330588347, 1330588341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.63563394546509 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:10:02.947515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/09/image_22012025_13_09_41_6615.jpg', '/media/data/images/22012025/13/09/image_22012025_13_09_35_5378.jpg', '/media/data/images/22012025/13/09/image_22012025_13_09_29_6627.jpg', '/media/data/images/22012025/13/09/image_22012025_13_09_23_5302.jpg', '/media/data/images/22012025/13/09/image_22012025_13_09_17_6493.jpg', '/media/data/images/22012025/13/09/image_22012025_13_09_11_5781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/09/image_22012025_13_09_41_6615.jpg
/media/data/images/22012025/13/09/image_22012025_13_09_35_5378.jpg
/media/data/images/22012025/13/09/image_22012025_13_09_29_6627.jpg
/media/data/images/22012025/13/09/image_22012025_13_09_23_5302.jpg
/media/data/images/22012025/13/09/image_22012025_13_09_17_6493.jpg
/media/data/images/22012025/13/09/image_22012025_13_09_11_5781.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: 19.718017578125 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:10:41.925671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/10/image_22012025_13_10_53_5329.jpg', '/media/data/images/22012025/13/10/image_22012025_13_10_47_6606.jpg', '/media/data/images/22012025/13/10/image_22012025_13_10_41_5392.jpg', '/media/data/images/22012025/13/10/image_22012025_13_10_29_5373.jpg', '/media/data/images/22012025/13/10/image_22012025_13_10_23_5729.jpg', '/media/data/images/22012025/13/10/image_22012025_13_10_12_7229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/10/image_22012025_13_10_53_5329.jpg
/media/data/images/22012025/13/10/image_22012025_13_10_47_6606.jpg
/media/data/images/22012025/13/10/image_22012025_13_10_41_5392.jpg
/media/data/images/22012025/13/10/image_22012025_13_10_29_5373.jpg
/media/data/images/22012025/13/10/image_22012025_13_10_23_5729.jpg
/media/data/images/22012025/13/10/image_22012025_13_10_12_7229.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330589499","1330589493","1330589538","1330589523","1330589508","1330589502"],"photo_ids_order":["1330589493","1330589499","1330589502","1330589508","1330589523","1330589538"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6094c57184fb268c591837beb4c113b4.jpg","text":"TemporaryFile(/tmp/multipartBody6291979428362983392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_47_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/22/051ff8c7a56d85bc67bbc5c9bc57517b.jpg","text":"TemporaryFile(/tmp/multipartBody4647867901906802507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_53_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/22/643ca23efd8e3c88aafe530fb76a20af.jpg","text":"TemporaryFile(/tmp/multipartBody6550441088007410580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_12_7229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/840966585a4302c0e59cad7230fa37c2.jpg","text":"TemporaryFile(/tmp/multipartBody1061258779849192823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_23_5729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a77f0b34185516decda337f95e9e4e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7935140140873549841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_29_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/22/a6b86b1c9b24d52178f6942fecc73f96.jpg","text":"TemporaryFile(/tmp/multipartBody6976616218055953727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547921433,"filename":"image_22012025_13_10_41_5392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330589502","file1":"1330589499","file0":"1330589493","file4":"1330589523","file5":"1330589538","file3":"1330589508"},"map_files_photo_id_array":[{"photo_id":"1330589538","filename":"file5"},{"photo_id":"1330589502","filename":"file2"},{"photo_id":"1330589523","filename":"file4"},{"photo_id":"1330589499","filename":"file1"},{"photo_id":"1330589493","filename":"file0"},{"photo_id":"1330589508","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330589499":["hashtag1","hashtag2"]},{"1330589493":["hashtag1","hashtag2"]},{"1330589538":["hashtag1","hashtag2"]},{"1330589523":["hashtag1","hashtag2"]},{"1330589508":["hashtag1","hashtag2"]},{"1330589502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330589499, 1330589493, 1330589538, 1330589523, 1330589508, 1330589502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.19331121444702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:11:42.288086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/11/image_22012025_13_11_54_6257.jpg', '/media/data/images/22012025/13/11/image_22012025_13_11_48_6926.jpg', '/media/data/images/22012025/13/11/image_22012025_13_11_40_5358.jpg', '/media/data/images/22012025/13/11/image_22012025_13_11_35_6569.jpg', '/media/data/images/22012025/13/11/image_22012025_13_11_29_5313.jpg', '/media/data/images/22012025/13/11/image_22012025_13_11_17_6561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/11/image_22012025_13_11_54_6257.jpg
/media/data/images/22012025/13/11/image_22012025_13_11_48_6926.jpg
/media/data/images/22012025/13/11/image_22012025_13_11_40_5358.jpg
/media/data/images/22012025/13/11/image_22012025_13_11_35_6569.jpg
/media/data/images/22012025/13/11/image_22012025_13_11_29_5313.jpg
/media/data/images/22012025/13/11/image_22012025_13_11_17_6561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330590105","1330590038","1330589839","1330590031","1330590099","1330590009"],"photo_ids_order":["1330589839","1330590009","1330590031","1330590038","1330590099","1330590105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01165e0794198b47d9c49c2d34795f75.jpg","text":"TemporaryFile(/tmp/multipartBody2326923997499601667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_17_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/22/3d9e027b2a8ac95402065238daccc60d.jpg","text":"TemporaryFile(/tmp/multipartBody5522623606332534332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_35_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/22/12dc59fdb2956d9a5a52238fc6e27075.jpg","text":"TemporaryFile(/tmp/multipartBody5557880181354455553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_54_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/22/1611d4ae5f0942b8855fa9f3902ab2d1.jpg","text":"TemporaryFile(/tmp/multipartBody7457484159919822377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_40_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/22/eadba300fb52730e500ddc07a0387458.jpg","text":"TemporaryFile(/tmp/multipartBody7611076232593060564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_29_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/22/506ba1cb3a772119cd6342e5cd440189.jpg","text":"TemporaryFile(/tmp/multipartBody1837589737894712399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737547979761,"filename":"image_22012025_13_11_48_6926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590031","file1":"1330590009","file0":"1330589839","file4":"1330590099","file5":"1330590105","file3":"1330590038"},"map_files_photo_id_array":[{"photo_id":"1330590105","filename":"file5"},{"photo_id":"1330590031","filename":"file2"},{"photo_id":"1330590099","filename":"file4"},{"photo_id":"1330590009","filename":"file1"},{"photo_id":"1330589839","filename":"file0"},{"photo_id":"1330590038","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590105":["hashtag1","hashtag2"]},{"1330590038":["hashtag1","hashtag2"]},{"1330589839":["hashtag1","hashtag2"]},{"1330590031":["hashtag1","hashtag2"]},{"1330590099":["hashtag1","hashtag2"]},{"1330590009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590105, 1330590038, 1330589839, 1330590031, 1330590099, 1330590009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.793763637542725 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:12:42.303369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/12/image_22012025_13_12_53_4765.jpg', '/media/data/images/22012025/13/12/image_22012025_13_12_48_6889.jpg', '/media/data/images/22012025/13/12/image_22012025_13_12_41_6615.jpg', '/media/data/images/22012025/13/12/image_22012025_13_12_34_5210.jpg', '/media/data/images/22012025/13/12/image_22012025_13_12_29_6435.jpg', '/media/data/images/22012025/13/12/image_22012025_13_12_23_6248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/12/image_22012025_13_12_53_4765.jpg
/media/data/images/22012025/13/12/image_22012025_13_12_48_6889.jpg
/media/data/images/22012025/13/12/image_22012025_13_12_41_6615.jpg
/media/data/images/22012025/13/12/image_22012025_13_12_34_5210.jpg
/media/data/images/22012025/13/12/image_22012025_13_12_29_6435.jpg
/media/data/images/22012025/13/12/image_22012025_13_12_23_6248.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330590309","1330590303","1330590296","1330590254","1330590331","1330590258"],"photo_ids_order":["1330590254","1330590258","1330590296","1330590303","1330590309","1330590331"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4662a5e5cf283d1e4ed6bd3997fb341c.jpg","text":"TemporaryFile(/tmp/multipartBody6722264488186437503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_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/22/3079bf6d52ed890444d9d90afc3b004a.jpg","text":"TemporaryFile(/tmp/multipartBody2535256909144018686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_34_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/22/e3461663bc4f7d6fcb800f5b50aa79ae.jpg","text":"TemporaryFile(/tmp/multipartBody209045919344770450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_41_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/22/ea7555477b583bc9c765155260f87eae.jpg","text":"TemporaryFile(/tmp/multipartBody73917591634059066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_53_4765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/07e352aab2139cd3b41218413f12347a.jpg","text":"TemporaryFile(/tmp/multipartBody6399356914935260321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_23_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/22/412a921f8613f87823c7675f8882d735.jpg","text":"TemporaryFile(/tmp/multipartBody2719719758262305672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548039826,"filename":"image_22012025_13_12_48_6889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590296","file1":"1330590258","file0":"1330590254","file4":"1330590309","file5":"1330590331","file3":"1330590303"},"map_files_photo_id_array":[{"photo_id":"1330590331","filename":"file5"},{"photo_id":"1330590296","filename":"file2"},{"photo_id":"1330590309","filename":"file4"},{"photo_id":"1330590258","filename":"file1"},{"photo_id":"1330590254","filename":"file0"},{"photo_id":"1330590303","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590309":["hashtag1","hashtag2"]},{"1330590303":["hashtag1","hashtag2"]},{"1330590296":["hashtag1","hashtag2"]},{"1330590254":["hashtag1","hashtag2"]},{"1330590331":["hashtag1","hashtag2"]},{"1330590258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590309, 1330590303, 1330590296, 1330590254, 1330590331, 1330590258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.83507704734802 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:13:42.479154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/13/image_22012025_13_13_53_4846.jpg', '/media/data/images/22012025/13/13/image_22012025_13_13_48_7040.jpg', '/media/data/images/22012025/13/13/image_22012025_13_13_41_6526.jpg', '/media/data/images/22012025/13/13/image_22012025_13_13_34_5312.jpg', '/media/data/images/22012025/13/13/image_22012025_13_13_29_6440.jpg', '/media/data/images/22012025/13/13/image_22012025_13_13_23_5204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/13/image_22012025_13_13_53_4846.jpg
/media/data/images/22012025/13/13/image_22012025_13_13_48_7040.jpg
/media/data/images/22012025/13/13/image_22012025_13_13_41_6526.jpg
/media/data/images/22012025/13/13/image_22012025_13_13_34_5312.jpg
/media/data/images/22012025/13/13/image_22012025_13_13_29_6440.jpg
/media/data/images/22012025/13/13/image_22012025_13_13_23_5204.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":["1330590482","1330590472","1330590451","1330590492","1330590489","1330590459"],"photo_ids_order":["1330590451","1330590459","1330590472","1330590482","1330590489","1330590492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/075c4efc0e60a7253ea2c986250a2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5419363599278894657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_34_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/22/577597037feb8de95251cf0423662e96.jpg","text":"TemporaryFile(/tmp/multipartBody8883845444826980763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_41_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/22/12ede71d5fcddc72f3fe94058e0e7943.jpg","text":"TemporaryFile(/tmp/multipartBody408696473743247922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_53_4846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48c118243a94821faaab6fb012ccaeb2.jpg","text":"TemporaryFile(/tmp/multipartBody1253743956201137115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_23_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/22/c430eb707e1957308e5e17671f933166.jpg","text":"TemporaryFile(/tmp/multipartBody2339086182421552101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_29_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/22/984ca75db6502ffd0ee0184c6ba792ee.jpg","text":"TemporaryFile(/tmp/multipartBody4488044045766716484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548113709,"filename":"image_22012025_13_13_48_7040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590472","file1":"1330590459","file0":"1330590451","file4":"1330590489","file5":"1330590492","file3":"1330590482"},"map_files_photo_id_array":[{"photo_id":"1330590492","filename":"file5"},{"photo_id":"1330590472","filename":"file2"},{"photo_id":"1330590489","filename":"file4"},{"photo_id":"1330590459","filename":"file1"},{"photo_id":"1330590451","filename":"file0"},{"photo_id":"1330590482","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590482":["hashtag1","hashtag2"]},{"1330590472":["hashtag1","hashtag2"]},{"1330590451":["hashtag1","hashtag2"]},{"1330590492":["hashtag1","hashtag2"]},{"1330590489":["hashtag1","hashtag2"]},{"1330590459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590482, 1330590472, 1330590451, 1330590492, 1330590489, 1330590459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.75519776344299 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:15:03.842147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/14/image_22012025_13_14_53_6236.jpg', '/media/data/images/22012025/13/14/image_22012025_13_14_47_6272.jpg', '/media/data/images/22012025/13/14/image_22012025_13_14_40_5266.jpg', '/media/data/images/22012025/13/14/image_22012025_13_14_35_6463.jpg', '/media/data/images/22012025/13/14/image_22012025_13_14_29_5219.jpg', '/media/data/images/22012025/13/14/image_22012025_13_14_23_6558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/14/image_22012025_13_14_53_6236.jpg
/media/data/images/22012025/13/14/image_22012025_13_14_47_6272.jpg
/media/data/images/22012025/13/14/image_22012025_13_14_40_5266.jpg
/media/data/images/22012025/13/14/image_22012025_13_14_35_6463.jpg
/media/data/images/22012025/13/14/image_22012025_13_14_29_5219.jpg
/media/data/images/22012025/13/14/image_22012025_13_14_23_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":["1330590528","1330590536","1330590517","1330590534","1330590537","1330590522"],"photo_ids_order":["1330590517","1330590522","1330590528","1330590534","1330590536","1330590537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0a79b8c3368845de30d696521729905f.jpg","text":"TemporaryFile(/tmp/multipartBody5603010245302819680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_40_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/22/8c96586d892d9b3ed5dfa5dac131925a.jpg","text":"TemporaryFile(/tmp/multipartBody1148731729635541852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_29_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/22/1903d46c70561d04e12fa82006779068.jpg","text":"TemporaryFile(/tmp/multipartBody5262706917519864505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_53_6236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/00f5b6b469e33698b2ab9d5d2950faf5.jpg","text":"TemporaryFile(/tmp/multipartBody7190919168913591948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_35_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/22/b041600c9fdeef58cb03b60bfab51978.jpg","text":"TemporaryFile(/tmp/multipartBody1227949028239836733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_23_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/22/28775fb14ccdf32ff702af4538bebb55.jpg","text":"TemporaryFile(/tmp/multipartBody2892003151699263793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548172146,"filename":"image_22012025_13_14_47_6272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590528","file1":"1330590522","file0":"1330590517","file4":"1330590536","file5":"1330590537","file3":"1330590534"},"map_files_photo_id_array":[{"photo_id":"1330590537","filename":"file5"},{"photo_id":"1330590528","filename":"file2"},{"photo_id":"1330590536","filename":"file4"},{"photo_id":"1330590522","filename":"file1"},{"photo_id":"1330590517","filename":"file0"},{"photo_id":"1330590534","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590528":["hashtag1","hashtag2"]},{"1330590536":["hashtag1","hashtag2"]},{"1330590517":["hashtag1","hashtag2"]},{"1330590534":["hashtag1","hashtag2"]},{"1330590537":["hashtag1","hashtag2"]},{"1330590522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590528, 1330590536, 1330590517, 1330590534, 1330590537, 1330590522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80911564826965 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:16:03.533463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/15/image_22012025_13_15_53_6442.jpg', '/media/data/images/22012025/13/15/image_22012025_13_15_46_5224.jpg', '/media/data/images/22012025/13/15/image_22012025_13_15_41_6411.jpg', '/media/data/images/22012025/13/15/image_22012025_13_15_35_6472.jpg', '/media/data/images/22012025/13/15/image_22012025_13_15_28_5287.jpg', '/media/data/images/22012025/13/15/image_22012025_13_15_23_5647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/15/image_22012025_13_15_53_6442.jpg
/media/data/images/22012025/13/15/image_22012025_13_15_46_5224.jpg
/media/data/images/22012025/13/15/image_22012025_13_15_41_6411.jpg
/media/data/images/22012025/13/15/image_22012025_13_15_35_6472.jpg
/media/data/images/22012025/13/15/image_22012025_13_15_28_5287.jpg
/media/data/images/22012025/13/15/image_22012025_13_15_23_5647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330590662","1330590638","1330590655","1330590640","1330590625","1330590610"],"photo_ids_order":["1330590610","1330590625","1330590638","1330590640","1330590655","1330590662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3edbaed665eff134957fa851915675a.jpg","text":"TemporaryFile(/tmp/multipartBody6126658966406577646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_23_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d6d3d3c78cc986af171fffa9cc23636.jpg","text":"TemporaryFile(/tmp/multipartBody2339127124960900187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_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/22/f3ac9dbf89637b899f7c768eadf19b71.jpg","text":"TemporaryFile(/tmp/multipartBody8975873890479725224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_28_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/22/7083cf8367353cfbca0bbf41228f9026.jpg","text":"TemporaryFile(/tmp/multipartBody6720783630505261073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_35_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/22/efa0fa04731de64920cd05aa06dc8e90.jpg","text":"TemporaryFile(/tmp/multipartBody9129111113726878068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_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/22/dca86270a9ff5ab8339d309724f81ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6954751141284035200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548238455,"filename":"image_22012025_13_15_53_6442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590638","file1":"1330590625","file0":"1330590610","file4":"1330590655","file5":"1330590662","file3":"1330590640"},"map_files_photo_id_array":[{"photo_id":"1330590662","filename":"file5"},{"photo_id":"1330590638","filename":"file2"},{"photo_id":"1330590655","filename":"file4"},{"photo_id":"1330590625","filename":"file1"},{"photo_id":"1330590610","filename":"file0"},{"photo_id":"1330590640","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590662":["hashtag1","hashtag2"]},{"1330590638":["hashtag1","hashtag2"]},{"1330590655":["hashtag1","hashtag2"]},{"1330590640":["hashtag1","hashtag2"]},{"1330590625":["hashtag1","hashtag2"]},{"1330590610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590662, 1330590638, 1330590655, 1330590640, 1330590625, 1330590610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.716715812683105 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:17:04.079671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/16/image_22012025_13_16_53_5250.jpg', '/media/data/images/22012025/13/16/image_22012025_13_16_47_6545.jpg', '/media/data/images/22012025/13/16/image_22012025_13_16_41_5240.jpg', '/media/data/images/22012025/13/16/image_22012025_13_16_36_6522.jpg', '/media/data/images/22012025/13/16/image_22012025_13_16_29_6492.jpg', '/media/data/images/22012025/13/16/image_22012025_13_16_22_5244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/16/image_22012025_13_16_53_5250.jpg
/media/data/images/22012025/13/16/image_22012025_13_16_47_6545.jpg
/media/data/images/22012025/13/16/image_22012025_13_16_41_5240.jpg
/media/data/images/22012025/13/16/image_22012025_13_16_36_6522.jpg
/media/data/images/22012025/13/16/image_22012025_13_16_29_6492.jpg
/media/data/images/22012025/13/16/image_22012025_13_16_22_5244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330590755","1330590764","1330590752","1330590772","1330590760","1330590768"],"photo_ids_order":["1330590752","1330590755","1330590760","1330590764","1330590768","1330590772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d4646ad55f4a498ed9c05af26dc1b2bb.jpg","text":"TemporaryFile(/tmp/multipartBody2321598608520905716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_47_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/22/f161513692bb2b4eb7a5a6b5c29271eb.jpg","text":"TemporaryFile(/tmp/multipartBody4148408085112887125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_36_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/22/46c151b7347ab390934bb280f10f45cc.jpg","text":"TemporaryFile(/tmp/multipartBody2345671151103555561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_53_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/22/97e9da258f7606a110fa37d3aa4c3e14.jpg","text":"TemporaryFile(/tmp/multipartBody6997143142106082415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_22_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/22/a66aef41a1454ec8156bcfac5862520d.jpg","text":"TemporaryFile(/tmp/multipartBody1560503748644120104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_41_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/22/0443c9a8c86a374bbf8247d943b99494.jpg","text":"TemporaryFile(/tmp/multipartBody4078827539923502859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548303261,"filename":"image_22012025_13_16_29_6492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590760","file1":"1330590755","file0":"1330590752","file4":"1330590768","file5":"1330590772","file3":"1330590764"},"map_files_photo_id_array":[{"photo_id":"1330590772","filename":"file5"},{"photo_id":"1330590760","filename":"file2"},{"photo_id":"1330590768","filename":"file4"},{"photo_id":"1330590755","filename":"file1"},{"photo_id":"1330590752","filename":"file0"},{"photo_id":"1330590764","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590755":["hashtag1","hashtag2"]},{"1330590764":["hashtag1","hashtag2"]},{"1330590752":["hashtag1","hashtag2"]},{"1330590772":["hashtag1","hashtag2"]},{"1330590760":["hashtag1","hashtag2"]},{"1330590768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590755, 1330590764, 1330590752, 1330590772, 1330590760, 1330590768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.45238161087036 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:18:03.758144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/17/image_22012025_13_17_53_6503.jpg', '/media/data/images/22012025/13/17/image_22012025_13_17_47_6486.jpg', '/media/data/images/22012025/13/17/image_22012025_13_17_40_5295.jpg', '/media/data/images/22012025/13/17/image_22012025_13_17_35_6512.jpg', '/media/data/images/22012025/13/17/image_22012025_13_17_29_5285.jpg', '/media/data/images/22012025/13/17/image_22012025_13_17_23_6987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/17/image_22012025_13_17_53_6503.jpg
/media/data/images/22012025/13/17/image_22012025_13_17_47_6486.jpg
/media/data/images/22012025/13/17/image_22012025_13_17_40_5295.jpg
/media/data/images/22012025/13/17/image_22012025_13_17_35_6512.jpg
/media/data/images/22012025/13/17/image_22012025_13_17_29_5285.jpg
/media/data/images/22012025/13/17/image_22012025_13_17_23_6987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330590845","1330590862","1330590882","1330590861","1330590840","1330590813"],"photo_ids_order":["1330590813","1330590840","1330590845","1330590861","1330590862","1330590882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7375dd700d5ea38e02e3f454cc15cba4.jpg","text":"TemporaryFile(/tmp/multipartBody8973295469015772131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_40_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/22/705bee41a74907775e946398c4e04642.jpg","text":"TemporaryFile(/tmp/multipartBody1963131487365273283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_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/22/8d30cc1fddc7dab29682070b6dae934a.jpg","text":"TemporaryFile(/tmp/multipartBody7401782143180025095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_23_6987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/670043ead8ea5758cbcf579a3d922623.jpg","text":"TemporaryFile(/tmp/multipartBody8081136224868892713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_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/22/9bf0d8c81570dea69ffc5625aaac96ca.jpg","text":"TemporaryFile(/tmp/multipartBody1036192018573390134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_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/22/3b52d00f4e11bb18a2c8843535dcdf49.jpg","text":"TemporaryFile(/tmp/multipartBody4209191710577979174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548357417,"filename":"image_22012025_13_17_53_6503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330590845","file1":"1330590840","file0":"1330590813","file4":"1330590862","file5":"1330590882","file3":"1330590861"},"map_files_photo_id_array":[{"photo_id":"1330590882","filename":"file5"},{"photo_id":"1330590845","filename":"file2"},{"photo_id":"1330590862","filename":"file4"},{"photo_id":"1330590840","filename":"file1"},{"photo_id":"1330590813","filename":"file0"},{"photo_id":"1330590861","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330590845":["hashtag1","hashtag2"]},{"1330590862":["hashtag1","hashtag2"]},{"1330590882":["hashtag1","hashtag2"]},{"1330590861":["hashtag1","hashtag2"]},{"1330590840":["hashtag1","hashtag2"]},{"1330590813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330590845, 1330590862, 1330590882, 1330590861, 1330590840, 1330590813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.406813859939575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 13:19:05.177792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/18/image_22012025_13_18_53_5277.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_47_6539.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_41_5297.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_36_6477.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_29_5232.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_24_6762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/18/image_22012025_13_18_53_5277.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_47_6539.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_41_5297.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_36_6477.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_29_5232.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_24_6762.jpg
2025-01-22 13:19:05.432908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/18/image_22012025_13_18_53_5277.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_47_6539.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_41_5297.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_36_6477.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_29_5232.jpg', '/media/data/images/22012025/13/18/image_22012025_13_18_24_6762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/18/image_22012025_13_18_53_5277.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_47_6539.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_41_5297.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_36_6477.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_29_5232.jpg
/media/data/images/22012025/13/18/image_22012025_13_18_24_6762.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":["1330591210","1330591003","1330591111","1330590933","1330591172","1330590909"],"photo_ids_order":["1330590909","1330590933","1330591003","1330591111","1330591172","1330591210"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/75680b1ab305118c81ed53384fb5a0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3036259153684450052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_24_6762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c2cbbf15e47c640678d4132594b265f3.jpg","text":"TemporaryFile(/tmp/multipartBody1961869505966726654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_41_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/22/b9491c816040d3720de9435915320148.jpg","text":"TemporaryFile(/tmp/multipartBody1679935199963602302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_36_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/22/8f1eb9bc467ee20b0861989e6cdd8154.jpg","text":"TemporaryFile(/tmp/multipartBody6969972015471872509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_47_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/22/742cc2af5f62405f250649a8de2a59a9.jpg","text":"TemporaryFile(/tmp/multipartBody3815329110151393950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_29_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/22/9a9e3ae47dfb6757daec21bad58292e4.jpg","text":"TemporaryFile(/tmp/multipartBody7916736752275566070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548422157,"filename":"image_22012025_13_18_53_5277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330591003","file1":"1330590933","file0":"1330590909","file4":"1330591172","file5":"1330591210","file3":"1330591111"},"map_files_photo_id_array":[{"photo_id":"1330591210","filename":"file5"},{"photo_id":"1330591003","filename":"file2"},{"photo_id":"1330591172","filename":"file4"},{"photo_id":"1330590933","filename":"file1"},{"photo_id":"1330590909","filename":"file0"},{"photo_id":"1330591111","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330591210":["hashtag1","hashtag2"]},{"1330591003":["hashtag1","hashtag2"]},{"1330591111":["hashtag1","hashtag2"]},{"1330590933":["hashtag1","hashtag2"]},{"1330591172":["hashtag1","hashtag2"]},{"1330590909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330591210, 1330591003, 1330591111, 1330590933, 1330591172, 1330590909)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330591211","1330591174","1330591007","1330590908","1330591123","1330590922"],"photo_ids_order":["1330590908","1330590922","1330591007","1330591123","1330591174","1330591211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/896cab54d8cee542cbbd84bd865211f9.jpg","text":"TemporaryFile(/tmp/multipartBody1234802386012295290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_24_6762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01acd7d7f582363f3506223ad53d3631.jpg","text":"TemporaryFile(/tmp/multipartBody4276975903278918859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_29_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/22/b8921d5bba0c7c297cea8c17def1cf85.jpg","text":"TemporaryFile(/tmp/multipartBody1737930791269896082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_41_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/22/9dd096850a6238674cf5473c1b9c85bb.jpg","text":"TemporaryFile(/tmp/multipartBody1120343724615347246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_53_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/22/ae9d9fc393c1c216e80f213e42f69b00.jpg","text":"TemporaryFile(/tmp/multipartBody7606429804405565450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_36_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/22/1b208522e588691e72ce1d957bad8ae5.jpg","text":"TemporaryFile(/tmp/multipartBody806347136655019467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548421451,"filename":"image_22012025_13_18_47_6539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330591007","file1":"1330590922","file0":"1330590908","file4":"1330591174","file5":"1330591211","file3":"1330591123"},"map_files_photo_id_array":[{"photo_id":"1330591211","filename":"file5"},{"photo_id":"1330591007","filename":"file2"},{"photo_id":"1330591174","filename":"file4"},{"photo_id":"1330590922","filename":"file1"},{"photo_id":"1330590908","filename":"file0"},{"photo_id":"1330591123","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330591211":["hashtag1","hashtag2"]},{"1330591174":["hashtag1","hashtag2"]},{"1330591007":["hashtag1","hashtag2"]},{"1330590908":["hashtag1","hashtag2"]},{"1330591123":["hashtag1","hashtag2"]},{"1330590922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330591211, 1330591174, 1330591007, 1330590908, 1330591123, 1330590922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.33315134048462 secondes ---
uploaded 6 photos
time to upload: 50.61051106452942 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:20:03.986711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/19/image_22012025_13_19_53_5275.jpg', '/media/data/images/22012025/13/19/image_22012025_13_19_48_6512.jpg', '/media/data/images/22012025/13/19/image_22012025_13_19_41_6483.jpg', '/media/data/images/22012025/13/19/image_22012025_13_19_35_5271.jpg', '/media/data/images/22012025/13/19/image_22012025_13_19_29_6477.jpg', '/media/data/images/22012025/13/19/image_22012025_13_19_23_5898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/19/image_22012025_13_19_53_5275.jpg
/media/data/images/22012025/13/19/image_22012025_13_19_48_6512.jpg
/media/data/images/22012025/13/19/image_22012025_13_19_41_6483.jpg
/media/data/images/22012025/13/19/image_22012025_13_19_35_5271.jpg
/media/data/images/22012025/13/19/image_22012025_13_19_29_6477.jpg
/media/data/images/22012025/13/19/image_22012025_13_19_23_5898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330591406","1330591403","1330591393","1330591398","1330591410","1330591413"],"photo_ids_order":["1330591393","1330591398","1330591403","1330591406","1330591410","1330591413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/603bbc5bb6db04b1ee2c36ffef8790ed.jpg","text":"TemporaryFile(/tmp/multipartBody6509858915927703349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_35_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/22/15860ce6d4e3f389b837ada07dd382b7.jpg","text":"TemporaryFile(/tmp/multipartBody1744582197325250229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_41_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/22/06d0289d28a4f83300196f9811f7f11b.jpg","text":"TemporaryFile(/tmp/multipartBody815023130947877341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_53_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/22/c34431d4af72d5e050d5d5e74548aa5a.jpg","text":"TemporaryFile(/tmp/multipartBody7327608723229914563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_48_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/22/717d15bfbe6a83e872c2ccef402ba854.jpg","text":"TemporaryFile(/tmp/multipartBody3325432894034787022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_29_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/22/1678ca87165cdec3803962c490f0e02f.jpg","text":"TemporaryFile(/tmp/multipartBody8639070921117329109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548469850,"filename":"image_22012025_13_19_23_5898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330591403","file1":"1330591398","file0":"1330591393","file4":"1330591410","file5":"1330591413","file3":"1330591406"},"map_files_photo_id_array":[{"photo_id":"1330591413","filename":"file5"},{"photo_id":"1330591403","filename":"file2"},{"photo_id":"1330591410","filename":"file4"},{"photo_id":"1330591398","filename":"file1"},{"photo_id":"1330591393","filename":"file0"},{"photo_id":"1330591406","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330591406":["hashtag1","hashtag2"]},{"1330591403":["hashtag1","hashtag2"]},{"1330591393":["hashtag1","hashtag2"]},{"1330591398":["hashtag1","hashtag2"]},{"1330591410":["hashtag1","hashtag2"]},{"1330591413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330591406, 1330591403, 1330591393, 1330591398, 1330591410, 1330591413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.427714824676514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:21:03.533703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/20/image_22012025_13_20_52_5251.jpg', '/media/data/images/22012025/13/20/image_22012025_13_20_47_6460.jpg', '/media/data/images/22012025/13/20/image_22012025_13_20_41_5253.jpg', '/media/data/images/22012025/13/20/image_22012025_13_20_35_6466.jpg', '/media/data/images/22012025/13/20/image_22012025_13_20_29_6482.jpg', '/media/data/images/22012025/13/20/image_22012025_13_20_22_4414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/20/image_22012025_13_20_52_5251.jpg
/media/data/images/22012025/13/20/image_22012025_13_20_47_6460.jpg
/media/data/images/22012025/13/20/image_22012025_13_20_41_5253.jpg
/media/data/images/22012025/13/20/image_22012025_13_20_35_6466.jpg
/media/data/images/22012025/13/20/image_22012025_13_20_29_6482.jpg
/media/data/images/22012025/13/20/image_22012025_13_20_22_4414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330591448","1330591462","1330591456","1330591459","1330591452","1330591442"],"photo_ids_order":["1330591442","1330591448","1330591452","1330591456","1330591459","1330591462"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96323281070751e80dbd0bc50ad321ae.jpg","text":"TemporaryFile(/tmp/multipartBody4507988524409190841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_47_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/22/dc607286ad0932f0b1c3095bca21745e.jpg","text":"TemporaryFile(/tmp/multipartBody2134247093180115034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_22_4414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/921e5a7ffe849aae3eae8e8924531dbf.jpg","text":"TemporaryFile(/tmp/multipartBody160565773577670054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_35_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/22/e7c130615159a462579db4c78b5fa7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7949321125502809216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_29_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/22/39f83481b8a5621cb9b41974da45e93a.jpg","text":"TemporaryFile(/tmp/multipartBody7835300168241033155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_41_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/22/4a9b56e2555b24ebc0ccaea22c531e15.jpg","text":"TemporaryFile(/tmp/multipartBody2713615238746414221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548542301,"filename":"image_22012025_13_20_52_5251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330591452","file1":"1330591448","file0":"1330591442","file4":"1330591459","file5":"1330591462","file3":"1330591456"},"map_files_photo_id_array":[{"photo_id":"1330591462","filename":"file5"},{"photo_id":"1330591452","filename":"file2"},{"photo_id":"1330591459","filename":"file4"},{"photo_id":"1330591448","filename":"file1"},{"photo_id":"1330591442","filename":"file0"},{"photo_id":"1330591456","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330591448":["hashtag1","hashtag2"]},{"1330591462":["hashtag1","hashtag2"]},{"1330591456":["hashtag1","hashtag2"]},{"1330591459":["hashtag1","hashtag2"]},{"1330591452":["hashtag1","hashtag2"]},{"1330591442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330591448, 1330591462, 1330591456, 1330591459, 1330591452, 1330591442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.08694052696228 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:22:03.647356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/21/image_22012025_13_21_53_6532.jpg', '/media/data/images/22012025/13/21/image_22012025_13_21_47_6456.jpg', '/media/data/images/22012025/13/21/image_22012025_13_21_40_5252.jpg', '/media/data/images/22012025/13/21/image_22012025_13_21_35_6525.jpg', '/media/data/images/22012025/13/21/image_22012025_13_21_29_5231.jpg', '/media/data/images/22012025/13/21/image_22012025_13_21_23_6440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/21/image_22012025_13_21_53_6532.jpg
/media/data/images/22012025/13/21/image_22012025_13_21_47_6456.jpg
/media/data/images/22012025/13/21/image_22012025_13_21_40_5252.jpg
/media/data/images/22012025/13/21/image_22012025_13_21_35_6525.jpg
/media/data/images/22012025/13/21/image_22012025_13_21_29_5231.jpg
/media/data/images/22012025/13/21/image_22012025_13_21_23_6440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330591485","1330591479","1330591488","1330591824","1330591580","1330591475"],"photo_ids_order":["1330591475","1330591479","1330591485","1330591488","1330591580","1330591824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/45098260b1ebc0144d5fe4a369d4d8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2047717936994058897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_40_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/22/38175db557a1b1036436404ca6dcda5d.jpg","text":"TemporaryFile(/tmp/multipartBody976638104056705637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_47_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/22/7ad801ab1d6d5402f85a0bea7ec91265.jpg","text":"TemporaryFile(/tmp/multipartBody3193597326096872562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_35_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/22/6ac236246f9d759e84f0bf051947deb1.jpg","text":"TemporaryFile(/tmp/multipartBody5204776969194971132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_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/22/464fb61e5908980749656847d6542dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1923939222048567236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_29_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/22/e0cebe1f6e9fbc2f1d04dec1ce52ac7e.jpg","text":"TemporaryFile(/tmp/multipartBody8168337673740129957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548590191,"filename":"image_22012025_13_21_53_6532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330591485","file1":"1330591479","file0":"1330591475","file4":"1330591580","file5":"1330591824","file3":"1330591488"},"map_files_photo_id_array":[{"photo_id":"1330591824","filename":"file5"},{"photo_id":"1330591485","filename":"file2"},{"photo_id":"1330591580","filename":"file4"},{"photo_id":"1330591479","filename":"file1"},{"photo_id":"1330591475","filename":"file0"},{"photo_id":"1330591488","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330591485":["hashtag1","hashtag2"]},{"1330591479":["hashtag1","hashtag2"]},{"1330591488":["hashtag1","hashtag2"]},{"1330591824":["hashtag1","hashtag2"]},{"1330591580":["hashtag1","hashtag2"]},{"1330591475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330591485, 1330591479, 1330591488, 1330591824, 1330591580, 1330591475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.476765871047974 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:23:03.982424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/22/image_22012025_13_22_53_5231.jpg', '/media/data/images/22012025/13/22/image_22012025_13_22_47_6493.jpg', '/media/data/images/22012025/13/22/image_22012025_13_22_41_6448.jpg', '/media/data/images/22012025/13/22/image_22012025_13_22_34_5243.jpg', '/media/data/images/22012025/13/22/image_22012025_13_22_29_6518.jpg', '/media/data/images/22012025/13/22/image_22012025_13_22_23_4530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/22/image_22012025_13_22_53_5231.jpg
/media/data/images/22012025/13/22/image_22012025_13_22_47_6493.jpg
/media/data/images/22012025/13/22/image_22012025_13_22_41_6448.jpg
/media/data/images/22012025/13/22/image_22012025_13_22_34_5243.jpg
/media/data/images/22012025/13/22/image_22012025_13_22_29_6518.jpg
/media/data/images/22012025/13/22/image_22012025_13_22_23_4530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330592539","1330592560","1330592568","1330592544","1330592553","1330592723"],"photo_ids_order":["1330592539","1330592544","1330592553","1330592560","1330592568","1330592723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/958c3476ec727708d6fb9ff42832de4d.jpg","text":"TemporaryFile(/tmp/multipartBody9149278830329438142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_53_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/22/123a990c8a8cecb446b80045d44cd870.jpg","text":"TemporaryFile(/tmp/multipartBody4570557019650183164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_34_5243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f32526842185845151a5e8d0a0e62717.jpg","text":"TemporaryFile(/tmp/multipartBody2147581168740339127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_29_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/22/092170146f9f6f6c8dd4d940d593361a.jpg","text":"TemporaryFile(/tmp/multipartBody3360879598692620429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_47_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/22/d407203f4c3bfb587e2eab5720d93de0.jpg","text":"TemporaryFile(/tmp/multipartBody8412050739875907431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_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/22/665a3d8af317dca70c07af95a822940a.jpg","text":"TemporaryFile(/tmp/multipartBody6952058297050750385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548653694,"filename":"image_22012025_13_22_23_4530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330592553","file1":"1330592544","file0":"1330592539","file4":"1330592568","file5":"1330592723","file3":"1330592560"},"map_files_photo_id_array":[{"photo_id":"1330592723","filename":"file5"},{"photo_id":"1330592553","filename":"file2"},{"photo_id":"1330592568","filename":"file4"},{"photo_id":"1330592544","filename":"file1"},{"photo_id":"1330592539","filename":"file0"},{"photo_id":"1330592560","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330592539":["hashtag1","hashtag2"]},{"1330592560":["hashtag1","hashtag2"]},{"1330592568":["hashtag1","hashtag2"]},{"1330592544":["hashtag1","hashtag2"]},{"1330592553":["hashtag1","hashtag2"]},{"1330592723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330592539, 1330592560, 1330592568, 1330592544, 1330592553, 1330592723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.77628493309021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 13:24:04.380807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/23/image_22012025_13_23_52_5265.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_47_6510.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_41_5212.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_35_6442.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_29_6477.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_22_5257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/23/image_22012025_13_23_52_5265.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_47_6510.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_41_5212.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_35_6442.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_29_6477.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_22_5257.jpg
2025-01-22 13:24:04.694816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/23/image_22012025_13_23_52_5265.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_47_6510.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_41_5212.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_35_6442.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_29_6477.jpg', '/media/data/images/22012025/13/23/image_22012025_13_23_22_5257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/23/image_22012025_13_23_52_5265.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_47_6510.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_41_5212.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_35_6442.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_29_6477.jpg
/media/data/images/22012025/13/23/image_22012025_13_23_22_5257.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: 24.967249870300293 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330593045","1330593036","1330593056","1330593041","1330593050","1330593029"],"photo_ids_order":["1330593029","1330593036","1330593041","1330593045","1330593050","1330593056"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/856ca55eb6ee4bb04ab6b013da2550f4.jpg","text":"TemporaryFile(/tmp/multipartBody4409216401372357919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_35_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/22/84ecaa7e55945483d1a614e35bbe230c.jpg","text":"TemporaryFile(/tmp/multipartBody7697059000154716707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_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/22/6e36dd44eb37bf21b2e7d8697533c492.jpg","text":"TemporaryFile(/tmp/multipartBody6113915698341983801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_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/22/a42cb1a6065fc7073c249d57f1ade098.jpg","text":"TemporaryFile(/tmp/multipartBody5954144533506885463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_41_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/22/4f918c8d131711342e90143d5049b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody8377338161079243055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_29_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/22/d92417d8f721732e719e9d305cd0691e.jpg","text":"TemporaryFile(/tmp/multipartBody5861798832075966966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548727212,"filename":"image_22012025_13_23_52_5265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593041","file1":"1330593036","file0":"1330593029","file4":"1330593050","file5":"1330593056","file3":"1330593045"},"map_files_photo_id_array":[{"photo_id":"1330593056","filename":"file5"},{"photo_id":"1330593041","filename":"file2"},{"photo_id":"1330593050","filename":"file4"},{"photo_id":"1330593036","filename":"file1"},{"photo_id":"1330593029","filename":"file0"},{"photo_id":"1330593045","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593045":["hashtag1","hashtag2"]},{"1330593036":["hashtag1","hashtag2"]},{"1330593056":["hashtag1","hashtag2"]},{"1330593041":["hashtag1","hashtag2"]},{"1330593050":["hashtag1","hashtag2"]},{"1330593029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593045, 1330593036, 1330593056, 1330593041, 1330593050, 1330593029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45001554489136 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-22 13:25:22.599713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/25/image_22012025_13_25_53_6443.jpg', '/media/data/images/22012025/13/25/image_22012025_13_25_46_5272.jpg', '/media/data/images/22012025/13/25/image_22012025_13_25_41_6495.jpg', '/media/data/images/22012025/13/25/image_22012025_13_25_35_5260.jpg', '/media/data/images/22012025/13/25/image_22012025_13_25_29_6679.jpg', '/media/data/images/22012025/13/25/image_22012025_13_25_23_5330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/25/image_22012025_13_25_53_6443.jpg
/media/data/images/22012025/13/25/image_22012025_13_25_46_5272.jpg
/media/data/images/22012025/13/25/image_22012025_13_25_41_6495.jpg
/media/data/images/22012025/13/25/image_22012025_13_25_35_5260.jpg
/media/data/images/22012025/13/25/image_22012025_13_25_29_6679.jpg
/media/data/images/22012025/13/25/image_22012025_13_25_23_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":["1330593118","1330593197","1330593155","1330593164","1330593122","1330593187"],"photo_ids_order":["1330593118","1330593122","1330593155","1330593164","1330593187","1330593197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2d4a029b81a69e932d50a06c41e9dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1347336390586979550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_53_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/22/44b77b317011af7321140ee033ebea97.jpg","text":"TemporaryFile(/tmp/multipartBody4975158179020817684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_23_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/22/9666f8e92f5813779942479a04a95ffc.jpg","text":"TemporaryFile(/tmp/multipartBody7588277426026353475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_41_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/22/d17e9a9300a47820186164ed3311cb49.jpg","text":"TemporaryFile(/tmp/multipartBody8768927643298175855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_35_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/22/a01e907cad8dc566db8140d2af450654.jpg","text":"TemporaryFile(/tmp/multipartBody2717750854952564087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_46_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/22/c6679cca4952b72ef75c80321d5e04b5.jpg","text":"TemporaryFile(/tmp/multipartBody4016179875245895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548799769,"filename":"image_22012025_13_25_29_6679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593155","file1":"1330593122","file0":"1330593118","file4":"1330593187","file5":"1330593197","file3":"1330593164"},"map_files_photo_id_array":[{"photo_id":"1330593197","filename":"file5"},{"photo_id":"1330593155","filename":"file2"},{"photo_id":"1330593187","filename":"file4"},{"photo_id":"1330593122","filename":"file1"},{"photo_id":"1330593118","filename":"file0"},{"photo_id":"1330593164","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593118":["hashtag1","hashtag2"]},{"1330593197":["hashtag1","hashtag2"]},{"1330593155":["hashtag1","hashtag2"]},{"1330593164":["hashtag1","hashtag2"]},{"1330593122":["hashtag1","hashtag2"]},{"1330593187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593118, 1330593197, 1330593155, 1330593164, 1330593122, 1330593187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45490217208862 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:26:22.722022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/26/image_22012025_13_26_53_6476.jpg', '/media/data/images/22012025/13/26/image_22012025_13_26_47_5280.jpg', '/media/data/images/22012025/13/26/image_22012025_13_26_41_5582.jpg', '/media/data/images/22012025/13/26/image_22012025_13_26_36_6395.jpg', '/media/data/images/22012025/13/26/image_22012025_13_26_30_6351.jpg', '/media/data/images/22012025/13/26/image_22012025_13_26_24_6605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/26/image_22012025_13_26_53_6476.jpg
/media/data/images/22012025/13/26/image_22012025_13_26_47_5280.jpg
/media/data/images/22012025/13/26/image_22012025_13_26_41_5582.jpg
/media/data/images/22012025/13/26/image_22012025_13_26_36_6395.jpg
/media/data/images/22012025/13/26/image_22012025_13_26_30_6351.jpg
/media/data/images/22012025/13/26/image_22012025_13_26_24_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":["1330593346","1330593334","1330593307","1330593384","1330593291","1330593368"],"photo_ids_order":["1330593291","1330593307","1330593334","1330593346","1330593368","1330593384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0488e55de98f061683aebe8a7aca9568.jpg","text":"TemporaryFile(/tmp/multipartBody2398512092225764378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_36_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/22/47c0bd7e70d40023866bfed0346f46ae.jpg","text":"TemporaryFile(/tmp/multipartBody7596016466505307951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_41_5582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a1a103acb417514cd8ee9dfec7d4c21.jpg","text":"TemporaryFile(/tmp/multipartBody7892729123757359111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_47_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/22/f4f0f87c7af35be9d2f5a88c03f9d0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2661603563887239780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_24_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/22/90bfcf96968681d93af351e2e85b45f9.jpg","text":"TemporaryFile(/tmp/multipartBody247285527037610995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_53_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/22/09486c22b49010e58415c386b4a00904.jpg","text":"TemporaryFile(/tmp/multipartBody6786772777693735682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548862591,"filename":"image_22012025_13_26_30_6351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593334","file1":"1330593307","file0":"1330593291","file4":"1330593368","file5":"1330593384","file3":"1330593346"},"map_files_photo_id_array":[{"photo_id":"1330593384","filename":"file5"},{"photo_id":"1330593334","filename":"file2"},{"photo_id":"1330593368","filename":"file4"},{"photo_id":"1330593307","filename":"file1"},{"photo_id":"1330593291","filename":"file0"},{"photo_id":"1330593346","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593346":["hashtag1","hashtag2"]},{"1330593334":["hashtag1","hashtag2"]},{"1330593307":["hashtag1","hashtag2"]},{"1330593384":["hashtag1","hashtag2"]},{"1330593291":["hashtag1","hashtag2"]},{"1330593368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593346, 1330593334, 1330593307, 1330593384, 1330593291, 1330593368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.27891993522644 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:27:22.021121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/27/image_22012025_13_27_52_5302.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_47_6082.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_42_5163.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_36_7222.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_29_6296.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_22_5259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/27/image_22012025_13_27_52_5302.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_47_6082.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_42_5163.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_36_7222.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_29_6296.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_22_5259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330593465","1330593474","1330593485","1330593479","1330593481","1330593469"],"photo_ids_order":["1330593465","1330593469","1330593474","1330593479","1330593481","1330593485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5181ee82eb1c66129af27cbc7e9c7598.jpg","text":"TemporaryFile(/tmp/multipartBody3485920819509282775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_52_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/22/8741403d2cdc5dca84f3f1b7bd6e6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8100436145075624498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_42_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/22/504ef3324e78ba096ec9c5c90c9bd376.jpg","text":"TemporaryFile(/tmp/multipartBody5195936420770593346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_22_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/22/a394e5cf2de16402c6efe839434296a6.jpg","text":"TemporaryFile(/tmp/multipartBody5951740484087961281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_36_7222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6058500141bce3b339c21d6a53177496.jpg","text":"TemporaryFile(/tmp/multipartBody4213739750393174808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_29_6296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0320c94b8ba24cff9c839932838a9ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5827578131191399721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548921087,"filename":"image_22012025_13_27_47_6082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593474","file1":"1330593469","file0":"1330593465","file4":"1330593481","file5":"1330593485","file3":"1330593479"},"map_files_photo_id_array":[{"photo_id":"1330593485","filename":"file5"},{"photo_id":"1330593474","filename":"file2"},{"photo_id":"1330593481","filename":"file4"},{"photo_id":"1330593469","filename":"file1"},{"photo_id":"1330593465","filename":"file0"},{"photo_id":"1330593479","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593465":["hashtag1","hashtag2"]},{"1330593474":["hashtag1","hashtag2"]},{"1330593485":["hashtag1","hashtag2"]},{"1330593479":["hashtag1","hashtag2"]},{"1330593481":["hashtag1","hashtag2"]},{"1330593469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593465, 1330593474, 1330593485, 1330593479, 1330593481, 1330593469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.002917766571045 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:28:22.230620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/28/image_22012025_13_28_53_5267.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_47_6898.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_41_5989.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_35_6108.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_29_4535.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_24_6982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/28/image_22012025_13_28_53_5267.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_47_6898.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_41_5989.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_35_6108.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_29_4535.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_24_6982.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330593565","1330593532","1330593501","1330593557","1330593527","1330593496"],"photo_ids_order":["1330593496","1330593501","1330593527","1330593532","1330593557","1330593565"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5630e5326a839de19848f2e0a3f2163.jpg","text":"TemporaryFile(/tmp/multipartBody9163988096261093932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_24_6982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d5670d84efde3b68e838f8a8472d2b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8714590167196290502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_35_6108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/99ca614c059e69a157458a341043613c.jpg","text":"TemporaryFile(/tmp/multipartBody1907275686752192779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_47_6898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20b1c466ed12b4cd6c11de0ce5bcb1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2967067102711886448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_29_4535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5c2ac335211cac9dbdb97edafa33f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4626664601214978261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_41_5989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4aaf04f43261fe80f4831f6a4d59e945.jpg","text":"TemporaryFile(/tmp/multipartBody4879520673590953724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737548968631,"filename":"image_22012025_13_28_53_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593527","file1":"1330593501","file0":"1330593496","file4":"1330593557","file5":"1330593565","file3":"1330593532"},"map_files_photo_id_array":[{"photo_id":"1330593565","filename":"file5"},{"photo_id":"1330593527","filename":"file2"},{"photo_id":"1330593557","filename":"file4"},{"photo_id":"1330593501","filename":"file1"},{"photo_id":"1330593496","filename":"file0"},{"photo_id":"1330593532","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593565":["hashtag1","hashtag2"]},{"1330593532":["hashtag1","hashtag2"]},{"1330593501":["hashtag1","hashtag2"]},{"1330593557":["hashtag1","hashtag2"]},{"1330593527":["hashtag1","hashtag2"]},{"1330593496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593565, 1330593532, 1330593501, 1330593557, 1330593527, 1330593496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.411067485809326 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 13:29:05.291008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/28/image_22012025_13_28_17_5725.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_11_6119.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_05_5962.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_59_6518.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_17_6457.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_11_5663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/28/image_22012025_13_28_17_5725.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_11_6119.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_05_5962.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_59_6518.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_17_6457.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_11_5663.jpg
2025-01-22 13:29:05.410732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/28/image_22012025_13_28_17_5725.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_11_6119.jpg', '/media/data/images/22012025/13/28/image_22012025_13_28_05_5962.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_59_6518.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_17_6457.jpg', '/media/data/images/22012025/13/27/image_22012025_13_27_11_5663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/28/image_22012025_13_28_17_5725.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_11_6119.jpg
/media/data/images/22012025/13/28/image_22012025_13_28_05_5962.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_59_6518.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_17_6457.jpg
/media/data/images/22012025/13/27/image_22012025_13_27_11_5663.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":["1330593619","1330593613","1330593607","1330593597","1330593601","1330593707"],"photo_ids_order":["1330593597","1330593601","1330593607","1330593613","1330593619","1330593707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/661f7950a41891cbf5c204bfaa4e2f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5844306202736519616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_27_17_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/22/08d93e37966fbb7b5d5d45eabc18fc14.jpg","text":"TemporaryFile(/tmp/multipartBody1392913400100116437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_27_59_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/22/145c325141b41113715eee4d43a37ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1071907407931920123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_28_05_5962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b15578bb46009ce5331c327a381b615.jpg","text":"TemporaryFile(/tmp/multipartBody6820166554464051031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_28_17_5725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e79ed5b1e3be823c08f859e4f6973e02.jpg","text":"TemporaryFile(/tmp/multipartBody7195406250301838245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_28_11_6119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b3d033123f720b41e590da6a9a48b45.jpg","text":"TemporaryFile(/tmp/multipartBody938728957256859942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549032785,"filename":"image_22012025_13_27_11_5663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593607","file1":"1330593601","file0":"1330593597","file4":"1330593619","file5":"1330593707","file3":"1330593613"},"map_files_photo_id_array":[{"photo_id":"1330593707","filename":"file5"},{"photo_id":"1330593607","filename":"file2"},{"photo_id":"1330593619","filename":"file4"},{"photo_id":"1330593601","filename":"file1"},{"photo_id":"1330593597","filename":"file0"},{"photo_id":"1330593613","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593619":["hashtag1","hashtag2"]},{"1330593613":["hashtag1","hashtag2"]},{"1330593607":["hashtag1","hashtag2"]},{"1330593597":["hashtag1","hashtag2"]},{"1330593601":["hashtag1","hashtag2"]},{"1330593707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593619, 1330593613, 1330593607, 1330593597, 1330593601, 1330593707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.72904658317566 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330593715","1330593618","1330593705","1330593612","1330593608","1330593602"],"photo_ids_order":["1330593602","1330593608","1330593612","1330593618","1330593705","1330593715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/713f3ef9d555d612b5c598809d737c04.jpg","text":"TemporaryFile(/tmp/multipartBody3160492635725799121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_27_11_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7720337da3ee3398101b53d47ef6ad02.jpg","text":"TemporaryFile(/tmp/multipartBody8411559844179720980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_27_59_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/22/9ed0ba82dd80e2d359b45aaa4afccc05.jpg","text":"TemporaryFile(/tmp/multipartBody6949394122655839615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_27_17_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/22/f302688e37cb540eefb4e865c445691d.jpg","text":"TemporaryFile(/tmp/multipartBody8832761815298437917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_28_05_5962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70efddabe1905fd00f337218409b57e8.jpg","text":"TemporaryFile(/tmp/multipartBody7118633773083530724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_28_11_6119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ca5f94bdf55614e621520822a93cc046.jpg","text":"TemporaryFile(/tmp/multipartBody2997780581311783996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549037175,"filename":"image_22012025_13_28_17_5725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593612","file1":"1330593608","file0":"1330593602","file4":"1330593705","file5":"1330593715","file3":"1330593618"},"map_files_photo_id_array":[{"photo_id":"1330593715","filename":"file5"},{"photo_id":"1330593612","filename":"file2"},{"photo_id":"1330593705","filename":"file4"},{"photo_id":"1330593608","filename":"file1"},{"photo_id":"1330593602","filename":"file0"},{"photo_id":"1330593618","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593715":["hashtag1","hashtag2"]},{"1330593618":["hashtag1","hashtag2"]},{"1330593705":["hashtag1","hashtag2"]},{"1330593612":["hashtag1","hashtag2"]},{"1330593608":["hashtag1","hashtag2"]},{"1330593602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593715, 1330593618, 1330593705, 1330593612, 1330593608, 1330593602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.82125735282898 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:30:22.548885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/30/image_22012025_13_30_53_6482.jpg', '/media/data/images/22012025/13/30/image_22012025_13_30_47_5305.jpg', '/media/data/images/22012025/13/30/image_22012025_13_30_41_5820.jpg', '/media/data/images/22012025/13/30/image_22012025_13_30_35_6367.jpg', '/media/data/images/22012025/13/30/image_22012025_13_30_30_5004.jpg', '/media/data/images/22012025/13/30/image_22012025_13_30_25_6831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/30/image_22012025_13_30_53_6482.jpg
/media/data/images/22012025/13/30/image_22012025_13_30_47_5305.jpg
/media/data/images/22012025/13/30/image_22012025_13_30_41_5820.jpg
/media/data/images/22012025/13/30/image_22012025_13_30_35_6367.jpg
/media/data/images/22012025/13/30/image_22012025_13_30_30_5004.jpg
/media/data/images/22012025/13/30/image_22012025_13_30_25_6831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330593862","1330593856","1330593897","1330593884","1330593842","1330593917"],"photo_ids_order":["1330593842","1330593856","1330593862","1330593884","1330593897","1330593917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c34e298438d2ec274b4d3d2c131b703.jpg","text":"TemporaryFile(/tmp/multipartBody6005770428712991961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_41_5820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04b63e8b69e584b0ffce2de06d9cd07c.jpg","text":"TemporaryFile(/tmp/multipartBody9106401583591609797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_47_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/22/483302f4910d266bec2fcd669ce789de.jpg","text":"TemporaryFile(/tmp/multipartBody4184824311397300933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_30_5004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/227bf88fe9e940d8e5acec3b093f8cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2822058393873904093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_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/22/e3ada467ae41271e4e7171c2612000c6.jpg","text":"TemporaryFile(/tmp/multipartBody1575902651291324962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_53_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/22/e436b83791d345253c6a8930e2738030.jpg","text":"TemporaryFile(/tmp/multipartBody7740729503293386117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549102661,"filename":"image_22012025_13_30_25_6831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330593862","file1":"1330593856","file0":"1330593842","file4":"1330593897","file5":"1330593917","file3":"1330593884"},"map_files_photo_id_array":[{"photo_id":"1330593917","filename":"file5"},{"photo_id":"1330593862","filename":"file2"},{"photo_id":"1330593897","filename":"file4"},{"photo_id":"1330593856","filename":"file1"},{"photo_id":"1330593842","filename":"file0"},{"photo_id":"1330593884","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330593862":["hashtag1","hashtag2"]},{"1330593856":["hashtag1","hashtag2"]},{"1330593897":["hashtag1","hashtag2"]},{"1330593884":["hashtag1","hashtag2"]},{"1330593842":["hashtag1","hashtag2"]},{"1330593917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330593862, 1330593856, 1330593897, 1330593884, 1330593842, 1330593917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82988786697388 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:31:22.900461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/31/image_22012025_13_31_52_5276.jpg', '/media/data/images/22012025/13/31/image_22012025_13_31_47_6310.jpg', '/media/data/images/22012025/13/31/image_22012025_13_31_41_5879.jpg', '/media/data/images/22012025/13/31/image_22012025_13_31_35_6026.jpg', '/media/data/images/22012025/13/31/image_22012025_13_31_29_6247.jpg', '/media/data/images/22012025/13/31/image_22012025_13_31_23_5353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/31/image_22012025_13_31_52_5276.jpg
/media/data/images/22012025/13/31/image_22012025_13_31_47_6310.jpg
/media/data/images/22012025/13/31/image_22012025_13_31_41_5879.jpg
/media/data/images/22012025/13/31/image_22012025_13_31_35_6026.jpg
/media/data/images/22012025/13/31/image_22012025_13_31_29_6247.jpg
/media/data/images/22012025/13/31/image_22012025_13_31_23_5353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594092","1330594053","1330594050","1330594107","1330594034","1330594021"],"photo_ids_order":["1330594021","1330594034","1330594050","1330594053","1330594092","1330594107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b4dae6928d995989ffc50d0404054e4.jpg","text":"TemporaryFile(/tmp/multipartBody8165082641982737866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_29_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/22/0000713b84355e1b7ebc690cc6005b86.jpg","text":"TemporaryFile(/tmp/multipartBody7024774929201540330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_35_6026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dae79fd13b91582ab610c6d022785e78.jpg","text":"TemporaryFile(/tmp/multipartBody2358714871365241829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_41_5879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f0d14ddfb0435a0eb33e2fbc507db4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8073889949826896373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_23_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/22/ebb2874b0400bdb614ba6c6842e61d51.jpg","text":"TemporaryFile(/tmp/multipartBody5532848925359603133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_47_6310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03e961e01540a524302c21aee3947fdf.jpg","text":"TemporaryFile(/tmp/multipartBody7239625190739683579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549159532,"filename":"image_22012025_13_31_52_5276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594050","file1":"1330594034","file0":"1330594021","file4":"1330594092","file5":"1330594107","file3":"1330594053"},"map_files_photo_id_array":[{"photo_id":"1330594107","filename":"file5"},{"photo_id":"1330594050","filename":"file2"},{"photo_id":"1330594092","filename":"file4"},{"photo_id":"1330594034","filename":"file1"},{"photo_id":"1330594021","filename":"file0"},{"photo_id":"1330594053","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594092":["hashtag1","hashtag2"]},{"1330594053":["hashtag1","hashtag2"]},{"1330594050":["hashtag1","hashtag2"]},{"1330594107":["hashtag1","hashtag2"]},{"1330594034":["hashtag1","hashtag2"]},{"1330594021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594092, 1330594053, 1330594050, 1330594107, 1330594034, 1330594021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.39236664772034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:32:21.908317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/32/image_22012025_13_32_53_6452.jpg', '/media/data/images/22012025/13/32/image_22012025_13_32_47_5328.jpg', '/media/data/images/22012025/13/32/image_22012025_13_32_41_5698.jpg', '/media/data/images/22012025/13/32/image_22012025_13_32_36_6196.jpg', '/media/data/images/22012025/13/32/image_22012025_13_32_30_6269.jpg', '/media/data/images/22012025/13/32/image_22012025_13_32_24_6565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/32/image_22012025_13_32_53_6452.jpg
/media/data/images/22012025/13/32/image_22012025_13_32_47_5328.jpg
/media/data/images/22012025/13/32/image_22012025_13_32_41_5698.jpg
/media/data/images/22012025/13/32/image_22012025_13_32_36_6196.jpg
/media/data/images/22012025/13/32/image_22012025_13_32_30_6269.jpg
/media/data/images/22012025/13/32/image_22012025_13_32_24_6565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594176","1330594143","1330594181","1330594174","1330594138","1330594135"],"photo_ids_order":["1330594135","1330594138","1330594143","1330594174","1330594176","1330594181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f20b940c6686b4a153d4e43b680b32a.jpg","text":"TemporaryFile(/tmp/multipartBody6964968348385679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_30_6269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f11fe463286ad0efed381645913b576a.jpg","text":"TemporaryFile(/tmp/multipartBody6485607059800491142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_41_5698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b11812ed57441866463e82d80d356720.jpg","text":"TemporaryFile(/tmp/multipartBody3713686570803263209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_24_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/22/05cc4887c36f8f75b953128217028a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3438511011713506094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_36_6196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42b17a4cd79aa5b7dff031e7331d9cac.jpg","text":"TemporaryFile(/tmp/multipartBody7629723933987404094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_47_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/22/1ab05821f2e8185ba8335ee5434c6ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2993523225484295908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549218536,"filename":"image_22012025_13_32_53_6452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594143","file1":"1330594138","file0":"1330594135","file4":"1330594176","file5":"1330594181","file3":"1330594174"},"map_files_photo_id_array":[{"photo_id":"1330594181","filename":"file5"},{"photo_id":"1330594143","filename":"file2"},{"photo_id":"1330594176","filename":"file4"},{"photo_id":"1330594138","filename":"file1"},{"photo_id":"1330594135","filename":"file0"},{"photo_id":"1330594174","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594176":["hashtag1","hashtag2"]},{"1330594143":["hashtag1","hashtag2"]},{"1330594181":["hashtag1","hashtag2"]},{"1330594174":["hashtag1","hashtag2"]},{"1330594138":["hashtag1","hashtag2"]},{"1330594135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594176, 1330594143, 1330594181, 1330594174, 1330594138, 1330594135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.25839710235596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:33:22.166666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/33/image_22012025_13_33_53_6431.jpg', '/media/data/images/22012025/13/33/image_22012025_13_33_46_5233.jpg', '/media/data/images/22012025/13/33/image_22012025_13_33_41_5288.jpg', '/media/data/images/22012025/13/33/image_22012025_13_33_36_6311.jpg', '/media/data/images/22012025/13/33/image_22012025_13_33_30_6292.jpg', '/media/data/images/22012025/13/33/image_22012025_13_33_24_6812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/33/image_22012025_13_33_53_6431.jpg
/media/data/images/22012025/13/33/image_22012025_13_33_46_5233.jpg
/media/data/images/22012025/13/33/image_22012025_13_33_41_5288.jpg
/media/data/images/22012025/13/33/image_22012025_13_33_36_6311.jpg
/media/data/images/22012025/13/33/image_22012025_13_33_30_6292.jpg
/media/data/images/22012025/13/33/image_22012025_13_33_24_6812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594260","1330594341","1330594343","1330594255","1330594303","1330594252"],"photo_ids_order":["1330594252","1330594255","1330594260","1330594303","1330594341","1330594343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8859e1e9b8b1e48b352b26e06c59742f.jpg","text":"TemporaryFile(/tmp/multipartBody9116970761483055180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_41_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/22/bc8d482b0dedd4ad3412ce67657d670d.jpg","text":"TemporaryFile(/tmp/multipartBody8583775405480178250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_30_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/22/f42440c16a92700a03ad7cab5cebb4b1.jpg","text":"TemporaryFile(/tmp/multipartBody9110806788550227245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_24_6812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/279530a08115e7a498242772db2c374e.jpg","text":"TemporaryFile(/tmp/multipartBody1472673711401324285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_46_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/22/5f79aef2b92cbab28a8cf20d03cef9dc.jpg","text":"TemporaryFile(/tmp/multipartBody861896682581443777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_36_6311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d318dde631ac2acf91cfd16ba5a7fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5118287570816096960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549277832,"filename":"image_22012025_13_33_53_6431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594260","file1":"1330594255","file0":"1330594252","file4":"1330594341","file5":"1330594343","file3":"1330594303"},"map_files_photo_id_array":[{"photo_id":"1330594343","filename":"file5"},{"photo_id":"1330594260","filename":"file2"},{"photo_id":"1330594341","filename":"file4"},{"photo_id":"1330594255","filename":"file1"},{"photo_id":"1330594252","filename":"file0"},{"photo_id":"1330594303","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594260":["hashtag1","hashtag2"]},{"1330594341":["hashtag1","hashtag2"]},{"1330594343":["hashtag1","hashtag2"]},{"1330594255":["hashtag1","hashtag2"]},{"1330594303":["hashtag1","hashtag2"]},{"1330594252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594260, 1330594341, 1330594343, 1330594255, 1330594303, 1330594252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.889190912246704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:34:22.344443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/34/image_22012025_13_34_53_6486.jpg', '/media/data/images/22012025/13/34/image_22012025_13_34_46_5274.jpg', '/media/data/images/22012025/13/34/image_22012025_13_34_41_6693.jpg', '/media/data/images/22012025/13/34/image_22012025_13_34_35_4531.jpg', '/media/data/images/22012025/13/34/image_22012025_13_34_22_5501.jpg', '/media/data/images/22012025/13/34/image_22012025_13_34_17_5704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/34/image_22012025_13_34_53_6486.jpg
/media/data/images/22012025/13/34/image_22012025_13_34_46_5274.jpg
/media/data/images/22012025/13/34/image_22012025_13_34_41_6693.jpg
/media/data/images/22012025/13/34/image_22012025_13_34_35_4531.jpg
/media/data/images/22012025/13/34/image_22012025_13_34_22_5501.jpg
/media/data/images/22012025/13/34/image_22012025_13_34_17_5704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594653","1330594647","1330594670","1330594666","1330594651","1330594633"],"photo_ids_order":["1330594633","1330594647","1330594651","1330594653","1330594666","1330594670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4e7253583068d5f220f929fd0eee00cd.jpg","text":"TemporaryFile(/tmp/multipartBody6607505401587918025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_35_4531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8155e26ff7304ac2cba64ce731ca4b9.jpg","text":"TemporaryFile(/tmp/multipartBody4593288914339820510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_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/22/7636394e94bc3c269bfeb58ffaab3ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2076139567259121283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_17_5704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2d54d99252380ca40f9113003bd2e7c.jpg","text":"TemporaryFile(/tmp/multipartBody6470155408600392192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_22_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49cd821fd1933bb7988644ba184cda4d.jpg","text":"TemporaryFile(/tmp/multipartBody6568634849127129142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_41_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/22/baecf5ac2d6a14a9b578829daef1e258.jpg","text":"TemporaryFile(/tmp/multipartBody4377307102272235378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549348636,"filename":"image_22012025_13_34_53_6486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594651","file1":"1330594647","file0":"1330594633","file4":"1330594666","file5":"1330594670","file3":"1330594653"},"map_files_photo_id_array":[{"photo_id":"1330594670","filename":"file5"},{"photo_id":"1330594651","filename":"file2"},{"photo_id":"1330594666","filename":"file4"},{"photo_id":"1330594647","filename":"file1"},{"photo_id":"1330594633","filename":"file0"},{"photo_id":"1330594653","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594653":["hashtag1","hashtag2"]},{"1330594647":["hashtag1","hashtag2"]},{"1330594670":["hashtag1","hashtag2"]},{"1330594666":["hashtag1","hashtag2"]},{"1330594651":["hashtag1","hashtag2"]},{"1330594633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594653, 1330594647, 1330594670, 1330594666, 1330594651, 1330594633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.98583102226257 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:35:22.607922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/35/image_22012025_13_35_53_6511.jpg', '/media/data/images/22012025/13/35/image_22012025_13_35_47_4598.jpg', '/media/data/images/22012025/13/35/image_22012025_13_35_42_6299.jpg', '/media/data/images/22012025/13/35/image_22012025_13_35_36_6350.jpg', '/media/data/images/22012025/13/35/image_22012025_13_35_30_6337.jpg', '/media/data/images/22012025/13/35/image_22012025_13_35_23_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/35/image_22012025_13_35_53_6511.jpg
/media/data/images/22012025/13/35/image_22012025_13_35_47_4598.jpg
/media/data/images/22012025/13/35/image_22012025_13_35_42_6299.jpg
/media/data/images/22012025/13/35/image_22012025_13_35_36_6350.jpg
/media/data/images/22012025/13/35/image_22012025_13_35_30_6337.jpg
/media/data/images/22012025/13/35/image_22012025_13_35_23_5355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594854","1330594821","1330594839","1330594800","1330594789","1330594756"],"photo_ids_order":["1330594756","1330594789","1330594800","1330594821","1330594839","1330594854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ade01c27fdbfe54bef231a6227d5a73f.jpg","text":"TemporaryFile(/tmp/multipartBody6566211720603121453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_23_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/22/667b03c9d6ff6da10a4332b60a3c755c.jpg","text":"TemporaryFile(/tmp/multipartBody7752898803775312438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_36_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/22/0f808e766ef6873c41675056438c189a.jpg","text":"TemporaryFile(/tmp/multipartBody1345712326177985511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_30_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/22/ec97bd5e6accf23d0267d11918dc9d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5159054530630219609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_42_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/22/56f2bcd1d1fc67bd4c3be100c249e207.jpg","text":"TemporaryFile(/tmp/multipartBody8458188334801592754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_47_4598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0453947c64e561f76cbfd3aa63d50a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7262485681492240305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549406723,"filename":"image_22012025_13_35_53_6511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594800","file1":"1330594789","file0":"1330594756","file4":"1330594839","file5":"1330594854","file3":"1330594821"},"map_files_photo_id_array":[{"photo_id":"1330594854","filename":"file5"},{"photo_id":"1330594800","filename":"file2"},{"photo_id":"1330594839","filename":"file4"},{"photo_id":"1330594789","filename":"file1"},{"photo_id":"1330594756","filename":"file0"},{"photo_id":"1330594821","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594854":["hashtag1","hashtag2"]},{"1330594821":["hashtag1","hashtag2"]},{"1330594839":["hashtag1","hashtag2"]},{"1330594800":["hashtag1","hashtag2"]},{"1330594789":["hashtag1","hashtag2"]},{"1330594756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594854, 1330594821, 1330594839, 1330594800, 1330594789, 1330594756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11084461212158 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:36:22.738945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/36/image_22012025_13_36_53_5269.jpg', '/media/data/images/22012025/13/36/image_22012025_13_36_47_5517.jpg', '/media/data/images/22012025/13/36/image_22012025_13_36_42_6857.jpg', '/media/data/images/22012025/13/36/image_22012025_13_36_36_6227.jpg', '/media/data/images/22012025/13/36/image_22012025_13_36_29_6033.jpg', '/media/data/images/22012025/13/36/image_22012025_13_36_23_5386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/36/image_22012025_13_36_53_5269.jpg
/media/data/images/22012025/13/36/image_22012025_13_36_47_5517.jpg
/media/data/images/22012025/13/36/image_22012025_13_36_42_6857.jpg
/media/data/images/22012025/13/36/image_22012025_13_36_36_6227.jpg
/media/data/images/22012025/13/36/image_22012025_13_36_29_6033.jpg
/media/data/images/22012025/13/36/image_22012025_13_36_23_5386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330594869","1330594911","1330594874","1330594882","1330594942","1330594884"],"photo_ids_order":["1330594869","1330594874","1330594882","1330594884","1330594911","1330594942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1314763665dc73ab37508b3b8820debc.jpg","text":"TemporaryFile(/tmp/multipartBody8762112001730190284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_53_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/22/2ef67f54fb8efa2ee7b3cb7fd86dd8dc.jpg","text":"TemporaryFile(/tmp/multipartBody4325396712398709756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_29_6033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea3fd7015598000a7f49bfb990dc40c7.jpg","text":"TemporaryFile(/tmp/multipartBody7485064775228543321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_47_5517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8e3bd718de1b70003c397c9ab7eced8.jpg","text":"TemporaryFile(/tmp/multipartBody1263479967378379785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_42_6857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bfbfc34db66cc99bb25ed31bbb0a2df7.jpg","text":"TemporaryFile(/tmp/multipartBody8051550736138933812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_23_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/22/be9bad1716017c5f03cf6701886fc014.jpg","text":"TemporaryFile(/tmp/multipartBody8492144022618087466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549467577,"filename":"image_22012025_13_36_36_6227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330594882","file1":"1330594874","file0":"1330594869","file4":"1330594911","file5":"1330594942","file3":"1330594884"},"map_files_photo_id_array":[{"photo_id":"1330594942","filename":"file5"},{"photo_id":"1330594882","filename":"file2"},{"photo_id":"1330594911","filename":"file4"},{"photo_id":"1330594874","filename":"file1"},{"photo_id":"1330594869","filename":"file0"},{"photo_id":"1330594884","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330594869":["hashtag1","hashtag2"]},{"1330594911":["hashtag1","hashtag2"]},{"1330594874":["hashtag1","hashtag2"]},{"1330594882":["hashtag1","hashtag2"]},{"1330594942":["hashtag1","hashtag2"]},{"1330594884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330594869, 1330594911, 1330594874, 1330594882, 1330594942, 1330594884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.88703894615173 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:37:42.914298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/37/image_22012025_13_37_53_5309.jpg', '/media/data/images/22012025/13/37/image_22012025_13_37_48_7069.jpg', '/media/data/images/22012025/13/37/image_22012025_13_37_41_5435.jpg', '/media/data/images/22012025/13/37/image_22012025_13_37_36_6593.jpg', '/media/data/images/22012025/13/37/image_22012025_13_37_29_5635.jpg', '/media/data/images/22012025/13/37/image_22012025_13_37_23_6560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/37/image_22012025_13_37_53_5309.jpg
/media/data/images/22012025/13/37/image_22012025_13_37_48_7069.jpg
/media/data/images/22012025/13/37/image_22012025_13_37_41_5435.jpg
/media/data/images/22012025/13/37/image_22012025_13_37_36_6593.jpg
/media/data/images/22012025/13/37/image_22012025_13_37_29_5635.jpg
/media/data/images/22012025/13/37/image_22012025_13_37_23_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":["1330595124","1330595118","1330595112","1330595105","1330595129","1330595134"],"photo_ids_order":["1330595105","1330595112","1330595118","1330595124","1330595129","1330595134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c3c4e818255b62aa555f8b717405cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2686048195324421527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_36_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/22/a8c0a6af304fe0d7659dfc940e3b5c93.jpg","text":"TemporaryFile(/tmp/multipartBody8294996158162008291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_41_5435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/002e9824edf99eaf586588c233bea9a8.jpg","text":"TemporaryFile(/tmp/multipartBody8523196653228968568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_48_7069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4d46d4235c52080d051b26d5e10f10e.jpg","text":"TemporaryFile(/tmp/multipartBody234684974187492756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_53_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/22/974ea8650ed0272a48fe761bd58f4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody923287626676155994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_29_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1d22c496d3963ef326c0ba2a4a9277cb.jpg","text":"TemporaryFile(/tmp/multipartBody3768888449389483294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549540257,"filename":"image_22012025_13_37_23_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595118","file1":"1330595112","file0":"1330595105","file4":"1330595129","file5":"1330595134","file3":"1330595124"},"map_files_photo_id_array":[{"photo_id":"1330595134","filename":"file5"},{"photo_id":"1330595118","filename":"file2"},{"photo_id":"1330595129","filename":"file4"},{"photo_id":"1330595112","filename":"file1"},{"photo_id":"1330595105","filename":"file0"},{"photo_id":"1330595124","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595124":["hashtag1","hashtag2"]},{"1330595118":["hashtag1","hashtag2"]},{"1330595112":["hashtag1","hashtag2"]},{"1330595105":["hashtag1","hashtag2"]},{"1330595129":["hashtag1","hashtag2"]},{"1330595134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595124, 1330595118, 1330595112, 1330595105, 1330595129, 1330595134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.146822452545166 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:38:42.021813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/38/image_22012025_13_38_54_5844.jpg', '/media/data/images/22012025/13/38/image_22012025_13_38_48_5922.jpg', '/media/data/images/22012025/13/38/image_22012025_13_38_42_6538.jpg', '/media/data/images/22012025/13/38/image_22012025_13_38_35_6524.jpg', '/media/data/images/22012025/13/38/image_22012025_13_38_28_5336.jpg', '/media/data/images/22012025/13/38/image_22012025_13_38_23_6653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/38/image_22012025_13_38_54_5844.jpg
/media/data/images/22012025/13/38/image_22012025_13_38_48_5922.jpg
/media/data/images/22012025/13/38/image_22012025_13_38_42_6538.jpg
/media/data/images/22012025/13/38/image_22012025_13_38_35_6524.jpg
/media/data/images/22012025/13/38/image_22012025_13_38_28_5336.jpg
/media/data/images/22012025/13/38/image_22012025_13_38_23_6653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595307","1330595243","1330595290","1330595341","1330595239","1330595271"],"photo_ids_order":["1330595239","1330595243","1330595271","1330595290","1330595307","1330595341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02041d8fc8640bb0abd1fdae039ae9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4700409341462465897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_28_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/22/058b58e405d0eae5eb946f19169c8982.jpg","text":"TemporaryFile(/tmp/multipartBody2349984716896900933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_48_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e8088ade78e71c3373359755b54e33a5.jpg","text":"TemporaryFile(/tmp/multipartBody413741975752741105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_35_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/22/4b06c2cc3dd399b154e950fa8c356e59.jpg","text":"TemporaryFile(/tmp/multipartBody2122930741931227985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_23_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/22/62ebcb897a5bf9ee27dd149e9f5d4890.jpg","text":"TemporaryFile(/tmp/multipartBody1208947165414943378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_54_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/943dca1288a612e1115f697938e8033c.jpg","text":"TemporaryFile(/tmp/multipartBody8372367921731993230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549603798,"filename":"image_22012025_13_38_42_6538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595271","file1":"1330595243","file0":"1330595239","file4":"1330595307","file5":"1330595341","file3":"1330595290"},"map_files_photo_id_array":[{"photo_id":"1330595341","filename":"file5"},{"photo_id":"1330595271","filename":"file2"},{"photo_id":"1330595307","filename":"file4"},{"photo_id":"1330595243","filename":"file1"},{"photo_id":"1330595239","filename":"file0"},{"photo_id":"1330595290","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595307":["hashtag1","hashtag2"]},{"1330595243":["hashtag1","hashtag2"]},{"1330595290":["hashtag1","hashtag2"]},{"1330595341":["hashtag1","hashtag2"]},{"1330595239":["hashtag1","hashtag2"]},{"1330595271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595307, 1330595243, 1330595290, 1330595341, 1330595239, 1330595271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82105612754822 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:39:42.112406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/39/image_22012025_13_39_53_6525.jpg', '/media/data/images/22012025/13/39/image_22012025_13_39_47_5911.jpg', '/media/data/images/22012025/13/39/image_22012025_13_39_41_5271.jpg', '/media/data/images/22012025/13/39/image_22012025_13_39_35_6449.jpg', '/media/data/images/22012025/13/39/image_22012025_13_39_29_6462.jpg', '/media/data/images/22012025/13/39/image_22012025_13_39_22_5276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/39/image_22012025_13_39_53_6525.jpg
/media/data/images/22012025/13/39/image_22012025_13_39_47_5911.jpg
/media/data/images/22012025/13/39/image_22012025_13_39_41_5271.jpg
/media/data/images/22012025/13/39/image_22012025_13_39_35_6449.jpg
/media/data/images/22012025/13/39/image_22012025_13_39_29_6462.jpg
/media/data/images/22012025/13/39/image_22012025_13_39_22_5276.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595427","1330595414","1330595371","1330595380","1330595410","1330595385"],"photo_ids_order":["1330595371","1330595380","1330595385","1330595410","1330595414","1330595427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8fbbe3c0b63af917c8a8f99b8a08806a.jpg","text":"TemporaryFile(/tmp/multipartBody7447703891498229310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_22_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/22/d064925a2c52d9ca0533d51ebe6c2282.jpg","text":"TemporaryFile(/tmp/multipartBody4030412388485999059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_29_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eefb35e83ae9a6f5fc218f319262e159.jpg","text":"TemporaryFile(/tmp/multipartBody2498648357411260233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_53_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/22/f031fdbef9120eda63f403a2dbc7e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5078960366073576382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_47_5911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9734ac1106b79bad8f607b446607e1d8.jpg","text":"TemporaryFile(/tmp/multipartBody2789408880696642788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_35_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/22/6a25763496e2a85769b5c7632075a965.jpg","text":"TemporaryFile(/tmp/multipartBody8586352600776536226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549654633,"filename":"image_22012025_13_39_41_5271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595385","file1":"1330595380","file0":"1330595371","file4":"1330595414","file5":"1330595427","file3":"1330595410"},"map_files_photo_id_array":[{"photo_id":"1330595427","filename":"file5"},{"photo_id":"1330595385","filename":"file2"},{"photo_id":"1330595414","filename":"file4"},{"photo_id":"1330595380","filename":"file1"},{"photo_id":"1330595371","filename":"file0"},{"photo_id":"1330595410","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595427":["hashtag1","hashtag2"]},{"1330595414":["hashtag1","hashtag2"]},{"1330595371":["hashtag1","hashtag2"]},{"1330595380":["hashtag1","hashtag2"]},{"1330595410":["hashtag1","hashtag2"]},{"1330595385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595427, 1330595414, 1330595371, 1330595380, 1330595410, 1330595385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.49913716316223 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:40:42.301218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/40/image_22012025_13_40_53_6308.jpg', '/media/data/images/22012025/13/40/image_22012025_13_40_47_6307.jpg', '/media/data/images/22012025/13/40/image_22012025_13_40_40_5356.jpg', '/media/data/images/22012025/13/40/image_22012025_13_40_35_6501.jpg', '/media/data/images/22012025/13/40/image_22012025_13_40_29_5228.jpg', '/media/data/images/22012025/13/40/image_22012025_13_40_23_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/40/image_22012025_13_40_53_6308.jpg
/media/data/images/22012025/13/40/image_22012025_13_40_47_6307.jpg
/media/data/images/22012025/13/40/image_22012025_13_40_40_5356.jpg
/media/data/images/22012025/13/40/image_22012025_13_40_35_6501.jpg
/media/data/images/22012025/13/40/image_22012025_13_40_29_5228.jpg
/media/data/images/22012025/13/40/image_22012025_13_40_23_6559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595651","1330595660","1330595654","1330595656","1330595665","1330595649"],"photo_ids_order":["1330595649","1330595651","1330595654","1330595656","1330595660","1330595665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c33ee127a8b9d441e9996b3fe8f4c3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8904912451026223100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_47_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/22/b32ead60b28589d4d75d65b07100f8bd.jpg","text":"TemporaryFile(/tmp/multipartBody616712067276130837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_29_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/22/33afa17de183b9cff1c7b02675b8c00e.jpg","text":"TemporaryFile(/tmp/multipartBody7021910084779501471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_40_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/22/9a405602b46623f8b8b17e1eac7327c6.jpg","text":"TemporaryFile(/tmp/multipartBody575342717249011880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_35_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/22/4f9efa9c4d4a8999960adb9a739d19ce.jpg","text":"TemporaryFile(/tmp/multipartBody4903814142272983667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_23_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/22/8101a3ffe80aa6931cfd6b6e2fe89a16.jpg","text":"TemporaryFile(/tmp/multipartBody1259468819462026270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549736201,"filename":"image_22012025_13_40_53_6308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595654","file1":"1330595651","file0":"1330595649","file4":"1330595660","file5":"1330595665","file3":"1330595656"},"map_files_photo_id_array":[{"photo_id":"1330595665","filename":"file5"},{"photo_id":"1330595654","filename":"file2"},{"photo_id":"1330595660","filename":"file4"},{"photo_id":"1330595651","filename":"file1"},{"photo_id":"1330595649","filename":"file0"},{"photo_id":"1330595656","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595651":["hashtag1","hashtag2"]},{"1330595660":["hashtag1","hashtag2"]},{"1330595654":["hashtag1","hashtag2"]},{"1330595656":["hashtag1","hashtag2"]},{"1330595665":["hashtag1","hashtag2"]},{"1330595649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595651, 1330595660, 1330595654, 1330595656, 1330595665, 1330595649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.19711089134216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:42:03.841151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/41/image_22012025_13_41_53_6525.jpg', '/media/data/images/22012025/13/41/image_22012025_13_41_47_6125.jpg', '/media/data/images/22012025/13/41/image_22012025_13_41_41_6499.jpg', '/media/data/images/22012025/13/41/image_22012025_13_41_34_5255.jpg', '/media/data/images/22012025/13/41/image_22012025_13_41_29_6554.jpg', '/media/data/images/22012025/13/41/image_22012025_13_41_22_5349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/41/image_22012025_13_41_53_6525.jpg
/media/data/images/22012025/13/41/image_22012025_13_41_47_6125.jpg
/media/data/images/22012025/13/41/image_22012025_13_41_41_6499.jpg
/media/data/images/22012025/13/41/image_22012025_13_41_34_5255.jpg
/media/data/images/22012025/13/41/image_22012025_13_41_29_6554.jpg
/media/data/images/22012025/13/41/image_22012025_13_41_22_5349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595715","1330595703","1330595712","1330595692","1330595695","1330595719"],"photo_ids_order":["1330595692","1330595695","1330595703","1330595712","1330595715","1330595719"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eef7c26b5662b02fb693df90c4a36c56.jpg","text":"TemporaryFile(/tmp/multipartBody5793446637332080020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_29_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/22/67e630acc9e37d942b8cb85000078c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7342287439565863927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_41_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/22/f0122da5ca9b10af8d5c3b3fc3877d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2198790329532707454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_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/22/dab3e0b343919dda2c33480a612c227e.jpg","text":"TemporaryFile(/tmp/multipartBody8822471017808089859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_53_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/22/29a255b5e77607269f134c2a16e6b3ed.jpg","text":"TemporaryFile(/tmp/multipartBody5512322512998194468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_47_6125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/41b53e180429e049d4e8b447c4cb8338.jpg","text":"TemporaryFile(/tmp/multipartBody6465496012822540413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549801834,"filename":"image_22012025_13_41_22_5349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595703","file1":"1330595695","file0":"1330595692","file4":"1330595715","file5":"1330595719","file3":"1330595712"},"map_files_photo_id_array":[{"photo_id":"1330595719","filename":"file5"},{"photo_id":"1330595703","filename":"file2"},{"photo_id":"1330595715","filename":"file4"},{"photo_id":"1330595695","filename":"file1"},{"photo_id":"1330595692","filename":"file0"},{"photo_id":"1330595712","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595715":["hashtag1","hashtag2"]},{"1330595703":["hashtag1","hashtag2"]},{"1330595712":["hashtag1","hashtag2"]},{"1330595692":["hashtag1","hashtag2"]},{"1330595695":["hashtag1","hashtag2"]},{"1330595719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595715, 1330595703, 1330595712, 1330595692, 1330595695, 1330595719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.13346195220947 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:43:04.705204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/42/image_22012025_13_42_53_5458.jpg', '/media/data/images/22012025/13/42/image_22012025_13_42_47_6466.jpg', '/media/data/images/22012025/13/42/image_22012025_13_42_41_5252.jpg', '/media/data/images/22012025/13/42/image_22012025_13_42_35_6665.jpg', '/media/data/images/22012025/13/42/image_22012025_13_42_29_5400.jpg', '/media/data/images/22012025/13/42/image_22012025_13_42_23_5949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/42/image_22012025_13_42_53_5458.jpg
/media/data/images/22012025/13/42/image_22012025_13_42_47_6466.jpg
/media/data/images/22012025/13/42/image_22012025_13_42_41_5252.jpg
/media/data/images/22012025/13/42/image_22012025_13_42_35_6665.jpg
/media/data/images/22012025/13/42/image_22012025_13_42_29_5400.jpg
/media/data/images/22012025/13/42/image_22012025_13_42_23_5949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595763","1330595756","1330595759","1330595753","1330595752","1330595748"],"photo_ids_order":["1330595748","1330595752","1330595753","1330595756","1330595759","1330595763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/10e4b76920845bdea476fd828969d95a.jpg","text":"TemporaryFile(/tmp/multipartBody7102473476257262776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_23_5949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0ca07771042e9eb492dbbb647b2a723.jpg","text":"TemporaryFile(/tmp/multipartBody3269700909601413616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_35_6665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83756643bcd84db44b6dd43a31ac6af5.jpg","text":"TemporaryFile(/tmp/multipartBody3045151504305586512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_29_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/22/6b2688e106d07d0a5c971aba5e0156d9.jpg","text":"TemporaryFile(/tmp/multipartBody1576220454154351431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_41_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/22/b57f9db52a86cba8e14e8ae7024f028a.jpg","text":"TemporaryFile(/tmp/multipartBody8560529684179717766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_47_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/22/4a1ee9c7805e81dfd1487ea8939c8805.jpg","text":"TemporaryFile(/tmp/multipartBody3596191755257898695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549862967,"filename":"image_22012025_13_42_53_5458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595753","file1":"1330595752","file0":"1330595748","file4":"1330595759","file5":"1330595763","file3":"1330595756"},"map_files_photo_id_array":[{"photo_id":"1330595763","filename":"file5"},{"photo_id":"1330595753","filename":"file2"},{"photo_id":"1330595759","filename":"file4"},{"photo_id":"1330595752","filename":"file1"},{"photo_id":"1330595748","filename":"file0"},{"photo_id":"1330595756","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595763":["hashtag1","hashtag2"]},{"1330595756":["hashtag1","hashtag2"]},{"1330595759":["hashtag1","hashtag2"]},{"1330595753":["hashtag1","hashtag2"]},{"1330595752":["hashtag1","hashtag2"]},{"1330595748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595763, 1330595756, 1330595759, 1330595753, 1330595752, 1330595748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.38114809989929 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 13:44:04.276439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/43/image_22012025_13_43_53_6528.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_46_5283.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_41_6498.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_35_5238.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_29_6966.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_22_4762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/43/image_22012025_13_43_53_6528.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_46_5283.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_41_6498.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_35_5238.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_29_6966.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_22_4762.jpg
2025-01-22 13:44:04.370037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/43/image_22012025_13_43_53_6528.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_46_5283.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_41_6498.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_35_5238.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_29_6966.jpg', '/media/data/images/22012025/13/43/image_22012025_13_43_22_4762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/43/image_22012025_13_43_53_6528.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_46_5283.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_41_6498.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_35_5238.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_29_6966.jpg
/media/data/images/22012025/13/43/image_22012025_13_43_22_4762.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":["1330595852","1330595875","1330595857","1330595842","1330595862","1330595847"],"photo_ids_order":["1330595842","1330595847","1330595852","1330595857","1330595862","1330595875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/696e570df3af11b5df28bdfaa33a4151.jpg","text":"TemporaryFile(/tmp/multipartBody7679795935832365856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_43_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/22/8a0d2a4757f8fbb0cc4bc1c3e157a1ff.jpg","text":"TemporaryFile(/tmp/multipartBody7425839365398328729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_43_22_4762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e39443745b92a4d1238cc99d0a8fa8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2055838372588716780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_43_35_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/22/0e61dc0457e43d215077543347d7d81d.jpg","text":"TemporaryFile(/tmp/multipartBody208516623715608200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_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/22/0830edd9d6814a40ba63d013453f1a46.jpg","text":"TemporaryFile(/tmp/multipartBody1558040986546813328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_43_29_6966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e47633c840fd38e145de63e31cce80a.jpg","text":"TemporaryFile(/tmp/multipartBody3839541012725504196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549932032,"filename":"image_22012025_13_43_46_5283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595852","file1":"1330595847","file0":"1330595842","file4":"1330595862","file5":"1330595875","file3":"1330595857"},"map_files_photo_id_array":[{"photo_id":"1330595875","filename":"file5"},{"photo_id":"1330595852","filename":"file2"},{"photo_id":"1330595862","filename":"file4"},{"photo_id":"1330595847","filename":"file1"},{"photo_id":"1330595842","filename":"file0"},{"photo_id":"1330595857","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595852":["hashtag1","hashtag2"]},{"1330595875":["hashtag1","hashtag2"]},{"1330595857":["hashtag1","hashtag2"]},{"1330595842":["hashtag1","hashtag2"]},{"1330595862":["hashtag1","hashtag2"]},{"1330595847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595852, 1330595875, 1330595857, 1330595842, 1330595862, 1330595847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.210110902786255 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330595861","1330595870","1330595849","1330595854","1330595908","1330595892"],"photo_ids_order":["1330595849","1330595854","1330595861","1330595870","1330595892","1330595908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83bdf1e0011696ea5893fcc14b028467.jpg","text":"TemporaryFile(/tmp/multipartBody6026689165533317717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_43_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/22/1a539edee28f57801481c652845f9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1042074462911888992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_43_35_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/22/cf473680c1f67148dbffdf040728afe9.jpg","text":"TemporaryFile(/tmp/multipartBody338454961552505233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_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/22/ef32906d11f8e8f13bbe4ece4f8745d7.jpg","text":"TemporaryFile(/tmp/multipartBody1102841590645678972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_43_46_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/22/e6695c2cbac1b115363a562f0ad35619.jpg","text":"TemporaryFile(/tmp/multipartBody3896736820314463910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_43_22_4762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/336004612e5621eb919cdaf1c4258bac.jpg","text":"TemporaryFile(/tmp/multipartBody8353473012404773988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737549938563,"filename":"image_22012025_13_43_29_6966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330595861","file1":"1330595854","file0":"1330595849","file4":"1330595892","file5":"1330595908","file3":"1330595870"},"map_files_photo_id_array":[{"photo_id":"1330595908","filename":"file5"},{"photo_id":"1330595861","filename":"file2"},{"photo_id":"1330595892","filename":"file4"},{"photo_id":"1330595854","filename":"file1"},{"photo_id":"1330595849","filename":"file0"},{"photo_id":"1330595870","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330595861":["hashtag1","hashtag2"]},{"1330595870":["hashtag1","hashtag2"]},{"1330595849":["hashtag1","hashtag2"]},{"1330595854":["hashtag1","hashtag2"]},{"1330595908":["hashtag1","hashtag2"]},{"1330595892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330595861, 1330595870, 1330595849, 1330595854, 1330595908, 1330595892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.38662552833557 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:45:22.099210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/45/image_22012025_13_45_53_5345.jpg', '/media/data/images/22012025/13/45/image_22012025_13_45_47_6747.jpg', '/media/data/images/22012025/13/45/image_22012025_13_45_41_5045.jpg', '/media/data/images/22012025/13/45/image_22012025_13_45_36_6310.jpg', '/media/data/images/22012025/13/45/image_22012025_13_45_30_6090.jpg', '/media/data/images/22012025/13/45/image_22012025_13_45_24_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/45/image_22012025_13_45_53_5345.jpg
/media/data/images/22012025/13/45/image_22012025_13_45_47_6747.jpg
/media/data/images/22012025/13/45/image_22012025_13_45_41_5045.jpg
/media/data/images/22012025/13/45/image_22012025_13_45_36_6310.jpg
/media/data/images/22012025/13/45/image_22012025_13_45_30_6090.jpg
/media/data/images/22012025/13/45/image_22012025_13_45_24_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":["1330596125","1330596119","1330596091","1330596073","1330596025","1330596030"],"photo_ids_order":["1330596025","1330596030","1330596073","1330596091","1330596119","1330596125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c6de8c094d96b16585eaf23336954b2.jpg","text":"TemporaryFile(/tmp/multipartBody54247133901023944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_24_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/22/af4bc3a285ba01c04f2fd2eae69b7536.jpg","text":"TemporaryFile(/tmp/multipartBody2626823542431848943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_30_6090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65a177213c1e7f2b77a80c7130daa29e.jpg","text":"TemporaryFile(/tmp/multipartBody503734726601456803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_36_6310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/387f0c618fbf229ceaa463ac505036e1.jpg","text":"TemporaryFile(/tmp/multipartBody2674957695429603345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_41_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/22/4b6d15ec41af40f80ed5e9029da51b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3157655975387037271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_53_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/22/5ea2ef3b8ade077d0d988be51d93ac69.jpg","text":"TemporaryFile(/tmp/multipartBody6540298933768669485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550000436,"filename":"image_22012025_13_45_47_6747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596073","file1":"1330596030","file0":"1330596025","file4":"1330596119","file5":"1330596125","file3":"1330596091"},"map_files_photo_id_array":[{"photo_id":"1330596125","filename":"file5"},{"photo_id":"1330596073","filename":"file2"},{"photo_id":"1330596119","filename":"file4"},{"photo_id":"1330596030","filename":"file1"},{"photo_id":"1330596025","filename":"file0"},{"photo_id":"1330596091","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596125":["hashtag1","hashtag2"]},{"1330596119":["hashtag1","hashtag2"]},{"1330596091":["hashtag1","hashtag2"]},{"1330596073":["hashtag1","hashtag2"]},{"1330596025":["hashtag1","hashtag2"]},{"1330596030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596125, 1330596119, 1330596091, 1330596073, 1330596025, 1330596030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.81966781616211 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:46:22.349572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/46/image_22012025_13_46_53_5246.jpg', '/media/data/images/22012025/13/46/image_22012025_13_46_47_6553.jpg', '/media/data/images/22012025/13/46/image_22012025_13_46_41_5383.jpg', '/media/data/images/22012025/13/46/image_22012025_13_46_35_5925.jpg', '/media/data/images/22012025/13/46/image_22012025_13_46_30_6044.jpg', '/media/data/images/22012025/13/46/image_22012025_13_46_24_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/46/image_22012025_13_46_53_5246.jpg
/media/data/images/22012025/13/46/image_22012025_13_46_47_6553.jpg
/media/data/images/22012025/13/46/image_22012025_13_46_41_5383.jpg
/media/data/images/22012025/13/46/image_22012025_13_46_35_5925.jpg
/media/data/images/22012025/13/46/image_22012025_13_46_30_6044.jpg
/media/data/images/22012025/13/46/image_22012025_13_46_24_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":["1330596256","1330596265","1330596273","1330596261","1330596258","1330596246"],"photo_ids_order":["1330596246","1330596256","1330596258","1330596261","1330596265","1330596273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7620a444109154f56183f7db50b4fa5f.jpg","text":"TemporaryFile(/tmp/multipartBody9018304165414924684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_47_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/22/f18f1e186307b1572f8a86dcc5a2a58c.jpg","text":"TemporaryFile(/tmp/multipartBody7621919677064958501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_30_6044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef37b53d1b21e5734ad2e203c0f47047.jpg","text":"TemporaryFile(/tmp/multipartBody8754742815242915174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_24_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/22/b5aa616f09e1d335ed613623c9d17974.jpg","text":"TemporaryFile(/tmp/multipartBody8736168882188103659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_35_5925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71bc0f1fbe47146b31148fbb9f56eba1.jpg","text":"TemporaryFile(/tmp/multipartBody7656528836956834024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_41_5383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e44a082906a4f90d925829dc2953d5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3149313238879433998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550063608,"filename":"image_22012025_13_46_53_5246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596258","file1":"1330596256","file0":"1330596246","file4":"1330596265","file5":"1330596273","file3":"1330596261"},"map_files_photo_id_array":[{"photo_id":"1330596273","filename":"file5"},{"photo_id":"1330596258","filename":"file2"},{"photo_id":"1330596265","filename":"file4"},{"photo_id":"1330596256","filename":"file1"},{"photo_id":"1330596246","filename":"file0"},{"photo_id":"1330596261","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596256":["hashtag1","hashtag2"]},{"1330596265":["hashtag1","hashtag2"]},{"1330596273":["hashtag1","hashtag2"]},{"1330596261":["hashtag1","hashtag2"]},{"1330596258":["hashtag1","hashtag2"]},{"1330596246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596256, 1330596265, 1330596273, 1330596261, 1330596258, 1330596246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.96983480453491 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:47:22.623362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/47/image_22012025_13_47_53_6494.jpg', '/media/data/images/22012025/13/47/image_22012025_13_47_47_5248.jpg', '/media/data/images/22012025/13/47/image_22012025_13_47_42_6181.jpg', '/media/data/images/22012025/13/47/image_22012025_13_47_36_6687.jpg', '/media/data/images/22012025/13/47/image_22012025_13_47_28_5605.jpg', '/media/data/images/22012025/13/47/image_22012025_13_47_23_5425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/47/image_22012025_13_47_53_6494.jpg
/media/data/images/22012025/13/47/image_22012025_13_47_47_5248.jpg
/media/data/images/22012025/13/47/image_22012025_13_47_42_6181.jpg
/media/data/images/22012025/13/47/image_22012025_13_47_36_6687.jpg
/media/data/images/22012025/13/47/image_22012025_13_47_28_5605.jpg
/media/data/images/22012025/13/47/image_22012025_13_47_23_5425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330596422","1330596457","1330596439","1330596468","1330596453","1330596429"],"photo_ids_order":["1330596422","1330596429","1330596439","1330596453","1330596457","1330596468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ec97110d26131e491d121012d97f93af.jpg","text":"TemporaryFile(/tmp/multipartBody6500955901421004666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_53_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/22/3cbfa9c14a5f7bb7fc8346d90014eecb.jpg","text":"TemporaryFile(/tmp/multipartBody8352766131421286047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_28_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/77159927051b0242eb482530547b8f63.jpg","text":"TemporaryFile(/tmp/multipartBody3329900702983149404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_42_6181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7772dd6fdf6052c15d3d6f24ff29c36.jpg","text":"TemporaryFile(/tmp/multipartBody2513449543534758420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_23_5425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/615dddf2197fc2ca42adb13734d2cf58.jpg","text":"TemporaryFile(/tmp/multipartBody6981237554149998294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_36_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da2e27e5a08214a295987c94c5b538f0.jpg","text":"TemporaryFile(/tmp/multipartBody5452763204520677403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550125507,"filename":"image_22012025_13_47_47_5248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596439","file1":"1330596429","file0":"1330596422","file4":"1330596457","file5":"1330596468","file3":"1330596453"},"map_files_photo_id_array":[{"photo_id":"1330596468","filename":"file5"},{"photo_id":"1330596439","filename":"file2"},{"photo_id":"1330596457","filename":"file4"},{"photo_id":"1330596429","filename":"file1"},{"photo_id":"1330596422","filename":"file0"},{"photo_id":"1330596453","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596422":["hashtag1","hashtag2"]},{"1330596457":["hashtag1","hashtag2"]},{"1330596439":["hashtag1","hashtag2"]},{"1330596468":["hashtag1","hashtag2"]},{"1330596453":["hashtag1","hashtag2"]},{"1330596429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596422, 1330596457, 1330596439, 1330596468, 1330596453, 1330596429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36373281478882 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:48:22.861639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/48/image_22012025_13_48_53_6462.jpg', '/media/data/images/22012025/13/48/image_22012025_13_48_47_5124.jpg', '/media/data/images/22012025/13/48/image_22012025_13_48_42_5845.jpg', '/media/data/images/22012025/13/48/image_22012025_13_48_36_6995.jpg', '/media/data/images/22012025/13/48/image_22012025_13_48_29_5713.jpg', '/media/data/images/22012025/13/48/image_22012025_13_48_23_6664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/48/image_22012025_13_48_53_6462.jpg
/media/data/images/22012025/13/48/image_22012025_13_48_47_5124.jpg
/media/data/images/22012025/13/48/image_22012025_13_48_42_5845.jpg
/media/data/images/22012025/13/48/image_22012025_13_48_36_6995.jpg
/media/data/images/22012025/13/48/image_22012025_13_48_29_5713.jpg
/media/data/images/22012025/13/48/image_22012025_13_48_23_6664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330596535","1330596526","1330596498","1330596522","1330596501","1330596494"],"photo_ids_order":["1330596494","1330596498","1330596501","1330596522","1330596526","1330596535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1222f0c641908355a04419189fc94a53.jpg","text":"TemporaryFile(/tmp/multipartBody5893116493614241499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_23_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/22/150294f2dcd01bd656f5b93ec669b6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6436147961850983665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_29_5713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cdfebe453053e974670fb070182d06f.jpg","text":"TemporaryFile(/tmp/multipartBody229666513044094480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_47_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/22/6e68214ccccc499bc961ef5411c805c7.jpg","text":"TemporaryFile(/tmp/multipartBody3652323987950319057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_36_6995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81abbb36a1195eb21d885e0625252e21.jpg","text":"TemporaryFile(/tmp/multipartBody3943324320736766816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_42_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30f41bef141eebbeff64a125bce312fb.jpg","text":"TemporaryFile(/tmp/multipartBody1070028090671270586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550186513,"filename":"image_22012025_13_48_53_6462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596501","file1":"1330596498","file0":"1330596494","file4":"1330596526","file5":"1330596535","file3":"1330596522"},"map_files_photo_id_array":[{"photo_id":"1330596535","filename":"file5"},{"photo_id":"1330596501","filename":"file2"},{"photo_id":"1330596526","filename":"file4"},{"photo_id":"1330596498","filename":"file1"},{"photo_id":"1330596494","filename":"file0"},{"photo_id":"1330596522","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596535":["hashtag1","hashtag2"]},{"1330596526":["hashtag1","hashtag2"]},{"1330596498":["hashtag1","hashtag2"]},{"1330596522":["hashtag1","hashtag2"]},{"1330596501":["hashtag1","hashtag2"]},{"1330596494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596535, 1330596526, 1330596498, 1330596522, 1330596501, 1330596494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75616192817688 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:49:22.159029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/49/image_22012025_13_49_53_5258.jpg', '/media/data/images/22012025/13/49/image_22012025_13_49_47_6373.jpg', '/media/data/images/22012025/13/49/image_22012025_13_49_41_6373.jpg', '/media/data/images/22012025/13/49/image_22012025_13_49_35_6054.jpg', '/media/data/images/22012025/13/49/image_22012025_13_49_29_5298.jpg', '/media/data/images/22012025/13/49/image_22012025_13_49_24_6606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/49/image_22012025_13_49_53_5258.jpg
/media/data/images/22012025/13/49/image_22012025_13_49_47_6373.jpg
/media/data/images/22012025/13/49/image_22012025_13_49_41_6373.jpg
/media/data/images/22012025/13/49/image_22012025_13_49_35_6054.jpg
/media/data/images/22012025/13/49/image_22012025_13_49_29_5298.jpg
/media/data/images/22012025/13/49/image_22012025_13_49_24_6606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330596644","1330596647","1330596632","1330596640","1330596628","1330596636"],"photo_ids_order":["1330596628","1330596632","1330596636","1330596640","1330596644","1330596647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/affae7a1021169a3157b9d99d5bb6048.jpg","text":"TemporaryFile(/tmp/multipartBody9206195309529889930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_49_29_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/22/dbc8e3abcbfb508c8b896069cc9ce757.jpg","text":"TemporaryFile(/tmp/multipartBody1639593027927829039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_49_24_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/22/7b646ebd31a093f7a606935552dfb944.jpg","text":"TemporaryFile(/tmp/multipartBody7653887621685720088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_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/22/8d7e30affa35711cf098901748b154ea.jpg","text":"TemporaryFile(/tmp/multipartBody8713611447674276314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_49_35_6054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14a9ba6a59f77ae2231ef10e8bd28ced.jpg","text":"TemporaryFile(/tmp/multipartBody7460008393533492136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_49_53_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/22/8df101c3c58501eeda5fa5d0b05dcc89.jpg","text":"TemporaryFile(/tmp/multipartBody4256928741887851506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550235745,"filename":"image_22012025_13_49_41_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596636","file1":"1330596632","file0":"1330596628","file4":"1330596644","file5":"1330596647","file3":"1330596640"},"map_files_photo_id_array":[{"photo_id":"1330596647","filename":"file5"},{"photo_id":"1330596636","filename":"file2"},{"photo_id":"1330596644","filename":"file4"},{"photo_id":"1330596632","filename":"file1"},{"photo_id":"1330596628","filename":"file0"},{"photo_id":"1330596640","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596644":["hashtag1","hashtag2"]},{"1330596647":["hashtag1","hashtag2"]},{"1330596632":["hashtag1","hashtag2"]},{"1330596640":["hashtag1","hashtag2"]},{"1330596628":["hashtag1","hashtag2"]},{"1330596636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596644, 1330596647, 1330596632, 1330596640, 1330596628, 1330596636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.502742767333984 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:50:22.369721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/50/image_22012025_13_50_52_5286.jpg', '/media/data/images/22012025/13/50/image_22012025_13_50_47_6532.jpg', '/media/data/images/22012025/13/50/image_22012025_13_50_41_5334.jpg', '/media/data/images/22012025/13/50/image_22012025_13_50_35_6133.jpg', '/media/data/images/22012025/13/50/image_22012025_13_50_30_6289.jpg', '/media/data/images/22012025/13/50/image_22012025_13_50_23_5386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/50/image_22012025_13_50_52_5286.jpg
/media/data/images/22012025/13/50/image_22012025_13_50_47_6532.jpg
/media/data/images/22012025/13/50/image_22012025_13_50_41_5334.jpg
/media/data/images/22012025/13/50/image_22012025_13_50_35_6133.jpg
/media/data/images/22012025/13/50/image_22012025_13_50_30_6289.jpg
/media/data/images/22012025/13/50/image_22012025_13_50_23_5386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330596971","1330596975","1330596960","1330596966","1330596909","1330596816"],"photo_ids_order":["1330596816","1330596909","1330596960","1330596966","1330596971","1330596975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6220df85b6196a4397f48d81654307ce.jpg","text":"TemporaryFile(/tmp/multipartBody5720827942474142747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_30_6289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/258bc44c8b8802a6352a0c77c92ba585.jpg","text":"TemporaryFile(/tmp/multipartBody4556578656590431570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_23_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/22/1e8b20175a2b74b486d8ed99c14e4180.jpg","text":"TemporaryFile(/tmp/multipartBody5508066170814698617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_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/22/a85bcc10df717631cb8b25cde5d6d217.jpg","text":"TemporaryFile(/tmp/multipartBody8699257450833135272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_35_6133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1feaf366317e835d0562fad48db360ca.jpg","text":"TemporaryFile(/tmp/multipartBody5739722148318940587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_47_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/22/15837011e66a615ac7bfa1401eb68402.jpg","text":"TemporaryFile(/tmp/multipartBody2794566731190459244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550305306,"filename":"image_22012025_13_50_52_5286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330596960","file1":"1330596909","file0":"1330596816","file4":"1330596971","file5":"1330596975","file3":"1330596966"},"map_files_photo_id_array":[{"photo_id":"1330596975","filename":"file5"},{"photo_id":"1330596960","filename":"file2"},{"photo_id":"1330596971","filename":"file4"},{"photo_id":"1330596909","filename":"file1"},{"photo_id":"1330596816","filename":"file0"},{"photo_id":"1330596966","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330596971":["hashtag1","hashtag2"]},{"1330596975":["hashtag1","hashtag2"]},{"1330596960":["hashtag1","hashtag2"]},{"1330596966":["hashtag1","hashtag2"]},{"1330596909":["hashtag1","hashtag2"]},{"1330596816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330596971, 1330596975, 1330596960, 1330596966, 1330596909, 1330596816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.99463868141174 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:51:22.623175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/51/image_22012025_13_51_54_6562.jpg', '/media/data/images/22012025/13/51/image_22012025_13_51_47_6176.jpg', '/media/data/images/22012025/13/51/image_22012025_13_51_41_4982.jpg', '/media/data/images/22012025/13/51/image_22012025_13_51_36_6609.jpg', '/media/data/images/22012025/13/51/image_22012025_13_51_30_6308.jpg', '/media/data/images/22012025/13/51/image_22012025_13_51_23_5394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/51/image_22012025_13_51_54_6562.jpg
/media/data/images/22012025/13/51/image_22012025_13_51_47_6176.jpg
/media/data/images/22012025/13/51/image_22012025_13_51_41_4982.jpg
/media/data/images/22012025/13/51/image_22012025_13_51_36_6609.jpg
/media/data/images/22012025/13/51/image_22012025_13_51_30_6308.jpg
/media/data/images/22012025/13/51/image_22012025_13_51_23_5394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330597090","1330597078","1330597082","1330597070","1330597064","1330597073"],"photo_ids_order":["1330597064","1330597070","1330597073","1330597078","1330597082","1330597090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6015770df009640b025a4ff7d11e8a87.jpg","text":"TemporaryFile(/tmp/multipartBody3998213044609110659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_23_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/22/223fbec2c3fb600ae674fc36034e33f1.jpg","text":"TemporaryFile(/tmp/multipartBody2219346380279778192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_36_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/22/63759ac7dda7e93d7a85462bc91ae6af.jpg","text":"TemporaryFile(/tmp/multipartBody5209465494534157128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_30_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/22/c1eac920f8bd0f64a6ae45ee1b42e19d.jpg","text":"TemporaryFile(/tmp/multipartBody1736092656320280183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_47_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/22/e3b5c0249a3a103cf153ab42b73f792c.jpg","text":"TemporaryFile(/tmp/multipartBody3317965985479759101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_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/22/ca17b89a8f6c173d061de3f9862ac676.jpg","text":"TemporaryFile(/tmp/multipartBody7484744750181693898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550366487,"filename":"image_22012025_13_51_41_4982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597073","file1":"1330597070","file0":"1330597064","file4":"1330597082","file5":"1330597090","file3":"1330597078"},"map_files_photo_id_array":[{"photo_id":"1330597090","filename":"file5"},{"photo_id":"1330597073","filename":"file2"},{"photo_id":"1330597082","filename":"file4"},{"photo_id":"1330597070","filename":"file1"},{"photo_id":"1330597064","filename":"file0"},{"photo_id":"1330597078","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330597090":["hashtag1","hashtag2"]},{"1330597078":["hashtag1","hashtag2"]},{"1330597082":["hashtag1","hashtag2"]},{"1330597070":["hashtag1","hashtag2"]},{"1330597064":["hashtag1","hashtag2"]},{"1330597073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330597090, 1330597078, 1330597082, 1330597070, 1330597064, 1330597073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.84152698516846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:52:42.742557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/52/image_22012025_13_52_53_5303.jpg', '/media/data/images/22012025/13/52/image_22012025_13_52_47_6225.jpg', '/media/data/images/22012025/13/52/image_22012025_13_52_42_5981.jpg', '/media/data/images/22012025/13/52/image_22012025_13_52_35_5816.jpg', '/media/data/images/22012025/13/52/image_22012025_13_52_29_6271.jpg', '/media/data/images/22012025/13/52/image_22012025_13_52_23_5478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/52/image_22012025_13_52_53_5303.jpg
/media/data/images/22012025/13/52/image_22012025_13_52_47_6225.jpg
/media/data/images/22012025/13/52/image_22012025_13_52_42_5981.jpg
/media/data/images/22012025/13/52/image_22012025_13_52_35_5816.jpg
/media/data/images/22012025/13/52/image_22012025_13_52_29_6271.jpg
/media/data/images/22012025/13/52/image_22012025_13_52_23_5478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330597112","1330597132","1330597126","1330597120","1330597117","1330597110"],"photo_ids_order":["1330597110","1330597112","1330597117","1330597120","1330597126","1330597132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69e96b8dad613221ed0e509b7035415a.jpg","text":"TemporaryFile(/tmp/multipartBody3359243182422007817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_47_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/22/d85267b65d8ca5ed9d31dabf9392829a.jpg","text":"TemporaryFile(/tmp/multipartBody2284976711415126978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_23_5478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d90d7e606601242d909cefc84df174ab.jpg","text":"TemporaryFile(/tmp/multipartBody2479115210038302195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_29_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/22/65466cd512521cd4d969bb39f3874c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3068346659575329524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_35_5816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/471affa015c15da7634b1c1e8d13b344.jpg","text":"TemporaryFile(/tmp/multipartBody2053825981405950394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_42_5981.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a96b03072851adc003495cb62807db2b.jpg","text":"TemporaryFile(/tmp/multipartBody6895359229212023201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550434341,"filename":"image_22012025_13_52_53_5303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597117","file1":"1330597112","file0":"1330597110","file4":"1330597126","file5":"1330597132","file3":"1330597120"},"map_files_photo_id_array":[{"photo_id":"1330597132","filename":"file5"},{"photo_id":"1330597117","filename":"file2"},{"photo_id":"1330597126","filename":"file4"},{"photo_id":"1330597112","filename":"file1"},{"photo_id":"1330597110","filename":"file0"},{"photo_id":"1330597120","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330597112":["hashtag1","hashtag2"]},{"1330597132":["hashtag1","hashtag2"]},{"1330597126":["hashtag1","hashtag2"]},{"1330597120":["hashtag1","hashtag2"]},{"1330597117":["hashtag1","hashtag2"]},{"1330597110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330597112, 1330597132, 1330597126, 1330597120, 1330597117, 1330597110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.347140073776245 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:53:41.958718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/53/image_22012025_13_53_53_6121.jpg', '/media/data/images/22012025/13/53/image_22012025_13_53_47_5693.jpg', '/media/data/images/22012025/13/53/image_22012025_13_53_41_6475.jpg', '/media/data/images/22012025/13/53/image_22012025_13_53_35_5193.jpg', '/media/data/images/22012025/13/53/image_22012025_13_53_29_6489.jpg', '/media/data/images/22012025/13/53/image_22012025_13_53_23_6513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/53/image_22012025_13_53_53_6121.jpg
/media/data/images/22012025/13/53/image_22012025_13_53_47_5693.jpg
/media/data/images/22012025/13/53/image_22012025_13_53_41_6475.jpg
/media/data/images/22012025/13/53/image_22012025_13_53_35_5193.jpg
/media/data/images/22012025/13/53/image_22012025_13_53_29_6489.jpg
/media/data/images/22012025/13/53/image_22012025_13_53_23_6513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330597197","1330597191","1330597161","1330597158","1330597203","1330597175"],"photo_ids_order":["1330597158","1330597161","1330597175","1330597191","1330597197","1330597203"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd63be881545a429cfba23544a83faa4.jpg","text":"TemporaryFile(/tmp/multipartBody6370371473911237931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_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/22/51aa5ff05ba0d514a53290ab74a5155c.jpg","text":"TemporaryFile(/tmp/multipartBody6051405797460192513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_35_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/22/787d2632304344bdef78f5b3d313af5c.jpg","text":"TemporaryFile(/tmp/multipartBody1753101740333530115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_47_5693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/472dd9a96e9e3f351f46eb441663d1e4.jpg","text":"TemporaryFile(/tmp/multipartBody2731505313951892428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_53_6121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/550f4dc5f41513dd404643f43592f119.jpg","text":"TemporaryFile(/tmp/multipartBody5374895940210524845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_23_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/22/b3888c684d280ff55ca3ed92e9fc2344.jpg","text":"TemporaryFile(/tmp/multipartBody3156628643510651522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550496530,"filename":"image_22012025_13_53_41_6475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597175","file1":"1330597161","file0":"1330597158","file4":"1330597197","file5":"1330597203","file3":"1330597191"},"map_files_photo_id_array":[{"photo_id":"1330597203","filename":"file5"},{"photo_id":"1330597175","filename":"file2"},{"photo_id":"1330597197","filename":"file4"},{"photo_id":"1330597161","filename":"file1"},{"photo_id":"1330597158","filename":"file0"},{"photo_id":"1330597191","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330597197":["hashtag1","hashtag2"]},{"1330597191":["hashtag1","hashtag2"]},{"1330597161":["hashtag1","hashtag2"]},{"1330597158":["hashtag1","hashtag2"]},{"1330597203":["hashtag1","hashtag2"]},{"1330597175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330597197, 1330597191, 1330597161, 1330597158, 1330597203, 1330597175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.58975601196289 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:54:42.304993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/54/image_22012025_13_54_54_6479.jpg', '/media/data/images/22012025/13/54/image_22012025_13_54_47_6351.jpg', '/media/data/images/22012025/13/54/image_22012025_13_54_40_5288.jpg', '/media/data/images/22012025/13/54/image_22012025_13_54_35_6493.jpg', '/media/data/images/22012025/13/54/image_22012025_13_54_29_5245.jpg', '/media/data/images/22012025/13/54/image_22012025_13_54_23_6569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/54/image_22012025_13_54_54_6479.jpg
/media/data/images/22012025/13/54/image_22012025_13_54_47_6351.jpg
/media/data/images/22012025/13/54/image_22012025_13_54_40_5288.jpg
/media/data/images/22012025/13/54/image_22012025_13_54_35_6493.jpg
/media/data/images/22012025/13/54/image_22012025_13_54_29_5245.jpg
/media/data/images/22012025/13/54/image_22012025_13_54_23_6569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330597249","1330597225","1330597234","1330597239","1330597230","1330597244"],"photo_ids_order":["1330597225","1330597230","1330597234","1330597239","1330597244","1330597249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0cb88b67edc6ad0e7f3cc89f8778cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7334692337492557919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_23_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/22/05805e7c5b8c2ea6431acd729aaf4eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4168693666372233072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_54_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/22/97889cac2a313db452dbab11e61097fe.jpg","text":"TemporaryFile(/tmp/multipartBody5658061081653478103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_40_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/22/9f44366fa63283574c1d848df915bf6e.jpg","text":"TemporaryFile(/tmp/multipartBody6847882506334456964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_35_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/22/6572b062af742db1cbbb7080db725332.jpg","text":"TemporaryFile(/tmp/multipartBody7386681815129318912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_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/22/8b0cc9ac96f396cf71284522775299b0.jpg","text":"TemporaryFile(/tmp/multipartBody1609319598618732027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550559968,"filename":"image_22012025_13_54_29_5245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597234","file1":"1330597230","file0":"1330597225","file4":"1330597244","file5":"1330597249","file3":"1330597239"},"map_files_photo_id_array":[{"photo_id":"1330597249","filename":"file5"},{"photo_id":"1330597234","filename":"file2"},{"photo_id":"1330597244","filename":"file4"},{"photo_id":"1330597230","filename":"file1"},{"photo_id":"1330597225","filename":"file0"},{"photo_id":"1330597239","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330597249":["hashtag1","hashtag2"]},{"1330597225":["hashtag1","hashtag2"]},{"1330597234":["hashtag1","hashtag2"]},{"1330597239":["hashtag1","hashtag2"]},{"1330597230":["hashtag1","hashtag2"]},{"1330597244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330597249, 1330597225, 1330597234, 1330597239, 1330597230, 1330597244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.47907567024231 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:55:42.160349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/55/image_22012025_13_55_54_6922.jpg', '/media/data/images/22012025/13/55/image_22012025_13_55_47_5499.jpg', '/media/data/images/22012025/13/55/image_22012025_13_55_41_6508.jpg', '/media/data/images/22012025/13/55/image_22012025_13_55_35_5322.jpg', '/media/data/images/22012025/13/55/image_22012025_13_55_29_6492.jpg', '/media/data/images/22012025/13/55/image_22012025_13_55_23_5289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/55/image_22012025_13_55_54_6922.jpg
/media/data/images/22012025/13/55/image_22012025_13_55_47_5499.jpg
/media/data/images/22012025/13/55/image_22012025_13_55_41_6508.jpg
/media/data/images/22012025/13/55/image_22012025_13_55_35_5322.jpg
/media/data/images/22012025/13/55/image_22012025_13_55_29_6492.jpg
/media/data/images/22012025/13/55/image_22012025_13_55_23_5289.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330597805","1330597861","1330597447","1330597866","1330597689","1330597586"],"photo_ids_order":["1330597447","1330597586","1330597689","1330597805","1330597861","1330597866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d96813d2168c49636835cd88f6696a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2198164439095510853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_35_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/22/e5cc2c668a03403d36f5dee94310b501.jpg","text":"TemporaryFile(/tmp/multipartBody6109924872233640659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_29_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/22/4ac5694a11827a0fc9b966d54e616d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2842676851519206733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_54_6922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/86f491cb2892b076bc42c53ccd42552d.jpg","text":"TemporaryFile(/tmp/multipartBody711476356100372239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_23_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/22/f49e94fe401933d0c56a1c667114ac18.jpg","text":"TemporaryFile(/tmp/multipartBody7807175293042447874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_41_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/22/c67d6240f57557ff4ba671838460afd4.jpg","text":"TemporaryFile(/tmp/multipartBody3453175069827974531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550615679,"filename":"image_22012025_13_55_47_5499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597689","file1":"1330597586","file0":"1330597447","file4":"1330597861","file5":"1330597866","file3":"1330597805"},"map_files_photo_id_array":[{"photo_id":"1330597866","filename":"file5"},{"photo_id":"1330597689","filename":"file2"},{"photo_id":"1330597861","filename":"file4"},{"photo_id":"1330597586","filename":"file1"},{"photo_id":"1330597447","filename":"file0"},{"photo_id":"1330597805","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330597805":["hashtag1","hashtag2"]},{"1330597861":["hashtag1","hashtag2"]},{"1330597447":["hashtag1","hashtag2"]},{"1330597866":["hashtag1","hashtag2"]},{"1330597689":["hashtag1","hashtag2"]},{"1330597586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330597805, 1330597861, 1330597447, 1330597866, 1330597689, 1330597586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.466384410858154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 13:56:42.405984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/56/image_22012025_13_56_53_6340.jpg', '/media/data/images/22012025/13/56/image_22012025_13_56_47_6186.jpg', '/media/data/images/22012025/13/56/image_22012025_13_56_40_5276.jpg', '/media/data/images/22012025/13/56/image_22012025_13_56_35_6481.jpg', '/media/data/images/22012025/13/56/image_22012025_13_56_29_5245.jpg', '/media/data/images/22012025/13/56/image_22012025_13_56_23_6464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/56/image_22012025_13_56_53_6340.jpg
/media/data/images/22012025/13/56/image_22012025_13_56_47_6186.jpg
/media/data/images/22012025/13/56/image_22012025_13_56_40_5276.jpg
/media/data/images/22012025/13/56/image_22012025_13_56_35_6481.jpg
/media/data/images/22012025/13/56/image_22012025_13_56_29_5245.jpg
/media/data/images/22012025/13/56/image_22012025_13_56_23_6464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598035","1330597987","1330598042","1330598024","1330597982","1330597973"],"photo_ids_order":["1330597973","1330597982","1330597987","1330598024","1330598035","1330598042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c666481d6126e25c59591779dda71a8.jpg","text":"TemporaryFile(/tmp/multipartBody3179193047683514655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_29_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/22/18b80ee6d6efe963bd8dfd69ade8a8da.jpg","text":"TemporaryFile(/tmp/multipartBody6537626755259201532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_40_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/22/95a7afaad1f7e3cd19718eb2ee623d44.jpg","text":"TemporaryFile(/tmp/multipartBody7654541179853004076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_23_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/22/fa9aa2685737484edb2d03decaf917a8.jpg","text":"TemporaryFile(/tmp/multipartBody2724882751237463270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_35_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/22/cbb6474a3f2e3186dd12a22438954f66.jpg","text":"TemporaryFile(/tmp/multipartBody5165832277317927165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_47_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/22/96a12851d294c2c94baea73a9a916268.jpg","text":"TemporaryFile(/tmp/multipartBody1840443646552491517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550691960,"filename":"image_22012025_13_56_53_6340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330597987","file1":"1330597982","file0":"1330597973","file4":"1330598035","file5":"1330598042","file3":"1330598024"},"map_files_photo_id_array":[{"photo_id":"1330598042","filename":"file5"},{"photo_id":"1330597987","filename":"file2"},{"photo_id":"1330598035","filename":"file4"},{"photo_id":"1330597982","filename":"file1"},{"photo_id":"1330597973","filename":"file0"},{"photo_id":"1330598024","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598035":["hashtag1","hashtag2"]},{"1330597987":["hashtag1","hashtag2"]},{"1330598042":["hashtag1","hashtag2"]},{"1330598024":["hashtag1","hashtag2"]},{"1330597982":["hashtag1","hashtag2"]},{"1330597973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598035, 1330597987, 1330598042, 1330598024, 1330597982, 1330597973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.23655343055725 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 13:59:04.866964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/58/image_22012025_13_58_52_5322.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_47_6564.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_41_5295.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_35_6540.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_29_5261.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_23_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/58/image_22012025_13_58_52_5322.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_47_6564.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_41_5295.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_35_6540.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_29_5261.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_23_6526.jpg
2025-01-22 13:59:04.934374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/13/58/image_22012025_13_58_52_5322.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_47_6564.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_41_5295.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_35_6540.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_29_5261.jpg', '/media/data/images/22012025/13/58/image_22012025_13_58_23_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/13/58/image_22012025_13_58_52_5322.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_47_6564.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_41_5295.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_35_6540.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_29_5261.jpg
/media/data/images/22012025/13/58/image_22012025_13_58_23_6526.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":["1330598272","1330598227","1330598203","1330598199","1330598268","1330598195"],"photo_ids_order":["1330598195","1330598199","1330598203","1330598227","1330598268","1330598272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c6dec5364b3414e1826770f920058df.jpg","text":"TemporaryFile(/tmp/multipartBody9149602209170443937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_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/22/a47d4483e1b24d9fd6fb8b138aef85b4.jpg","text":"TemporaryFile(/tmp/multipartBody5529136622802404070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_35_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/22/766cb088324030c7b9c806cb013bb16f.jpg","text":"TemporaryFile(/tmp/multipartBody873181016274606902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_41_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/22/bbdb8a706ec7852807a672e4b4550067.jpg","text":"TemporaryFile(/tmp/multipartBody5862903872279116108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_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/22/58835bcb5316d3fea34dc071d5abf9b3.jpg","text":"TemporaryFile(/tmp/multipartBody105473876404379821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_29_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04b15379261e7a5c133a243485401d88.jpg","text":"TemporaryFile(/tmp/multipartBody3032790039903561755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835226,"filename":"image_22012025_13_58_52_5322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598203","file1":"1330598199","file0":"1330598195","file4":"1330598268","file5":"1330598272","file3":"1330598227"},"map_files_photo_id_array":[{"photo_id":"1330598272","filename":"file5"},{"photo_id":"1330598203","filename":"file2"},{"photo_id":"1330598268","filename":"file4"},{"photo_id":"1330598199","filename":"file1"},{"photo_id":"1330598195","filename":"file0"},{"photo_id":"1330598227","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598272":["hashtag1","hashtag2"]},{"1330598227":["hashtag1","hashtag2"]},{"1330598203":["hashtag1","hashtag2"]},{"1330598199":["hashtag1","hashtag2"]},{"1330598268":["hashtag1","hashtag2"]},{"1330598195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598272, 1330598227, 1330598203, 1330598199, 1330598268, 1330598195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.1639666557312 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598200","1330598239","1330598274","1330598196","1330598270","1330598204"],"photo_ids_order":["1330598196","1330598200","1330598204","1330598239","1330598270","1330598274"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68bda05a66f9601b5f856947dc3e148c.jpg","text":"TemporaryFile(/tmp/multipartBody412954943635932859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_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/22/4e1a2121b80d67c25ef1e0985e1ed467.jpg","text":"TemporaryFile(/tmp/multipartBody6234673997441185492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_35_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/22/dc5a4b0037dc8c166f6e21135c9e5b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4789510328034984222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_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/22/519d8e65be305fa53a1fc7f4a6629503.jpg","text":"TemporaryFile(/tmp/multipartBody2142651247624661534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_52_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/22/818b19fe78e0f7917023391ab29a65a3.jpg","text":"TemporaryFile(/tmp/multipartBody1077097970050537897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_29_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a3ffb79cf047bd06c806bdb89ec3e3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8051133511841795637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550835657,"filename":"image_22012025_13_58_41_5295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598204","file1":"1330598200","file0":"1330598196","file4":"1330598270","file5":"1330598274","file3":"1330598239"},"map_files_photo_id_array":[{"photo_id":"1330598274","filename":"file5"},{"photo_id":"1330598204","filename":"file2"},{"photo_id":"1330598270","filename":"file4"},{"photo_id":"1330598200","filename":"file1"},{"photo_id":"1330598196","filename":"file0"},{"photo_id":"1330598239","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598200":["hashtag1","hashtag2"]},{"1330598239":["hashtag1","hashtag2"]},{"1330598274":["hashtag1","hashtag2"]},{"1330598196":["hashtag1","hashtag2"]},{"1330598270":["hashtag1","hashtag2"]},{"1330598204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598200, 1330598239, 1330598274, 1330598196, 1330598270, 1330598204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.732577085494995 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:00:22.195632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/00/image_22012025_14_00_30_7061.jpg', '/media/data/images/22012025/14/00/image_22012025_14_00_12_5029.jpg', '/media/data/images/22012025/13/59/image_22012025_13_59_53_6641.jpg', '/media/data/images/22012025/13/59/image_22012025_13_59_35_5468.jpg', '/media/data/images/22012025/13/59/image_22012025_13_59_29_6560.jpg', '/media/data/images/22012025/13/59/image_22012025_13_59_23_5270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/00/image_22012025_14_00_30_7061.jpg
/media/data/images/22012025/14/00/image_22012025_14_00_12_5029.jpg
/media/data/images/22012025/13/59/image_22012025_13_59_53_6641.jpg
/media/data/images/22012025/13/59/image_22012025_13_59_35_5468.jpg
/media/data/images/22012025/13/59/image_22012025_13_59_29_6560.jpg
/media/data/images/22012025/13/59/image_22012025_13_59_23_5270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598368","1330598356","1330598341","1330598360","1330598348","1330598363"],"photo_ids_order":["1330598341","1330598348","1330598356","1330598360","1330598363","1330598368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8d2a47c4a415d80ca08dbd8ccf8192e.jpg","text":"TemporaryFile(/tmp/multipartBody2136158611885724093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_13_59_23_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/22/164b40f73ac449353cef27c8de1ad7e3.jpg","text":"TemporaryFile(/tmp/multipartBody8512969210275210891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_13_59_53_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/22/094c1c26d5c2611152170a71669c2cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7801502350160311425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_14_00_30_7061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/897e912934b9988de09470b08c05995c.jpg","text":"TemporaryFile(/tmp/multipartBody1699225522086837793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_13_59_35_5468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/866cedf53e8fcbacc6de4a773b4f7800.jpg","text":"TemporaryFile(/tmp/multipartBody5885238127616673332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_14_00_12_5029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8db4bf8f8c20e87f39cf1e190c5804ef.jpg","text":"TemporaryFile(/tmp/multipartBody1536456703066880773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550903775,"filename":"image_22012025_13_59_29_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598356","file1":"1330598348","file0":"1330598341","file4":"1330598363","file5":"1330598368","file3":"1330598360"},"map_files_photo_id_array":[{"photo_id":"1330598368","filename":"file5"},{"photo_id":"1330598356","filename":"file2"},{"photo_id":"1330598363","filename":"file4"},{"photo_id":"1330598348","filename":"file1"},{"photo_id":"1330598341","filename":"file0"},{"photo_id":"1330598360","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598368":["hashtag1","hashtag2"]},{"1330598356":["hashtag1","hashtag2"]},{"1330598341":["hashtag1","hashtag2"]},{"1330598360":["hashtag1","hashtag2"]},{"1330598348":["hashtag1","hashtag2"]},{"1330598363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598368, 1330598356, 1330598341, 1330598360, 1330598348, 1330598363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99321246147156 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:01:22.446196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/01/image_22012025_14_01_53_5379.jpg', '/media/data/images/22012025/14/01/image_22012025_14_01_47_5456.jpg', '/media/data/images/22012025/14/01/image_22012025_14_01_42_6962.jpg', '/media/data/images/22012025/14/01/image_22012025_14_01_35_6342.jpg', '/media/data/images/22012025/14/01/image_22012025_14_01_29_4625.jpg', '/media/data/images/22012025/14/01/image_22012025_14_01_24_6901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/01/image_22012025_14_01_53_5379.jpg
/media/data/images/22012025/14/01/image_22012025_14_01_47_5456.jpg
/media/data/images/22012025/14/01/image_22012025_14_01_42_6962.jpg
/media/data/images/22012025/14/01/image_22012025_14_01_35_6342.jpg
/media/data/images/22012025/14/01/image_22012025_14_01_29_4625.jpg
/media/data/images/22012025/14/01/image_22012025_14_01_24_6901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598431","1330598440","1330598422","1330598418","1330598427","1330598435"],"photo_ids_order":["1330598418","1330598422","1330598427","1330598431","1330598435","1330598440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e84cd32932bd1815743d8b7ca006b50.jpg","text":"TemporaryFile(/tmp/multipartBody8698265957731895597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_35_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/22/e8592012e4edb888cbdb85503f3f1556.jpg","text":"TemporaryFile(/tmp/multipartBody7651724977871758736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_24_6901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18d3ec5810cef8c65078ca13b3864fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1134480664678275797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_47_5456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5902f748b4da05ead63b89bfb82dc691.jpg","text":"TemporaryFile(/tmp/multipartBody855690497441612790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_53_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/22/1e8d522d4809768363a8cf6bdc6bee93.jpg","text":"TemporaryFile(/tmp/multipartBody3994392365430553016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_42_6962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/279fb3c7bf8706cefd75ac30534796ed.jpg","text":"TemporaryFile(/tmp/multipartBody3732887115789300275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737550960330,"filename":"image_22012025_14_01_29_4625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598427","file1":"1330598422","file0":"1330598418","file4":"1330598435","file5":"1330598440","file3":"1330598431"},"map_files_photo_id_array":[{"photo_id":"1330598440","filename":"file5"},{"photo_id":"1330598427","filename":"file2"},{"photo_id":"1330598435","filename":"file4"},{"photo_id":"1330598422","filename":"file1"},{"photo_id":"1330598418","filename":"file0"},{"photo_id":"1330598431","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598431":["hashtag1","hashtag2"]},{"1330598440":["hashtag1","hashtag2"]},{"1330598422":["hashtag1","hashtag2"]},{"1330598418":["hashtag1","hashtag2"]},{"1330598427":["hashtag1","hashtag2"]},{"1330598435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598431, 1330598440, 1330598422, 1330598418, 1330598427, 1330598435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.84636735916138 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:02:22.736638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/02/image_22012025_14_02_53_6580.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_47_5369.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_41_6124.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_36_6205.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_29_6429.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_22_5259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/02/image_22012025_14_02_53_6580.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_47_5369.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_41_6124.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_36_6205.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_29_6429.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_22_5259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598491","1330598470","1330598481","1330598465","1330598489","1330598474"],"photo_ids_order":["1330598465","1330598470","1330598474","1330598481","1330598489","1330598491"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14943f1f53d03908dd3c26f9ce2181e2.jpg","text":"TemporaryFile(/tmp/multipartBody3427383255598718482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_22_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/22/4d0c7b765f5f8ffea58f2a07f0591ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5825108031429695767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_47_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/22/893bf393884c0d0e7b5eea7e1373a2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4170370548073267735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_36_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/22/ac02ec5b0df87d87740dbd8bf73166de.jpg","text":"TemporaryFile(/tmp/multipartBody2735699939563608599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_53_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/22/0c2b8d1f252ce6b70002d026ebd9497d.jpg","text":"TemporaryFile(/tmp/multipartBody5107508157260041705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_29_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/22/45e55e3873fb93bdce7d8d77b662871a.jpg","text":"TemporaryFile(/tmp/multipartBody8696041461432765458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551015118,"filename":"image_22012025_14_02_41_6124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598474","file1":"1330598470","file0":"1330598465","file4":"1330598489","file5":"1330598491","file3":"1330598481"},"map_files_photo_id_array":[{"photo_id":"1330598491","filename":"file5"},{"photo_id":"1330598474","filename":"file2"},{"photo_id":"1330598489","filename":"file4"},{"photo_id":"1330598470","filename":"file1"},{"photo_id":"1330598465","filename":"file0"},{"photo_id":"1330598481","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598491":["hashtag1","hashtag2"]},{"1330598470":["hashtag1","hashtag2"]},{"1330598481":["hashtag1","hashtag2"]},{"1330598465":["hashtag1","hashtag2"]},{"1330598489":["hashtag1","hashtag2"]},{"1330598474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598491, 1330598470, 1330598481, 1330598465, 1330598489, 1330598474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.582133531570435 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:03:22.794097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/03/image_22012025_14_03_52_5313.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_47_6487.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_41_5283.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_35_6478.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_29_5785.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_23_6440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/03/image_22012025_14_03_52_5313.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_47_6487.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_41_5283.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_35_6478.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_29_5785.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_23_6440.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330598548","1330598533","1330598521","1330598526","1330598552","1330598543"],"photo_ids_order":["1330598521","1330598526","1330598533","1330598543","1330598548","1330598552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab7e38a5147b2d99812972f04b10570a.jpg","text":"TemporaryFile(/tmp/multipartBody16482501969744417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_29_5785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e30bba2130d01ac15142d7eefe0e5a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5384405988670481900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_41_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/22/45c4d7b7c6988e1d5a8b704fb9b4f755.jpg","text":"TemporaryFile(/tmp/multipartBody3865473064065818563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_52_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/22/86e839cd6ae00e0f761cd46144012e4c.jpg","text":"TemporaryFile(/tmp/multipartBody2248876582830030130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_47_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/22/ed2ec2d42f22f0c591e628347d1f6976.jpg","text":"TemporaryFile(/tmp/multipartBody1948985879102046223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_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/22/e334ae4ea9d5867fecc5970ed0afde45.jpg","text":"TemporaryFile(/tmp/multipartBody8191334484585800073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551067228,"filename":"image_22012025_14_03_35_6478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330598533","file1":"1330598526","file0":"1330598521","file4":"1330598548","file5":"1330598552","file3":"1330598543"},"map_files_photo_id_array":[{"photo_id":"1330598552","filename":"file5"},{"photo_id":"1330598533","filename":"file2"},{"photo_id":"1330598548","filename":"file4"},{"photo_id":"1330598526","filename":"file1"},{"photo_id":"1330598521","filename":"file0"},{"photo_id":"1330598543","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330598548":["hashtag1","hashtag2"]},{"1330598533":["hashtag1","hashtag2"]},{"1330598521":["hashtag1","hashtag2"]},{"1330598526":["hashtag1","hashtag2"]},{"1330598552":["hashtag1","hashtag2"]},{"1330598543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330598548, 1330598533, 1330598521, 1330598526, 1330598552, 1330598543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470974922180176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 14:04:04.226021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/03/image_22012025_14_03_16_5389.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_11_6013.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_05_6806.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_58_5360.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_17_5676.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_12_6458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/03/image_22012025_14_03_16_5389.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_11_6013.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_05_6806.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_58_5360.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_17_5676.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_12_6458.jpg
2025-01-22 14:04:04.278666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/03/image_22012025_14_03_16_5389.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_11_6013.jpg', '/media/data/images/22012025/14/03/image_22012025_14_03_05_6806.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_58_5360.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_17_5676.jpg', '/media/data/images/22012025/14/02/image_22012025_14_02_12_6458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/03/image_22012025_14_03_16_5389.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_11_6013.jpg
/media/data/images/22012025/14/03/image_22012025_14_03_05_6806.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_58_5360.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_17_5676.jpg
/media/data/images/22012025/14/02/image_22012025_14_02_12_6458.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":["1330599183","1330599162","1330599129","1330599170","1330599188","1330599122"],"photo_ids_order":["1330599122","1330599129","1330599162","1330599170","1330599183","1330599188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2938f1ebcd450dd7f78ca60abdc6e9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6689229828054568155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_02_17_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/13b9fca45934d92e3a4af823ec8db538.jpg","text":"TemporaryFile(/tmp/multipartBody5301306953133590070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_03_05_6806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/91e3196c5ab0e6a173c3fe1b9aec5b11.jpg","text":"TemporaryFile(/tmp/multipartBody5473411062528663620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_03_11_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/22/540231287d7ea29cb0eca77f2ff5f676.jpg","text":"TemporaryFile(/tmp/multipartBody4519346868964352987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_02_58_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/22/66cd9f25b731835a578e76a1d06434ff.jpg","text":"TemporaryFile(/tmp/multipartBody5766521566577722219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_02_12_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/22/ea03faabce068c0614c813562fec9f41.jpg","text":"TemporaryFile(/tmp/multipartBody5317260303276882076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551133005,"filename":"image_22012025_14_03_16_5389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599162","file1":"1330599129","file0":"1330599122","file4":"1330599183","file5":"1330599188","file3":"1330599170"},"map_files_photo_id_array":[{"photo_id":"1330599188","filename":"file5"},{"photo_id":"1330599162","filename":"file2"},{"photo_id":"1330599183","filename":"file4"},{"photo_id":"1330599129","filename":"file1"},{"photo_id":"1330599122","filename":"file0"},{"photo_id":"1330599170","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599183":["hashtag1","hashtag2"]},{"1330599162":["hashtag1","hashtag2"]},{"1330599129":["hashtag1","hashtag2"]},{"1330599170":["hashtag1","hashtag2"]},{"1330599188":["hashtag1","hashtag2"]},{"1330599122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599183, 1330599162, 1330599129, 1330599170, 1330599188, 1330599122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.95379829406738 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330599232","1330599160","1330599189","1330599126","1330599185","1330599169"],"photo_ids_order":["1330599126","1330599160","1330599169","1330599185","1330599189","1330599232"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9af297b13a5e72e6296c9c8ba57091b.jpg","text":"TemporaryFile(/tmp/multipartBody967563059340393872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_02_12_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/22/d0b55d7f026e721efac9ddfaf4b7426d.jpg","text":"TemporaryFile(/tmp/multipartBody4850020827893004903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_03_11_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/22/a1cf8b6c3459a16c999233656f441e82.jpg","text":"TemporaryFile(/tmp/multipartBody3433366343996921898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_02_17_5676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b049dc9c25a217f8e8649fbad967f831.jpg","text":"TemporaryFile(/tmp/multipartBody1235863776610866629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_03_16_5389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/783780b38a7d1dd3bfd26eefa5016014.jpg","text":"TemporaryFile(/tmp/multipartBody1742471833963862552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_02_58_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/22/004b9dfc72ff7cc9fd3a4adbb0a540bd.jpg","text":"TemporaryFile(/tmp/multipartBody3212986616779119738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551136473,"filename":"image_22012025_14_03_05_6806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599169","file1":"1330599160","file0":"1330599126","file4":"1330599189","file5":"1330599232","file3":"1330599185"},"map_files_photo_id_array":[{"photo_id":"1330599232","filename":"file5"},{"photo_id":"1330599169","filename":"file2"},{"photo_id":"1330599189","filename":"file4"},{"photo_id":"1330599160","filename":"file1"},{"photo_id":"1330599126","filename":"file0"},{"photo_id":"1330599185","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599232":["hashtag1","hashtag2"]},{"1330599160":["hashtag1","hashtag2"]},{"1330599189":["hashtag1","hashtag2"]},{"1330599126":["hashtag1","hashtag2"]},{"1330599185":["hashtag1","hashtag2"]},{"1330599169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599232, 1330599160, 1330599189, 1330599126, 1330599185, 1330599169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.03758811950684 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:05:22.267770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/05/image_22012025_14_05_53_5244.jpg', '/media/data/images/22012025/14/05/image_22012025_14_05_47_6509.jpg', '/media/data/images/22012025/14/05/image_22012025_14_05_41_6322.jpg', '/media/data/images/22012025/14/05/image_22012025_14_05_35_4742.jpg', '/media/data/images/22012025/14/05/image_22012025_14_05_30_6914.jpg', '/media/data/images/22012025/14/05/image_22012025_14_05_24_6592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/05/image_22012025_14_05_53_5244.jpg
/media/data/images/22012025/14/05/image_22012025_14_05_47_6509.jpg
/media/data/images/22012025/14/05/image_22012025_14_05_41_6322.jpg
/media/data/images/22012025/14/05/image_22012025_14_05_35_4742.jpg
/media/data/images/22012025/14/05/image_22012025_14_05_30_6914.jpg
/media/data/images/22012025/14/05/image_22012025_14_05_24_6592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330599559","1330599587","1330599584","1330599563","1330599568","1330599556"],"photo_ids_order":["1330599556","1330599559","1330599563","1330599568","1330599584","1330599587"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2411ccfbaab31ff0667d6c2e8a1ddae3.jpg","text":"TemporaryFile(/tmp/multipartBody2436845497046224066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_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/22/bbfd04b1068e571e97918b4e1bcde983.jpg","text":"TemporaryFile(/tmp/multipartBody8561485874383225615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_24_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/22/eed421bb6bb9066fd143cf108dcb8c00.jpg","text":"TemporaryFile(/tmp/multipartBody114346826834138565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_30_6914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb49b6a33837bab9f075985a54b3d6d8.jpg","text":"TemporaryFile(/tmp/multipartBody7436224346796968691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_41_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/22/a36988165422b102592d6e8efd2e7af5.jpg","text":"TemporaryFile(/tmp/multipartBody6592932700486684901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_35_4742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8d0ff2f942f327a424c59589684d22e3.jpg","text":"TemporaryFile(/tmp/multipartBody6774377029591291449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551196352,"filename":"image_22012025_14_05_53_5244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599563","file1":"1330599559","file0":"1330599556","file4":"1330599584","file5":"1330599587","file3":"1330599568"},"map_files_photo_id_array":[{"photo_id":"1330599587","filename":"file5"},{"photo_id":"1330599563","filename":"file2"},{"photo_id":"1330599584","filename":"file4"},{"photo_id":"1330599559","filename":"file1"},{"photo_id":"1330599556","filename":"file0"},{"photo_id":"1330599568","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599559":["hashtag1","hashtag2"]},{"1330599587":["hashtag1","hashtag2"]},{"1330599584":["hashtag1","hashtag2"]},{"1330599563":["hashtag1","hashtag2"]},{"1330599568":["hashtag1","hashtag2"]},{"1330599556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599559, 1330599587, 1330599584, 1330599563, 1330599568, 1330599556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.29950976371765 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:06:22.456571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/06/image_22012025_14_06_41_6094.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_35_5873.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_29_6394.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_23_5398.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_17_6117.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_11_6034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/06/image_22012025_14_06_41_6094.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_35_5873.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_29_6394.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_23_5398.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_17_6117.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_11_6034.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.01359486579895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:06:42.343200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/06/image_22012025_14_06_41_6094.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_35_5873.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_29_6394.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_23_5398.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_17_6117.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_11_6034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/06/image_22012025_14_06_41_6094.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_35_5873.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_29_6394.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_23_5398.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_17_6117.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_11_6034.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330599657","1330599672","1330599666","1330599651","1330599645","1330599662"],"photo_ids_order":["1330599645","1330599651","1330599657","1330599662","1330599666","1330599672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b7de14ebe1be1c8cbf491eb62dfcf13.jpg","text":"TemporaryFile(/tmp/multipartBody4757807086068312203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_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/22/192f6e881aef765e211edfaff8193b16.jpg","text":"TemporaryFile(/tmp/multipartBody381096640237401144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_11_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/064d4ab844244a0d1b43b6ffb1f28722.jpg","text":"TemporaryFile(/tmp/multipartBody3652780994448098997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_17_6117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2d913b2b5aae972e01e42e3beb699dcf.jpg","text":"TemporaryFile(/tmp/multipartBody451020393690420515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_35_5873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9eef660f3a8f1ff042d1177515155f02.jpg","text":"TemporaryFile(/tmp/multipartBody8257350229778448957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_41_6094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ebd8d27e9f731b43de4f090ed2d48195.jpg","text":"TemporaryFile(/tmp/multipartBody4640131453372749811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551284223,"filename":"image_22012025_14_06_23_5398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599657","file1":"1330599651","file0":"1330599645","file4":"1330599666","file5":"1330599672","file3":"1330599662"},"map_files_photo_id_array":[{"photo_id":"1330599672","filename":"file5"},{"photo_id":"1330599657","filename":"file2"},{"photo_id":"1330599666","filename":"file4"},{"photo_id":"1330599651","filename":"file1"},{"photo_id":"1330599645","filename":"file0"},{"photo_id":"1330599662","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599657":["hashtag1","hashtag2"]},{"1330599672":["hashtag1","hashtag2"]},{"1330599666":["hashtag1","hashtag2"]},{"1330599651":["hashtag1","hashtag2"]},{"1330599645":["hashtag1","hashtag2"]},{"1330599662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599657, 1330599672, 1330599666, 1330599651, 1330599645, 1330599662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54853057861328 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:07:42.581173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/07/image_22012025_14_07_48_6915.jpg', '/media/data/images/22012025/14/07/image_22012025_14_07_41_5753.jpg', '/media/data/images/22012025/14/07/image_22012025_14_07_23_5534.jpg', '/media/data/images/22012025/14/07/image_22012025_14_07_18_6519.jpg', '/media/data/images/22012025/14/07/image_22012025_14_07_11_5922.jpg', '/media/data/images/22012025/14/06/image_22012025_14_06_53_6626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/07/image_22012025_14_07_48_6915.jpg
/media/data/images/22012025/14/07/image_22012025_14_07_41_5753.jpg
/media/data/images/22012025/14/07/image_22012025_14_07_23_5534.jpg
/media/data/images/22012025/14/07/image_22012025_14_07_18_6519.jpg
/media/data/images/22012025/14/07/image_22012025_14_07_11_5922.jpg
/media/data/images/22012025/14/06/image_22012025_14_06_53_6626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330599814","1330599823","1330599774","1330599828","1330599833","1330599839"],"photo_ids_order":["1330599774","1330599814","1330599823","1330599828","1330599833","1330599839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7ed2de7dd10c71b84b4204d03a91a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1935325257593842053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_07_41_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3fc02559ceee4027a8e682ba5f588a4.jpg","text":"TemporaryFile(/tmp/multipartBody550885396903777062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_07_23_5534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef308a253aac0cb487baf8c5460a3238.jpg","text":"TemporaryFile(/tmp/multipartBody941345707495779664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_07_48_6915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/45d328549e68944302b590fa5dea2aea.jpg","text":"TemporaryFile(/tmp/multipartBody6135700440492714475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_07_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/22/32c7633d9becdfbd06b436b19d821b17.jpg","text":"TemporaryFile(/tmp/multipartBody5943408361897320190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_07_11_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d409124e89599aa959d79039001cab83.jpg","text":"TemporaryFile(/tmp/multipartBody6051470314798709961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551341995,"filename":"image_22012025_14_06_53_6626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599823","file1":"1330599814","file0":"1330599774","file4":"1330599833","file5":"1330599839","file3":"1330599828"},"map_files_photo_id_array":[{"photo_id":"1330599839","filename":"file5"},{"photo_id":"1330599823","filename":"file2"},{"photo_id":"1330599833","filename":"file4"},{"photo_id":"1330599814","filename":"file1"},{"photo_id":"1330599774","filename":"file0"},{"photo_id":"1330599828","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599814":["hashtag1","hashtag2"]},{"1330599823":["hashtag1","hashtag2"]},{"1330599774":["hashtag1","hashtag2"]},{"1330599828":["hashtag1","hashtag2"]},{"1330599833":["hashtag1","hashtag2"]},{"1330599839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599814, 1330599823, 1330599774, 1330599828, 1330599833, 1330599839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.11184906959534 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:08:42.903000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.393734693527222 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 14:09:04.546854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.jpg
2025-01-22 14:09:04.694157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg', '/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/08/image_22012025_14_08_54_6441.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_48_6533.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_41_6502.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_34_5286.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_29_6492.jpg
/media/data/images/22012025/14/08/image_22012025_14_08_23_5331.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":["1330599930","1330599924","1330599933","1330599927","1330599941","1330599937"],"photo_ids_order":["1330599924","1330599927","1330599930","1330599933","1330599937","1330599941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/caf6534836f70fc1c623244e61632c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3326245014283901283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_41_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/22/b12f6712c6c31390f4c84f6fdd706898.jpg","text":"TemporaryFile(/tmp/multipartBody2297081346869046620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_54_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/22/f5d5207bed554ed0d6eab383f512455f.jpg","text":"TemporaryFile(/tmp/multipartBody3452519086260687913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_34_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/22/a4a5d65446d6d47e747895a696a132d6.jpg","text":"TemporaryFile(/tmp/multipartBody3583029206091509617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_48_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/22/fd460d2bda9ee8d88f637fd850e118f7.jpg","text":"TemporaryFile(/tmp/multipartBody2879401811024454010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_23_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/22/ed8306a3259ea3e2f65680624aea7a2d.jpg","text":"TemporaryFile(/tmp/multipartBody639075170097885200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551427747,"filename":"image_22012025_14_08_29_6492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599930","file1":"1330599927","file0":"1330599924","file4":"1330599937","file5":"1330599941","file3":"1330599933"},"map_files_photo_id_array":[{"photo_id":"1330599941","filename":"file5"},{"photo_id":"1330599930","filename":"file2"},{"photo_id":"1330599937","filename":"file4"},{"photo_id":"1330599927","filename":"file1"},{"photo_id":"1330599924","filename":"file0"},{"photo_id":"1330599933","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599930":["hashtag1","hashtag2"]},{"1330599924":["hashtag1","hashtag2"]},{"1330599933":["hashtag1","hashtag2"]},{"1330599927":["hashtag1","hashtag2"]},{"1330599941":["hashtag1","hashtag2"]},{"1330599937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599930, 1330599924, 1330599933, 1330599927, 1330599941, 1330599937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.87178945541382 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330599934","1330599928","1330599942","1330599945","1330599938","1330599931"],"photo_ids_order":["1330599928","1330599931","1330599934","1330599938","1330599942","1330599945"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8f3b7935e031e449020d19c417754f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8446659300408150358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_41_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/22/4228443e6c7e4f1ee5710ab10cac7407.jpg","text":"TemporaryFile(/tmp/multipartBody1841543404415369888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_54_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/22/d084447eed757f8eab984e052dfbd773.jpg","text":"TemporaryFile(/tmp/multipartBody2842183418855625331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_29_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/22/f72866bfdf821ac24469ef7b1139381a.jpg","text":"TemporaryFile(/tmp/multipartBody4863187491792945884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_23_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/22/fcbb261e94932652e3f70efcbb952239.jpg","text":"TemporaryFile(/tmp/multipartBody9012740188961019444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_34_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/22/51299d0abebd2938ccb948aaaf0c64c4.jpg","text":"TemporaryFile(/tmp/multipartBody8916004185033361654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551432828,"filename":"image_22012025_14_08_48_6533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330599934","file1":"1330599931","file0":"1330599928","file4":"1330599942","file5":"1330599945","file3":"1330599938"},"map_files_photo_id_array":[{"photo_id":"1330599945","filename":"file5"},{"photo_id":"1330599934","filename":"file2"},{"photo_id":"1330599942","filename":"file4"},{"photo_id":"1330599931","filename":"file1"},{"photo_id":"1330599928","filename":"file0"},{"photo_id":"1330599938","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330599934":["hashtag1","hashtag2"]},{"1330599928":["hashtag1","hashtag2"]},{"1330599942":["hashtag1","hashtag2"]},{"1330599945":["hashtag1","hashtag2"]},{"1330599938":["hashtag1","hashtag2"]},{"1330599931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330599934, 1330599928, 1330599942, 1330599945, 1330599938, 1330599931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.38543152809143 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:10:22.121641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/10/image_22012025_14_10_53_6518.jpg', '/media/data/images/22012025/14/10/image_22012025_14_10_47_5329.jpg', '/media/data/images/22012025/14/10/image_22012025_14_10_41_6615.jpg', '/media/data/images/22012025/14/10/image_22012025_14_10_35_5654.jpg', '/media/data/images/22012025/14/10/image_22012025_14_10_30_6502.jpg', '/media/data/images/22012025/14/10/image_22012025_14_10_23_4898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/10/image_22012025_14_10_53_6518.jpg
/media/data/images/22012025/14/10/image_22012025_14_10_47_5329.jpg
/media/data/images/22012025/14/10/image_22012025_14_10_41_6615.jpg
/media/data/images/22012025/14/10/image_22012025_14_10_35_5654.jpg
/media/data/images/22012025/14/10/image_22012025_14_10_30_6502.jpg
/media/data/images/22012025/14/10/image_22012025_14_10_23_4898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600076","1330600079","1330600063","1330600083","1330600071","1330600059"],"photo_ids_order":["1330600059","1330600063","1330600071","1330600076","1330600079","1330600083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1066d6c131179f571655ad852c05099.jpg","text":"TemporaryFile(/tmp/multipartBody4946836076955536485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_35_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/90ffc2a0ce1fb5c84b450615e6b4ecce.jpg","text":"TemporaryFile(/tmp/multipartBody6139959484268833965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_30_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/22/0afba21e4ec56655dc59cd3dabad54fb.jpg","text":"TemporaryFile(/tmp/multipartBody8807454267052245950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_47_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/22/4a057d8038ba5a03e095add459026eea.jpg","text":"TemporaryFile(/tmp/multipartBody2469111661878161681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_23_4898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c7cae1ee6a105f76de4ff015ec8ee1c.jpg","text":"TemporaryFile(/tmp/multipartBody1615150426355655198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_41_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/22/d26fff7738fa1d9b3a907063ce08223d.jpg","text":"TemporaryFile(/tmp/multipartBody6006873445168125193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551493172,"filename":"image_22012025_14_10_53_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600071","file1":"1330600063","file0":"1330600059","file4":"1330600079","file5":"1330600083","file3":"1330600076"},"map_files_photo_id_array":[{"photo_id":"1330600083","filename":"file5"},{"photo_id":"1330600071","filename":"file2"},{"photo_id":"1330600079","filename":"file4"},{"photo_id":"1330600063","filename":"file1"},{"photo_id":"1330600059","filename":"file0"},{"photo_id":"1330600076","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600076":["hashtag1","hashtag2"]},{"1330600079":["hashtag1","hashtag2"]},{"1330600063":["hashtag1","hashtag2"]},{"1330600083":["hashtag1","hashtag2"]},{"1330600071":["hashtag1","hashtag2"]},{"1330600059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600076, 1330600079, 1330600063, 1330600083, 1330600071, 1330600059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.260875940322876 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:11:22.337924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/11/image_22012025_14_11_52_5271.jpg', '/media/data/images/22012025/14/11/image_22012025_14_11_47_6591.jpg', '/media/data/images/22012025/14/11/image_22012025_14_11_35_5570.jpg', '/media/data/images/22012025/14/11/image_22012025_14_11_30_6398.jpg', '/media/data/images/22012025/14/11/image_22012025_14_11_24_6629.jpg', '/media/data/images/22012025/14/11/image_22012025_14_11_17_5563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/11/image_22012025_14_11_52_5271.jpg
/media/data/images/22012025/14/11/image_22012025_14_11_47_6591.jpg
/media/data/images/22012025/14/11/image_22012025_14_11_35_5570.jpg
/media/data/images/22012025/14/11/image_22012025_14_11_30_6398.jpg
/media/data/images/22012025/14/11/image_22012025_14_11_24_6629.jpg
/media/data/images/22012025/14/11/image_22012025_14_11_17_5563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600149","1330600169","1330600159","1330600153","1330600138","1330600164"],"photo_ids_order":["1330600138","1330600149","1330600153","1330600159","1330600164","1330600169"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/292cfb511f3402c5c44e75699611ced8.jpg","text":"TemporaryFile(/tmp/multipartBody209868977780902085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_47_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/22/241e62ebc57a93cd266e7c9ab7614132.jpg","text":"TemporaryFile(/tmp/multipartBody2825240838064908969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_17_5563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/715511b9a151c4597725caabb2eddb2b.jpg","text":"TemporaryFile(/tmp/multipartBody2060381666593828989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_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/22/2ee7fa1c606bff6eb277abf4491a8a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3444607746604696370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_35_5570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3dd2568e5efc04ca1cb3a91c1b2b72e8.jpg","text":"TemporaryFile(/tmp/multipartBody8955245295471205069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_52_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/22/12c78033b2de4adab78ebfa8277e5305.jpg","text":"TemporaryFile(/tmp/multipartBody6689649196909149595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551570664,"filename":"image_22012025_14_11_24_6629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600153","file1":"1330600149","file0":"1330600138","file4":"1330600164","file5":"1330600169","file3":"1330600159"},"map_files_photo_id_array":[{"photo_id":"1330600169","filename":"file5"},{"photo_id":"1330600153","filename":"file2"},{"photo_id":"1330600164","filename":"file4"},{"photo_id":"1330600149","filename":"file1"},{"photo_id":"1330600138","filename":"file0"},{"photo_id":"1330600159","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600149":["hashtag1","hashtag2"]},{"1330600169":["hashtag1","hashtag2"]},{"1330600159":["hashtag1","hashtag2"]},{"1330600153":["hashtag1","hashtag2"]},{"1330600138":["hashtag1","hashtag2"]},{"1330600164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600149, 1330600169, 1330600159, 1330600153, 1330600138, 1330600164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.82248783111572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:12:42.599460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/12/image_22012025_14_12_53_5352.jpg', '/media/data/images/22012025/14/12/image_22012025_14_12_48_6608.jpg', '/media/data/images/22012025/14/12/image_22012025_14_12_42_5029.jpg', '/media/data/images/22012025/14/12/image_22012025_14_12_37_6708.jpg', '/media/data/images/22012025/14/12/image_22012025_14_12_30_6641.jpg', '/media/data/images/22012025/14/12/image_22012025_14_12_23_5276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/12/image_22012025_14_12_53_5352.jpg
/media/data/images/22012025/14/12/image_22012025_14_12_48_6608.jpg
/media/data/images/22012025/14/12/image_22012025_14_12_42_5029.jpg
/media/data/images/22012025/14/12/image_22012025_14_12_37_6708.jpg
/media/data/images/22012025/14/12/image_22012025_14_12_30_6641.jpg
/media/data/images/22012025/14/12/image_22012025_14_12_23_5276.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600230","1330600256","1330600244","1330600273","1330600267","1330600261"],"photo_ids_order":["1330600230","1330600244","1330600256","1330600261","1330600267","1330600273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e480317cf8ad3c36703168fcfcfa18b.jpg","text":"TemporaryFile(/tmp/multipartBody4386513960070684441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_53_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/22/0acbb180423314b3f76d53ccf1200870.jpg","text":"TemporaryFile(/tmp/multipartBody5659400454077660793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_42_5029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d037ad1f9e4b2db7a12578ba9babc15a.jpg","text":"TemporaryFile(/tmp/multipartBody9100372216122580977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_48_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/22/53c7ca0253868f0552148d368034ff0e.jpg","text":"TemporaryFile(/tmp/multipartBody5114395504638010655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_23_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/22/8e38cd4c9bcf55bc18ecc7611b6b837b.jpg","text":"TemporaryFile(/tmp/multipartBody5891559835017008342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_30_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/22/666e411721978c0c4b7e4dc8da438d92.jpg","text":"TemporaryFile(/tmp/multipartBody2184653339403821407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551643900,"filename":"image_22012025_14_12_37_6708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600256","file1":"1330600244","file0":"1330600230","file4":"1330600267","file5":"1330600273","file3":"1330600261"},"map_files_photo_id_array":[{"photo_id":"1330600273","filename":"file5"},{"photo_id":"1330600256","filename":"file2"},{"photo_id":"1330600267","filename":"file4"},{"photo_id":"1330600244","filename":"file1"},{"photo_id":"1330600230","filename":"file0"},{"photo_id":"1330600261","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600230":["hashtag1","hashtag2"]},{"1330600256":["hashtag1","hashtag2"]},{"1330600244":["hashtag1","hashtag2"]},{"1330600273":["hashtag1","hashtag2"]},{"1330600267":["hashtag1","hashtag2"]},{"1330600261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600230, 1330600256, 1330600244, 1330600273, 1330600267, 1330600261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.113913774490356 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:13:42.655352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/13/image_22012025_14_13_53_4637.jpg', '/media/data/images/22012025/14/13/image_22012025_14_13_48_6412.jpg', '/media/data/images/22012025/14/13/image_22012025_14_13_41_6474.jpg', '/media/data/images/22012025/14/13/image_22012025_14_13_35_6515.jpg', '/media/data/images/22012025/14/13/image_22012025_14_13_28_5292.jpg', '/media/data/images/22012025/14/13/image_22012025_14_13_23_6546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/13/image_22012025_14_13_53_4637.jpg
/media/data/images/22012025/14/13/image_22012025_14_13_48_6412.jpg
/media/data/images/22012025/14/13/image_22012025_14_13_41_6474.jpg
/media/data/images/22012025/14/13/image_22012025_14_13_35_6515.jpg
/media/data/images/22012025/14/13/image_22012025_14_13_28_5292.jpg
/media/data/images/22012025/14/13/image_22012025_14_13_23_6546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600397","1330600394","1330600388","1330600378","1330600392","1330600383"],"photo_ids_order":["1330600378","1330600383","1330600388","1330600392","1330600394","1330600397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f40b24898e4ad46c9c5b9fb3cea05f1.jpg","text":"TemporaryFile(/tmp/multipartBody959348770408565978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_23_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/22/cf8e4f0dfa0992449f251e5122c9f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1679223735258981154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_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/22/ff5144ac39a7c2ea02330e68ce00ac15.jpg","text":"TemporaryFile(/tmp/multipartBody5061494793600114990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_41_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/22/b8c0a98950fc1e80e657dfe4fd0e6938.jpg","text":"TemporaryFile(/tmp/multipartBody3643520900595232579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_53_4637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c034cb70c41552172d4d25412df39342.jpg","text":"TemporaryFile(/tmp/multipartBody3126705092237069482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_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/22/fca40f4ebb41335b27348dc247940be6.jpg","text":"TemporaryFile(/tmp/multipartBody4930550820148953620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551698690,"filename":"image_22012025_14_13_48_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600388","file1":"1330600383","file0":"1330600378","file4":"1330600394","file5":"1330600397","file3":"1330600392"},"map_files_photo_id_array":[{"photo_id":"1330600397","filename":"file5"},{"photo_id":"1330600388","filename":"file2"},{"photo_id":"1330600394","filename":"file4"},{"photo_id":"1330600383","filename":"file1"},{"photo_id":"1330600378","filename":"file0"},{"photo_id":"1330600392","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600397":["hashtag1","hashtag2"]},{"1330600394":["hashtag1","hashtag2"]},{"1330600388":["hashtag1","hashtag2"]},{"1330600378":["hashtag1","hashtag2"]},{"1330600392":["hashtag1","hashtag2"]},{"1330600383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600397, 1330600394, 1330600388, 1330600378, 1330600392, 1330600383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.96010184288025 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:14:42.051288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/14/image_22012025_14_14_54_6353.jpg', '/media/data/images/22012025/14/14/image_22012025_14_14_48_6494.jpg', '/media/data/images/22012025/14/14/image_22012025_14_14_41_6529.jpg', '/media/data/images/22012025/14/14/image_22012025_14_14_34_5179.jpg', '/media/data/images/22012025/14/14/image_22012025_14_14_29_6431.jpg', '/media/data/images/22012025/14/14/image_22012025_14_14_23_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/14/image_22012025_14_14_54_6353.jpg
/media/data/images/22012025/14/14/image_22012025_14_14_48_6494.jpg
/media/data/images/22012025/14/14/image_22012025_14_14_41_6529.jpg
/media/data/images/22012025/14/14/image_22012025_14_14_34_5179.jpg
/media/data/images/22012025/14/14/image_22012025_14_14_29_6431.jpg
/media/data/images/22012025/14/14/image_22012025_14_14_23_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":["1330600434","1330600466","1330600451","1330600475","1330600430","1330600438"],"photo_ids_order":["1330600430","1330600434","1330600438","1330600451","1330600466","1330600475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a46344455b354ed5a0cb673b77ca8bad.jpg","text":"TemporaryFile(/tmp/multipartBody1904302392072507142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_48_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/22/ce81b46e71e2d067719eb4d4836d6662.jpg","text":"TemporaryFile(/tmp/multipartBody3434947793819567500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_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/22/4708c672eb1fbcb13ab291725e5eaa94.jpg","text":"TemporaryFile(/tmp/multipartBody1299918750939560735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_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/22/748d781dcaeac3dd53435ed320414662.jpg","text":"TemporaryFile(/tmp/multipartBody6714431190015568853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_23_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/22/7cd1e7953b5eef454c1c7337f2b60df4.jpg","text":"TemporaryFile(/tmp/multipartBody5977755097433148471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_54_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/22/08ac18a3cab85735fdde807a7279d23d.jpg","text":"TemporaryFile(/tmp/multipartBody1122323703501538851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551752899,"filename":"image_22012025_14_14_41_6529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600438","file1":"1330600434","file0":"1330600430","file4":"1330600466","file5":"1330600475","file3":"1330600451"},"map_files_photo_id_array":[{"photo_id":"1330600475","filename":"file5"},{"photo_id":"1330600438","filename":"file2"},{"photo_id":"1330600466","filename":"file4"},{"photo_id":"1330600434","filename":"file1"},{"photo_id":"1330600430","filename":"file0"},{"photo_id":"1330600451","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600434":["hashtag1","hashtag2"]},{"1330600466":["hashtag1","hashtag2"]},{"1330600451":["hashtag1","hashtag2"]},{"1330600475":["hashtag1","hashtag2"]},{"1330600430":["hashtag1","hashtag2"]},{"1330600438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600434, 1330600466, 1330600451, 1330600475, 1330600430, 1330600438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04976844787598 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:15:42.265972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/15/image_22012025_14_15_54_7042.jpg', '/media/data/images/22012025/14/15/image_22012025_14_15_47_5701.jpg', '/media/data/images/22012025/14/15/image_22012025_14_15_41_5299.jpg', '/media/data/images/22012025/14/15/image_22012025_14_15_36_6516.jpg', '/media/data/images/22012025/14/15/image_22012025_14_15_29_6543.jpg', '/media/data/images/22012025/14/15/image_22012025_14_15_22_5265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/15/image_22012025_14_15_54_7042.jpg
/media/data/images/22012025/14/15/image_22012025_14_15_47_5701.jpg
/media/data/images/22012025/14/15/image_22012025_14_15_41_5299.jpg
/media/data/images/22012025/14/15/image_22012025_14_15_36_6516.jpg
/media/data/images/22012025/14/15/image_22012025_14_15_29_6543.jpg
/media/data/images/22012025/14/15/image_22012025_14_15_22_5265.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600595","1330600586","1330600597","1330600590","1330600578","1330600581"],"photo_ids_order":["1330600578","1330600581","1330600586","1330600590","1330600595","1330600597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b102656ffca1cb83d086878cea89dd04.jpg","text":"TemporaryFile(/tmp/multipartBody8206803079994621787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_29_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/22/b987874a0f545022ee52e28ef1b8ff57.jpg","text":"TemporaryFile(/tmp/multipartBody479649862358321630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_41_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/22/226fe4bf94f64f819ec4c5a478a82650.jpg","text":"TemporaryFile(/tmp/multipartBody6776422447425405299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_22_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/22/740bbcf71439cf79074d9680758b3282.jpg","text":"TemporaryFile(/tmp/multipartBody7620586701707381527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_36_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/22/c6a7147e0695b7664ded64a6ada5c576.jpg","text":"TemporaryFile(/tmp/multipartBody7263394691631704248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_54_7042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4277cc70b4d64b417d19131e9e9924d2.jpg","text":"TemporaryFile(/tmp/multipartBody3916227622616854738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551836370,"filename":"image_22012025_14_15_47_5701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600586","file1":"1330600581","file0":"1330600578","file4":"1330600595","file5":"1330600597","file3":"1330600590"},"map_files_photo_id_array":[{"photo_id":"1330600597","filename":"file5"},{"photo_id":"1330600586","filename":"file2"},{"photo_id":"1330600595","filename":"file4"},{"photo_id":"1330600581","filename":"file1"},{"photo_id":"1330600578","filename":"file0"},{"photo_id":"1330600590","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600595":["hashtag1","hashtag2"]},{"1330600586":["hashtag1","hashtag2"]},{"1330600597":["hashtag1","hashtag2"]},{"1330600590":["hashtag1","hashtag2"]},{"1330600578":["hashtag1","hashtag2"]},{"1330600581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600595, 1330600586, 1330600597, 1330600590, 1330600578, 1330600581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.33314228057861 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:17:04.596763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/16/image_22012025_14_16_54_6198.jpg', '/media/data/images/22012025/14/16/image_22012025_14_16_47_5951.jpg', '/media/data/images/22012025/14/16/image_22012025_14_16_41_6560.jpg', '/media/data/images/22012025/14/16/image_22012025_14_16_22_5363.jpg', '/media/data/images/22012025/14/16/image_22012025_14_16_12_6477.jpg', '/media/data/images/22012025/14/16/image_22012025_14_16_05_6047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/16/image_22012025_14_16_54_6198.jpg
/media/data/images/22012025/14/16/image_22012025_14_16_47_5951.jpg
/media/data/images/22012025/14/16/image_22012025_14_16_41_6560.jpg
/media/data/images/22012025/14/16/image_22012025_14_16_22_5363.jpg
/media/data/images/22012025/14/16/image_22012025_14_16_12_6477.jpg
/media/data/images/22012025/14/16/image_22012025_14_16_05_6047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330600854","1330600850","1330600838","1330600834","1330600881","1330600830"],"photo_ids_order":["1330600830","1330600834","1330600838","1330600850","1330600854","1330600881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eebedd6314609f16b35122d986c69ab2.jpg","text":"TemporaryFile(/tmp/multipartBody1940964231287049988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_12_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/22/52362e95d62c16eec27320100c80a89f.jpg","text":"TemporaryFile(/tmp/multipartBody173353503588393744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_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/22/6079cd73063e7950dce7c5de574f4bbf.jpg","text":"TemporaryFile(/tmp/multipartBody384350289644947341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_41_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/22/777750d89026a8a208d0f03888d284ee.jpg","text":"TemporaryFile(/tmp/multipartBody5310919293731152158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_47_5951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b954b011069bf8516d2d554e2b1e5b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2784614612234858194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_05_6047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cde66b3df6476b3bfd7b919a8eaff80b.jpg","text":"TemporaryFile(/tmp/multipartBody2691169527742340385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551915788,"filename":"image_22012025_14_16_54_6198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330600838","file1":"1330600834","file0":"1330600830","file4":"1330600854","file5":"1330600881","file3":"1330600850"},"map_files_photo_id_array":[{"photo_id":"1330600881","filename":"file5"},{"photo_id":"1330600838","filename":"file2"},{"photo_id":"1330600854","filename":"file4"},{"photo_id":"1330600834","filename":"file1"},{"photo_id":"1330600830","filename":"file0"},{"photo_id":"1330600850","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330600854":["hashtag1","hashtag2"]},{"1330600850":["hashtag1","hashtag2"]},{"1330600838":["hashtag1","hashtag2"]},{"1330600834":["hashtag1","hashtag2"]},{"1330600881":["hashtag1","hashtag2"]},{"1330600830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330600854, 1330600850, 1330600838, 1330600834, 1330600881, 1330600830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.47263836860657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:18:22.492822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/18/image_22012025_14_18_53_6552.jpg', '/media/data/images/22012025/14/18/image_22012025_14_18_47_6564.jpg', '/media/data/images/22012025/14/18/image_22012025_14_18_40_6016.jpg', '/media/data/images/22012025/14/18/image_22012025_14_18_35_5370.jpg', '/media/data/images/22012025/14/18/image_22012025_14_18_29_6602.jpg', '/media/data/images/22012025/14/18/image_22012025_14_18_23_4864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/18/image_22012025_14_18_53_6552.jpg
/media/data/images/22012025/14/18/image_22012025_14_18_47_6564.jpg
/media/data/images/22012025/14/18/image_22012025_14_18_40_6016.jpg
/media/data/images/22012025/14/18/image_22012025_14_18_35_5370.jpg
/media/data/images/22012025/14/18/image_22012025_14_18_29_6602.jpg
/media/data/images/22012025/14/18/image_22012025_14_18_23_4864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330601016","1330600985","1330601021","1330601032","1330601026","1330601008"],"photo_ids_order":["1330600985","1330601008","1330601016","1330601021","1330601026","1330601032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5d3a3468dc70852a5a229f07e3c3b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8100096982168813363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_40_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/22/eac3f63721e5e2f84f8bb9773b940265.jpg","text":"TemporaryFile(/tmp/multipartBody2364950947771910867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_53_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/22/8c3739432ff3a5e49d2c7d138a28d47e.jpg","text":"TemporaryFile(/tmp/multipartBody4243109850241744813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_35_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/22/3632353f5998f68113632831435faea7.jpg","text":"TemporaryFile(/tmp/multipartBody5186804011784311888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_23_4864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cc59b6cba0b487f2527c5d0e4b2ad098.jpg","text":"TemporaryFile(/tmp/multipartBody5699706738283807653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_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/22/f95caa1bce13465db092e75168383369.jpg","text":"TemporaryFile(/tmp/multipartBody532576202954923865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737551980854,"filename":"image_22012025_14_18_47_6564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330601016","file1":"1330601008","file0":"1330600985","file4":"1330601026","file5":"1330601032","file3":"1330601021"},"map_files_photo_id_array":[{"photo_id":"1330601032","filename":"file5"},{"photo_id":"1330601016","filename":"file2"},{"photo_id":"1330601026","filename":"file4"},{"photo_id":"1330601008","filename":"file1"},{"photo_id":"1330600985","filename":"file0"},{"photo_id":"1330601021","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330601016":["hashtag1","hashtag2"]},{"1330600985":["hashtag1","hashtag2"]},{"1330601021":["hashtag1","hashtag2"]},{"1330601032":["hashtag1","hashtag2"]},{"1330601026":["hashtag1","hashtag2"]},{"1330601008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330601016, 1330600985, 1330601021, 1330601032, 1330601026, 1330601008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.68456673622131 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:19:22.676521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/19/image_22012025_14_19_53_6550.jpg', '/media/data/images/22012025/14/19/image_22012025_14_19_47_5393.jpg', '/media/data/images/22012025/14/19/image_22012025_14_19_41_6679.jpg', '/media/data/images/22012025/14/19/image_22012025_14_19_35_4822.jpg', '/media/data/images/22012025/14/19/image_22012025_14_19_30_6521.jpg', '/media/data/images/22012025/14/19/image_22012025_14_19_24_6676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/19/image_22012025_14_19_53_6550.jpg
/media/data/images/22012025/14/19/image_22012025_14_19_47_5393.jpg
/media/data/images/22012025/14/19/image_22012025_14_19_41_6679.jpg
/media/data/images/22012025/14/19/image_22012025_14_19_35_4822.jpg
/media/data/images/22012025/14/19/image_22012025_14_19_30_6521.jpg
/media/data/images/22012025/14/19/image_22012025_14_19_24_6676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330601945","1330601720","1330601728","1330601722","1330601716","1330601724"],"photo_ids_order":["1330601716","1330601720","1330601722","1330601724","1330601728","1330601945"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7edc95bff835ec14215530983efcf53.jpg","text":"TemporaryFile(/tmp/multipartBody397160178467519023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_24_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/22/67920056dd55afe8054a653c041b0d89.jpg","text":"TemporaryFile(/tmp/multipartBody872520088129349676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_47_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/22/162defce2ce55bf42713711a3b116d99.jpg","text":"TemporaryFile(/tmp/multipartBody6095171531185521236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_30_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/22/730494776960e1cd9461df941eece8d9.jpg","text":"TemporaryFile(/tmp/multipartBody8973412188666938817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_41_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b3eeb6b74144777ccb2d8a7e30ce7847.jpg","text":"TemporaryFile(/tmp/multipartBody2302414309832902737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_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/22/2966b1edffdc4f3cdc62760d40d420a1.jpg","text":"TemporaryFile(/tmp/multipartBody3701485044961441916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552045983,"filename":"image_22012025_14_19_35_4822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330601722","file1":"1330601720","file0":"1330601716","file4":"1330601728","file5":"1330601945","file3":"1330601724"},"map_files_photo_id_array":[{"photo_id":"1330601945","filename":"file5"},{"photo_id":"1330601722","filename":"file2"},{"photo_id":"1330601728","filename":"file4"},{"photo_id":"1330601720","filename":"file1"},{"photo_id":"1330601716","filename":"file0"},{"photo_id":"1330601724","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330601945":["hashtag1","hashtag2"]},{"1330601720":["hashtag1","hashtag2"]},{"1330601728":["hashtag1","hashtag2"]},{"1330601722":["hashtag1","hashtag2"]},{"1330601716":["hashtag1","hashtag2"]},{"1330601724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330601945, 1330601720, 1330601728, 1330601722, 1330601716, 1330601724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.696406841278076 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:20:22.025824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/20/image_22012025_14_20_53_6606.jpg', '/media/data/images/22012025/14/20/image_22012025_14_20_47_4621.jpg', '/media/data/images/22012025/14/20/image_22012025_14_20_43_6693.jpg', '/media/data/images/22012025/14/20/image_22012025_14_20_36_6073.jpg', '/media/data/images/22012025/14/20/image_22012025_14_20_30_6498.jpg', '/media/data/images/22012025/14/20/image_22012025_14_20_23_5351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/20/image_22012025_14_20_53_6606.jpg
/media/data/images/22012025/14/20/image_22012025_14_20_47_4621.jpg
/media/data/images/22012025/14/20/image_22012025_14_20_43_6693.jpg
/media/data/images/22012025/14/20/image_22012025_14_20_36_6073.jpg
/media/data/images/22012025/14/20/image_22012025_14_20_30_6498.jpg
/media/data/images/22012025/14/20/image_22012025_14_20_23_5351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602140","1330602134","1330602154","1330602168","1330602147","1330602162"],"photo_ids_order":["1330602134","1330602140","1330602147","1330602154","1330602162","1330602168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/db0275dd4e4fef125ae5db70d2dd663a.jpg","text":"TemporaryFile(/tmp/multipartBody1848021144482857372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_47_4621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5e19e8e4e44845e03f234213a4976ce.jpg","text":"TemporaryFile(/tmp/multipartBody8187359303692331453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_53_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/22/529321fc0f51b781ad5c3ed24587abab.jpg","text":"TemporaryFile(/tmp/multipartBody2143511467276161362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_36_6073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3f027fc87aeefec15d7f25947cada232.jpg","text":"TemporaryFile(/tmp/multipartBody2582007232339085682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_23_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/22/fdffda76f865c6fc776c8e7ac38a35c8.jpg","text":"TemporaryFile(/tmp/multipartBody4549939650664686826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_43_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/22/ac7f56fa0c5fbef7a98a8ad355fcf582.jpg","text":"TemporaryFile(/tmp/multipartBody4919548293712776545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552126640,"filename":"image_22012025_14_20_30_6498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602147","file1":"1330602140","file0":"1330602134","file4":"1330602162","file5":"1330602168","file3":"1330602154"},"map_files_photo_id_array":[{"photo_id":"1330602168","filename":"file5"},{"photo_id":"1330602147","filename":"file2"},{"photo_id":"1330602162","filename":"file4"},{"photo_id":"1330602140","filename":"file1"},{"photo_id":"1330602134","filename":"file0"},{"photo_id":"1330602154","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602140":["hashtag1","hashtag2"]},{"1330602134":["hashtag1","hashtag2"]},{"1330602154":["hashtag1","hashtag2"]},{"1330602168":["hashtag1","hashtag2"]},{"1330602147":["hashtag1","hashtag2"]},{"1330602162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602140, 1330602134, 1330602154, 1330602168, 1330602147, 1330602162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.1887674331665 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:21:42.484610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/21/image_22012025_14_21_52_5406.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_47_6610.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_41_5887.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_35_4617.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_30_7373.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_23_5509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/21/image_22012025_14_21_52_5406.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_47_6610.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_41_5887.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_35_4617.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_30_7373.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_23_5509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602244","1330602192","1330602252","1330602249","1330602188","1330602236"],"photo_ids_order":["1330602188","1330602192","1330602236","1330602244","1330602249","1330602252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e89bc12dff29f1d8ceeb1330e723c103.jpg","text":"TemporaryFile(/tmp/multipartBody5025991389961700117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_35_4617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2f5166b09c1f4d54ddd8f1b1d06e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody596429046669343727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_47_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/22/6196c17036fc8e3c82327817c1d747c9.jpg","text":"TemporaryFile(/tmp/multipartBody3439608904677935681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_23_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/22/63ffc4d20d95b55a4c73ddb2175342eb.jpg","text":"TemporaryFile(/tmp/multipartBody5262234942030809960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_30_7373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed0c2e9f7175cd23eb609a47e32ce65d.jpg","text":"TemporaryFile(/tmp/multipartBody9127894670523424327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_52_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/22/75cde7c0e89b7224efe2726ff6e30449.jpg","text":"TemporaryFile(/tmp/multipartBody4139615050842374730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552186098,"filename":"image_22012025_14_21_41_5887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602236","file1":"1330602192","file0":"1330602188","file4":"1330602249","file5":"1330602252","file3":"1330602244"},"map_files_photo_id_array":[{"photo_id":"1330602252","filename":"file5"},{"photo_id":"1330602236","filename":"file2"},{"photo_id":"1330602249","filename":"file4"},{"photo_id":"1330602192","filename":"file1"},{"photo_id":"1330602188","filename":"file0"},{"photo_id":"1330602244","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602244":["hashtag1","hashtag2"]},{"1330602192":["hashtag1","hashtag2"]},{"1330602252":["hashtag1","hashtag2"]},{"1330602249":["hashtag1","hashtag2"]},{"1330602188":["hashtag1","hashtag2"]},{"1330602236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602244, 1330602192, 1330602252, 1330602249, 1330602188, 1330602236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.367220401763916 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:22:42.604299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/22/image_22012025_14_22_47_5453.jpg', '/media/data/images/22012025/14/22/image_22012025_14_22_41_6605.jpg', '/media/data/images/22012025/14/22/image_22012025_14_22_17_6771.jpg', '/media/data/images/22012025/14/22/image_22012025_14_22_11_5637.jpg', '/media/data/images/22012025/14/22/image_22012025_14_22_06_5974.jpg', '/media/data/images/22012025/14/21/image_22012025_14_21_59_6589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/22/image_22012025_14_22_47_5453.jpg
/media/data/images/22012025/14/22/image_22012025_14_22_41_6605.jpg
/media/data/images/22012025/14/22/image_22012025_14_22_17_6771.jpg
/media/data/images/22012025/14/22/image_22012025_14_22_11_5637.jpg
/media/data/images/22012025/14/22/image_22012025_14_22_06_5974.jpg
/media/data/images/22012025/14/21/image_22012025_14_21_59_6589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602365","1330602320","1330602346","1330602376","1330602325","1330602313"],"photo_ids_order":["1330602313","1330602320","1330602325","1330602346","1330602365","1330602376"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d63fc7bca6ccfbbc4e3813465fe77a28.jpg","text":"TemporaryFile(/tmp/multipartBody7154017657387793144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_22_06_5974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/056f0f4cdc3fedaa4415ae697c8232d9.jpg","text":"TemporaryFile(/tmp/multipartBody8772218926256842666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_22_41_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/22/a8d77ae2e1da9c1e0870cc5163a80248.jpg","text":"TemporaryFile(/tmp/multipartBody2919750754032690245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_22_11_5637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/24a19d1514fbae25884777f955476abd.jpg","text":"TemporaryFile(/tmp/multipartBody2568198513888747843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_21_59_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/22/df25225b7c0f63f611b772bba2d9f1f7.jpg","text":"TemporaryFile(/tmp/multipartBody3329273738959460229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_22_17_6771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0400195dd20362579310905762e3024e.jpg","text":"TemporaryFile(/tmp/multipartBody5742834900164810515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552248823,"filename":"image_22012025_14_22_47_5453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602325","file1":"1330602320","file0":"1330602313","file4":"1330602365","file5":"1330602376","file3":"1330602346"},"map_files_photo_id_array":[{"photo_id":"1330602376","filename":"file5"},{"photo_id":"1330602325","filename":"file2"},{"photo_id":"1330602365","filename":"file4"},{"photo_id":"1330602320","filename":"file1"},{"photo_id":"1330602313","filename":"file0"},{"photo_id":"1330602346","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602365":["hashtag1","hashtag2"]},{"1330602320":["hashtag1","hashtag2"]},{"1330602346":["hashtag1","hashtag2"]},{"1330602376":["hashtag1","hashtag2"]},{"1330602325":["hashtag1","hashtag2"]},{"1330602313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602365, 1330602320, 1330602346, 1330602376, 1330602325, 1330602313)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.917479038238525 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 14:24:05.146383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/23/image_22012025_14_23_54_6642.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_47_5080.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_42_6613.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_35_5347.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_29_6651.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_23_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/23/image_22012025_14_23_54_6642.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_47_5080.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_42_6613.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_35_5347.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_29_6651.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_23_5342.jpg
2025-01-22 14:24:05.416705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/23/image_22012025_14_23_54_6642.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_47_5080.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_42_6613.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_35_5347.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_29_6651.jpg', '/media/data/images/22012025/14/23/image_22012025_14_23_23_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/23/image_22012025_14_23_54_6642.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_47_5080.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_42_6613.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_35_5347.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_29_6651.jpg
/media/data/images/22012025/14/23/image_22012025_14_23_23_5342.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: 33.62263202667236 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602574","1330602562","1330602582","1330602578","1330602569","1330602554"],"photo_ids_order":["1330602554","1330602562","1330602569","1330602574","1330602578","1330602582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/535cee2ac6b4c60b67e2477b1a597206.jpg","text":"TemporaryFile(/tmp/multipartBody100693687559532082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_35_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/22/eb921215444fa441f9030d88cf16324d.jpg","text":"TemporaryFile(/tmp/multipartBody1260002611183491431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_47_5080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4da253f42965f793fb60a1dc4a936ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5604355573622275007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_23_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/22/c88f742e7fb14ecd2e17063b46dff228.jpg","text":"TemporaryFile(/tmp/multipartBody384569250545439994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_29_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/22/6c8c4c6938acae7206158e7b3baa94b2.jpg","text":"TemporaryFile(/tmp/multipartBody1565783532154558169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_42_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/22/22bd6c099ac589835a94511459c459c3.jpg","text":"TemporaryFile(/tmp/multipartBody248511073248637796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552351596,"filename":"image_22012025_14_23_54_6642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602569","file1":"1330602562","file0":"1330602554","file4":"1330602578","file5":"1330602582","file3":"1330602574"},"map_files_photo_id_array":[{"photo_id":"1330602582","filename":"file5"},{"photo_id":"1330602569","filename":"file2"},{"photo_id":"1330602578","filename":"file4"},{"photo_id":"1330602562","filename":"file1"},{"photo_id":"1330602554","filename":"file0"},{"photo_id":"1330602574","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602574":["hashtag1","hashtag2"]},{"1330602562":["hashtag1","hashtag2"]},{"1330602582":["hashtag1","hashtag2"]},{"1330602578":["hashtag1","hashtag2"]},{"1330602569":["hashtag1","hashtag2"]},{"1330602554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602574, 1330602562, 1330602582, 1330602578, 1330602569, 1330602554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.00864291191101 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:25:42.219174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/25/image_22012025_14_25_53_6018.jpg', '/media/data/images/22012025/14/25/image_22012025_14_25_47_6501.jpg', '/media/data/images/22012025/14/25/image_22012025_14_25_41_5918.jpg', '/media/data/images/22012025/14/25/image_22012025_14_25_35_5225.jpg', '/media/data/images/22012025/14/25/image_22012025_14_25_30_6015.jpg', '/media/data/images/22012025/14/25/image_22012025_14_25_24_6361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/25/image_22012025_14_25_53_6018.jpg
/media/data/images/22012025/14/25/image_22012025_14_25_47_6501.jpg
/media/data/images/22012025/14/25/image_22012025_14_25_41_5918.jpg
/media/data/images/22012025/14/25/image_22012025_14_25_35_5225.jpg
/media/data/images/22012025/14/25/image_22012025_14_25_30_6015.jpg
/media/data/images/22012025/14/25/image_22012025_14_25_24_6361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602704","1330602661","1330602655","1330602723","1330602647","1330602632"],"photo_ids_order":["1330602632","1330602647","1330602655","1330602661","1330602704","1330602723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70046d4117370db564d8ef598cdf8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4363839720239971585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_30_6015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bcde9466533f4d1bc435071c2d293a35.jpg","text":"TemporaryFile(/tmp/multipartBody2793279040569702183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_35_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/22/db422c5bf35da200630e68e116e9b97b.jpg","text":"TemporaryFile(/tmp/multipartBody6378504248046148444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_41_5918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de246e1a5aabad55a9aa08d4e4513545.jpg","text":"TemporaryFile(/tmp/multipartBody1039822845386949201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_24_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/22/329370b2931daafbc0fce5ca2525e0dd.jpg","text":"TemporaryFile(/tmp/multipartBody1299095140478185501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_47_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/22/d90732be33a558f7175533513a9ee15e.jpg","text":"TemporaryFile(/tmp/multipartBody6901128434408204094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552426713,"filename":"image_22012025_14_25_53_6018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602655","file1":"1330602647","file0":"1330602632","file4":"1330602704","file5":"1330602723","file3":"1330602661"},"map_files_photo_id_array":[{"photo_id":"1330602723","filename":"file5"},{"photo_id":"1330602655","filename":"file2"},{"photo_id":"1330602704","filename":"file4"},{"photo_id":"1330602647","filename":"file1"},{"photo_id":"1330602632","filename":"file0"},{"photo_id":"1330602661","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602704":["hashtag1","hashtag2"]},{"1330602661":["hashtag1","hashtag2"]},{"1330602655":["hashtag1","hashtag2"]},{"1330602723":["hashtag1","hashtag2"]},{"1330602647":["hashtag1","hashtag2"]},{"1330602632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602704, 1330602661, 1330602655, 1330602723, 1330602647, 1330602632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51019048690796 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:26:42.386610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/26/image_22012025_14_26_53_6039.jpg', '/media/data/images/22012025/14/26/image_22012025_14_26_48_6535.jpg', '/media/data/images/22012025/14/26/image_22012025_14_26_41_6464.jpg', '/media/data/images/22012025/14/26/image_22012025_14_26_34_5238.jpg', '/media/data/images/22012025/14/26/image_22012025_14_26_29_6515.jpg', '/media/data/images/22012025/14/26/image_22012025_14_26_23_5240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/26/image_22012025_14_26_53_6039.jpg
/media/data/images/22012025/14/26/image_22012025_14_26_48_6535.jpg
/media/data/images/22012025/14/26/image_22012025_14_26_41_6464.jpg
/media/data/images/22012025/14/26/image_22012025_14_26_34_5238.jpg
/media/data/images/22012025/14/26/image_22012025_14_26_29_6515.jpg
/media/data/images/22012025/14/26/image_22012025_14_26_23_5240.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330602815","1330602889","1330602883","1330602879","1330602896","1330602872"],"photo_ids_order":["1330602815","1330602872","1330602879","1330602883","1330602889","1330602896"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/927d670b0aa3e11d2a115378dec55721.jpg","text":"TemporaryFile(/tmp/multipartBody3846468969765627359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_53_6039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2fe66464ee104c852d848c661a04de4.jpg","text":"TemporaryFile(/tmp/multipartBody657639873782327663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_29_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/22/82cb10fc0c17f826e3c001d924d3a938.jpg","text":"TemporaryFile(/tmp/multipartBody59263287470663230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_34_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/22/5a9cd32c71c50c812a1907d4d1adf155.jpg","text":"TemporaryFile(/tmp/multipartBody7092643254594224849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_41_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/22/62d3f17a1df677a42e2341b1172fc8b6.jpg","text":"TemporaryFile(/tmp/multipartBody9073462957900368294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_23_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/22/f8ad0b0f434712d6d8e7fafe2209f6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2258325632822945216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552482643,"filename":"image_22012025_14_26_48_6535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330602879","file1":"1330602872","file0":"1330602815","file4":"1330602889","file5":"1330602896","file3":"1330602883"},"map_files_photo_id_array":[{"photo_id":"1330602896","filename":"file5"},{"photo_id":"1330602879","filename":"file2"},{"photo_id":"1330602889","filename":"file4"},{"photo_id":"1330602872","filename":"file1"},{"photo_id":"1330602815","filename":"file0"},{"photo_id":"1330602883","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330602815":["hashtag1","hashtag2"]},{"1330602889":["hashtag1","hashtag2"]},{"1330602883":["hashtag1","hashtag2"]},{"1330602879":["hashtag1","hashtag2"]},{"1330602896":["hashtag1","hashtag2"]},{"1330602872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330602815, 1330602889, 1330602883, 1330602879, 1330602896, 1330602872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97205185890198 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:27:42.372993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/27/image_22012025_14_27_53_5547.jpg', '/media/data/images/22012025/14/27/image_22012025_14_27_48_6860.jpg', '/media/data/images/22012025/14/27/image_22012025_14_27_41_6471.jpg', '/media/data/images/22012025/14/27/image_22012025_14_27_35_5230.jpg', '/media/data/images/22012025/14/27/image_22012025_14_27_29_6493.jpg', '/media/data/images/22012025/14/27/image_22012025_14_27_23_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/27/image_22012025_14_27_53_5547.jpg
/media/data/images/22012025/14/27/image_22012025_14_27_48_6860.jpg
/media/data/images/22012025/14/27/image_22012025_14_27_41_6471.jpg
/media/data/images/22012025/14/27/image_22012025_14_27_35_5230.jpg
/media/data/images/22012025/14/27/image_22012025_14_27_29_6493.jpg
/media/data/images/22012025/14/27/image_22012025_14_27_23_6451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603033","1330603039","1330603030","1330603055","1330603070","1330603052"],"photo_ids_order":["1330603030","1330603033","1330603039","1330603052","1330603055","1330603070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9bfc442cf311e9dea01e1a858bb390eb.jpg","text":"TemporaryFile(/tmp/multipartBody8247550774164648623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_48_6860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/723514a943b7d75fef53eadb585284e7.jpg","text":"TemporaryFile(/tmp/multipartBody7888721631999751678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_41_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/22/41cf6228191be07daeef4fbce6aa514d.jpg","text":"TemporaryFile(/tmp/multipartBody2603904856227422659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_53_5547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fa295a7a1d42b7d232fa736d87e7e34.jpg","text":"TemporaryFile(/tmp/multipartBody7646267159477138225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_29_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/22/f976286702206210c48e27a0ab0462a8.jpg","text":"TemporaryFile(/tmp/multipartBody6848519489500250705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_23_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/22/0d92098250d4a592185eb41210c092b8.jpg","text":"TemporaryFile(/tmp/multipartBody5947954804092766567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552536057,"filename":"image_22012025_14_27_35_5230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603039","file1":"1330603033","file0":"1330603030","file4":"1330603055","file5":"1330603070","file3":"1330603052"},"map_files_photo_id_array":[{"photo_id":"1330603070","filename":"file5"},{"photo_id":"1330603039","filename":"file2"},{"photo_id":"1330603055","filename":"file4"},{"photo_id":"1330603033","filename":"file1"},{"photo_id":"1330603030","filename":"file0"},{"photo_id":"1330603052","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603033":["hashtag1","hashtag2"]},{"1330603039":["hashtag1","hashtag2"]},{"1330603030":["hashtag1","hashtag2"]},{"1330603055":["hashtag1","hashtag2"]},{"1330603070":["hashtag1","hashtag2"]},{"1330603052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603033, 1330603039, 1330603030, 1330603055, 1330603070, 1330603052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.88838815689087 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:28:42.704623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/28/image_22012025_14_28_54_6267.jpg', '/media/data/images/22012025/14/28/image_22012025_14_28_48_6564.jpg', '/media/data/images/22012025/14/28/image_22012025_14_28_41_5300.jpg', '/media/data/images/22012025/14/28/image_22012025_14_28_35_6473.jpg', '/media/data/images/22012025/14/28/image_22012025_14_28_29_6480.jpg', '/media/data/images/22012025/14/28/image_22012025_14_28_23_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/28/image_22012025_14_28_54_6267.jpg
/media/data/images/22012025/14/28/image_22012025_14_28_48_6564.jpg
/media/data/images/22012025/14/28/image_22012025_14_28_41_5300.jpg
/media/data/images/22012025/14/28/image_22012025_14_28_35_6473.jpg
/media/data/images/22012025/14/28/image_22012025_14_28_29_6480.jpg
/media/data/images/22012025/14/28/image_22012025_14_28_23_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":["1330603123","1330603102","1330603111","1330603105","1330603148","1330603139"],"photo_ids_order":["1330603102","1330603105","1330603111","1330603123","1330603139","1330603148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1eeac2dc715720fe0778ef801a7861a7.jpg","text":"TemporaryFile(/tmp/multipartBody3010089355459959669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_35_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/22/22d24b9b56476397963cb3dc33fee356.jpg","text":"TemporaryFile(/tmp/multipartBody2298535644440573559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_54_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/22/8998f33ec3aa5d4de72874ff1cb9314f.jpg","text":"TemporaryFile(/tmp/multipartBody7114451651883876200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_41_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/22/75deb4b3f931a6c0899e42f4b1b5c33f.jpg","text":"TemporaryFile(/tmp/multipartBody5691594010863959238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_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/22/c75a58c943ff1a8447d03e3293949a31.jpg","text":"TemporaryFile(/tmp/multipartBody7530346492089715405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_23_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/22/a92c8f3b03a9b8e80795e3634ece88a0.jpg","text":"TemporaryFile(/tmp/multipartBody8860793816081247817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552599101,"filename":"image_22012025_14_28_29_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603111","file1":"1330603105","file0":"1330603102","file4":"1330603139","file5":"1330603148","file3":"1330603123"},"map_files_photo_id_array":[{"photo_id":"1330603148","filename":"file5"},{"photo_id":"1330603111","filename":"file2"},{"photo_id":"1330603139","filename":"file4"},{"photo_id":"1330603105","filename":"file1"},{"photo_id":"1330603102","filename":"file0"},{"photo_id":"1330603123","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603123":["hashtag1","hashtag2"]},{"1330603102":["hashtag1","hashtag2"]},{"1330603111":["hashtag1","hashtag2"]},{"1330603105":["hashtag1","hashtag2"]},{"1330603148":["hashtag1","hashtag2"]},{"1330603139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603123, 1330603102, 1330603111, 1330603105, 1330603148, 1330603139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.92876195907593 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:29:42.648148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/29/image_22012025_14_29_54_5835.jpg', '/media/data/images/22012025/14/29/image_22012025_14_29_48_6136.jpg', '/media/data/images/22012025/14/29/image_22012025_14_29_41_6480.jpg', '/media/data/images/22012025/14/29/image_22012025_14_29_35_6494.jpg', '/media/data/images/22012025/14/29/image_22012025_14_29_28_5225.jpg', '/media/data/images/22012025/14/29/image_22012025_14_29_23_6461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/29/image_22012025_14_29_54_5835.jpg
/media/data/images/22012025/14/29/image_22012025_14_29_48_6136.jpg
/media/data/images/22012025/14/29/image_22012025_14_29_41_6480.jpg
/media/data/images/22012025/14/29/image_22012025_14_29_35_6494.jpg
/media/data/images/22012025/14/29/image_22012025_14_29_28_5225.jpg
/media/data/images/22012025/14/29/image_22012025_14_29_23_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":["1330603282","1330603291","1330603263","1330603209","1330603235","1330603259"],"photo_ids_order":["1330603209","1330603235","1330603259","1330603263","1330603282","1330603291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6fa188b1d998c977df780617eaf31537.jpg","text":"TemporaryFile(/tmp/multipartBody7239167960996823444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_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/22/5003ff36a5be7acccb4fa4a97f34c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody6882860593481253054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_23_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/22/546f01173777ab5d3b6164bda178fb17.jpg","text":"TemporaryFile(/tmp/multipartBody6685556129789490424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_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/22/48170d7fc9c53962b393169605c6a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody8998849821494064968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_54_5835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a165a58e7f994a945af6844107005635.jpg","text":"TemporaryFile(/tmp/multipartBody5886978771501370665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_48_6136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fb26c35f261cfd4b148a7764c776baf6.jpg","text":"TemporaryFile(/tmp/multipartBody6767914627391722512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552656722,"filename":"image_22012025_14_29_41_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603259","file1":"1330603235","file0":"1330603209","file4":"1330603282","file5":"1330603291","file3":"1330603263"},"map_files_photo_id_array":[{"photo_id":"1330603291","filename":"file5"},{"photo_id":"1330603259","filename":"file2"},{"photo_id":"1330603282","filename":"file4"},{"photo_id":"1330603235","filename":"file1"},{"photo_id":"1330603209","filename":"file0"},{"photo_id":"1330603263","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603282":["hashtag1","hashtag2"]},{"1330603291":["hashtag1","hashtag2"]},{"1330603263":["hashtag1","hashtag2"]},{"1330603209":["hashtag1","hashtag2"]},{"1330603235":["hashtag1","hashtag2"]},{"1330603259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603282, 1330603291, 1330603263, 1330603209, 1330603235, 1330603259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.72578954696655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:30:42.810399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/30/image_22012025_14_30_54_5805.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_48_6548.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_41_6436.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_35_6461.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_28_5258.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_23_6482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/30/image_22012025_14_30_54_5805.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_48_6548.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_41_6436.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_35_6461.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_28_5258.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_23_6482.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.886439561843872 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:31:04.020605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/30/image_22012025_14_30_54_5805.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_48_6548.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_41_6436.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_35_6461.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_28_5258.jpg', '/media/data/images/22012025/14/30/image_22012025_14_30_23_6482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/30/image_22012025_14_30_54_5805.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_48_6548.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_41_6436.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_35_6461.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_28_5258.jpg
/media/data/images/22012025/14/30/image_22012025_14_30_23_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":["1330603597","1330603590","1330603578","1330603572","1330603557","1330603530"],"photo_ids_order":["1330603530","1330603557","1330603572","1330603578","1330603590","1330603597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/722d55209614d8108c1aec468ff0570a.jpg","text":"TemporaryFile(/tmp/multipartBody1232625566038199193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_23_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/22/faf540e76e51f042e74a7594240be50d.jpg","text":"TemporaryFile(/tmp/multipartBody3623237814798232683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_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/22/506168a42e480bdbdedc8b6c4d87dd54.jpg","text":"TemporaryFile(/tmp/multipartBody6834357348755287593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_35_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/22/b3053a82b7839d56b263af878e30e019.jpg","text":"TemporaryFile(/tmp/multipartBody7435740314896058706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_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/22/de4442a779edf249bfca782b6afb6a39.jpg","text":"TemporaryFile(/tmp/multipartBody7787395983207729166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_48_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/22/d516ba1eb0d25628215bcdcb5c013b24.jpg","text":"TemporaryFile(/tmp/multipartBody5267684978671166471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552737246,"filename":"image_22012025_14_30_54_5805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603572","file1":"1330603557","file0":"1330603530","file4":"1330603590","file5":"1330603597","file3":"1330603578"},"map_files_photo_id_array":[{"photo_id":"1330603597","filename":"file5"},{"photo_id":"1330603572","filename":"file2"},{"photo_id":"1330603590","filename":"file4"},{"photo_id":"1330603557","filename":"file1"},{"photo_id":"1330603530","filename":"file0"},{"photo_id":"1330603578","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603597":["hashtag1","hashtag2"]},{"1330603590":["hashtag1","hashtag2"]},{"1330603578":["hashtag1","hashtag2"]},{"1330603572":["hashtag1","hashtag2"]},{"1330603557":["hashtag1","hashtag2"]},{"1330603530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603597, 1330603590, 1330603578, 1330603572, 1330603557, 1330603530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.306642293930054 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:32:03.734792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/31/image_22012025_14_31_53_5808.jpg', '/media/data/images/22012025/14/31/image_22012025_14_31_48_6278.jpg', '/media/data/images/22012025/14/31/image_22012025_14_31_41_6442.jpg', '/media/data/images/22012025/14/31/image_22012025_14_31_34_5257.jpg', '/media/data/images/22012025/14/31/image_22012025_14_31_29_6504.jpg', '/media/data/images/22012025/14/31/image_22012025_14_31_23_5220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/31/image_22012025_14_31_53_5808.jpg
/media/data/images/22012025/14/31/image_22012025_14_31_48_6278.jpg
/media/data/images/22012025/14/31/image_22012025_14_31_41_6442.jpg
/media/data/images/22012025/14/31/image_22012025_14_31_34_5257.jpg
/media/data/images/22012025/14/31/image_22012025_14_31_29_6504.jpg
/media/data/images/22012025/14/31/image_22012025_14_31_23_5220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603636","1330603698","1330603671","1330603668","1330603647","1330603704"],"photo_ids_order":["1330603636","1330603647","1330603668","1330603671","1330603698","1330603704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d5c1f62bf6c872771048a1e2087c0f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3074728079019705501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_53_5808.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d79fd647721dc50b9527b573603f120b.jpg","text":"TemporaryFile(/tmp/multipartBody1777297121439154698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_29_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/22/8fe45987212ec9b3b9339f766905fcc2.jpg","text":"TemporaryFile(/tmp/multipartBody2098602927317939261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_34_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/22/25d583b0a075e5961c0b6dfb1b72122e.jpg","text":"TemporaryFile(/tmp/multipartBody1740278604202272033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_41_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/22/e430be080f9d84224bd8144231b6e891.jpg","text":"TemporaryFile(/tmp/multipartBody6141903935207365011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_48_6278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/52db7bccdb9884f5d543ec782f531415.jpg","text":"TemporaryFile(/tmp/multipartBody8268594988474869686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552799702,"filename":"image_22012025_14_31_23_5220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603668","file1":"1330603647","file0":"1330603636","file4":"1330603698","file5":"1330603704","file3":"1330603671"},"map_files_photo_id_array":[{"photo_id":"1330603704","filename":"file5"},{"photo_id":"1330603668","filename":"file2"},{"photo_id":"1330603698","filename":"file4"},{"photo_id":"1330603647","filename":"file1"},{"photo_id":"1330603636","filename":"file0"},{"photo_id":"1330603671","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603636":["hashtag1","hashtag2"]},{"1330603698":["hashtag1","hashtag2"]},{"1330603671":["hashtag1","hashtag2"]},{"1330603668":["hashtag1","hashtag2"]},{"1330603647":["hashtag1","hashtag2"]},{"1330603704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603636, 1330603698, 1330603671, 1330603668, 1330603647, 1330603704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.01707220077515 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:33:04.410140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/32/image_22012025_14_32_53_6537.jpg', '/media/data/images/22012025/14/32/image_22012025_14_32_47_5246.jpg', '/media/data/images/22012025/14/32/image_22012025_14_32_41_6457.jpg', '/media/data/images/22012025/14/32/image_22012025_14_32_35_6470.jpg', '/media/data/images/22012025/14/32/image_22012025_14_32_28_5244.jpg', '/media/data/images/22012025/14/32/image_22012025_14_32_23_5646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/32/image_22012025_14_32_53_6537.jpg
/media/data/images/22012025/14/32/image_22012025_14_32_47_5246.jpg
/media/data/images/22012025/14/32/image_22012025_14_32_41_6457.jpg
/media/data/images/22012025/14/32/image_22012025_14_32_35_6470.jpg
/media/data/images/22012025/14/32/image_22012025_14_32_28_5244.jpg
/media/data/images/22012025/14/32/image_22012025_14_32_23_5646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603759","1330603756","1330603770","1330603764","1330603767","1330603751"],"photo_ids_order":["1330603751","1330603756","1330603759","1330603764","1330603767","1330603770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d14388bc551283f8767220698fa2f959.jpg","text":"TemporaryFile(/tmp/multipartBody1541190260632380245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_41_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/22/e660907d060db84901388ff24c348d03.jpg","text":"TemporaryFile(/tmp/multipartBody1071200128015491915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_47_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/22/1d7145aebe1d20e812a2234f00d3d77c.jpg","text":"TemporaryFile(/tmp/multipartBody2143795519091056064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_23_5646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b5b53ba8507283e614a9f78f6054d20.jpg","text":"TemporaryFile(/tmp/multipartBody2528519006392338626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_35_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/22/7796b7c1b8b283659ab5925e7cd0a17b.jpg","text":"TemporaryFile(/tmp/multipartBody6167405869719239899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_28_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/22/e349ac7d75619a4f0f2851ac52e32940.jpg","text":"TemporaryFile(/tmp/multipartBody4455348845085249144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552855155,"filename":"image_22012025_14_32_53_6537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603759","file1":"1330603756","file0":"1330603751","file4":"1330603767","file5":"1330603770","file3":"1330603764"},"map_files_photo_id_array":[{"photo_id":"1330603770","filename":"file5"},{"photo_id":"1330603759","filename":"file2"},{"photo_id":"1330603767","filename":"file4"},{"photo_id":"1330603756","filename":"file1"},{"photo_id":"1330603751","filename":"file0"},{"photo_id":"1330603764","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603759":["hashtag1","hashtag2"]},{"1330603756":["hashtag1","hashtag2"]},{"1330603770":["hashtag1","hashtag2"]},{"1330603764":["hashtag1","hashtag2"]},{"1330603767":["hashtag1","hashtag2"]},{"1330603751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603759, 1330603756, 1330603770, 1330603764, 1330603767, 1330603751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51199531555176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 14:34:04.517875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/33/image_22012025_14_33_53_6488.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_46_5201.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_41_6476.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_35_6415.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_28_5183.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_23_6333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/33/image_22012025_14_33_53_6488.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_46_5201.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_41_6476.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_35_6415.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_28_5183.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_23_6333.jpg
2025-01-22 14:34:04.725934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/33/image_22012025_14_33_53_6488.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_46_5201.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_41_6476.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_35_6415.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_28_5183.jpg', '/media/data/images/22012025/14/33/image_22012025_14_33_23_6333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/33/image_22012025_14_33_53_6488.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_46_5201.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_41_6476.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_35_6415.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_28_5183.jpg
/media/data/images/22012025/14/33/image_22012025_14_33_23_6333.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":["1330603840","1330603854","1330603848","1330603821","1330603876","1330603814"],"photo_ids_order":["1330603814","1330603821","1330603840","1330603848","1330603854","1330603876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b50fc6ce05c08adeca574da74e822d19.jpg","text":"TemporaryFile(/tmp/multipartBody7220500203390196178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_41_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/22/a3a8a4bf197348d500d9f579d9e4b16b.jpg","text":"TemporaryFile(/tmp/multipartBody594861685555614549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_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/22/35652e4fae283e63660dbea420bf2edf.jpg","text":"TemporaryFile(/tmp/multipartBody8941313979030248900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_35_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/22/d9054dcde0c0e6aaf8bae69b66ec4a80.jpg","text":"TemporaryFile(/tmp/multipartBody9113324221719045480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_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/22/e04464868fec047edc712de0f0238329.jpg","text":"TemporaryFile(/tmp/multipartBody2387821466367493657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_23_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/22/4e952144f2fdeabc2396ea8bce743be7.jpg","text":"TemporaryFile(/tmp/multipartBody6956806060921650411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552926295,"filename":"image_22012025_14_33_53_6488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603840","file1":"1330603821","file0":"1330603814","file4":"1330603854","file5":"1330603876","file3":"1330603848"},"map_files_photo_id_array":[{"photo_id":"1330603876","filename":"file5"},{"photo_id":"1330603840","filename":"file2"},{"photo_id":"1330603854","filename":"file4"},{"photo_id":"1330603821","filename":"file1"},{"photo_id":"1330603814","filename":"file0"},{"photo_id":"1330603848","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603840":["hashtag1","hashtag2"]},{"1330603854":["hashtag1","hashtag2"]},{"1330603848":["hashtag1","hashtag2"]},{"1330603821":["hashtag1","hashtag2"]},{"1330603876":["hashtag1","hashtag2"]},{"1330603814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603840, 1330603854, 1330603848, 1330603821, 1330603876, 1330603814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82672071456909 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603879","1330603852","1330603822","1330603819","1330603857","1330603844"],"photo_ids_order":["1330603819","1330603822","1330603844","1330603852","1330603857","1330603879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b3c0891a630ea7d0e15ce565be136d4.jpg","text":"TemporaryFile(/tmp/multipartBody7493158443524264718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_23_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/22/3a0942d6bffd1aeea9ebd33f998e0411.jpg","text":"TemporaryFile(/tmp/multipartBody4329536599885301878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_35_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/22/73e61d65b5a6f89fc1ebb638cce6014c.jpg","text":"TemporaryFile(/tmp/multipartBody6974690241135153649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_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/22/3d9c2fdbf7fac39bf5bfc34f8bd8f7a4.jpg","text":"TemporaryFile(/tmp/multipartBody4873052981895348237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_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/22/e68e0af09e49535e62c4533e1c8becd0.jpg","text":"TemporaryFile(/tmp/multipartBody3588697193554982673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_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/22/dc5232c1356b9a49330947b3c7a978ff.jpg","text":"TemporaryFile(/tmp/multipartBody1774579659146720549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552927425,"filename":"image_22012025_14_33_41_6476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603844","file1":"1330603822","file0":"1330603819","file4":"1330603857","file5":"1330603879","file3":"1330603852"},"map_files_photo_id_array":[{"photo_id":"1330603879","filename":"file5"},{"photo_id":"1330603844","filename":"file2"},{"photo_id":"1330603857","filename":"file4"},{"photo_id":"1330603822","filename":"file1"},{"photo_id":"1330603819","filename":"file0"},{"photo_id":"1330603852","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603879":["hashtag1","hashtag2"]},{"1330603852":["hashtag1","hashtag2"]},{"1330603822":["hashtag1","hashtag2"]},{"1330603819":["hashtag1","hashtag2"]},{"1330603857":["hashtag1","hashtag2"]},{"1330603844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603879, 1330603852, 1330603822, 1330603819, 1330603857, 1330603844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.42788553237915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:35:04.683699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/34/image_22012025_14_34_53_6744.jpg', '/media/data/images/22012025/14/34/image_22012025_14_34_46_5306.jpg', '/media/data/images/22012025/14/34/image_22012025_14_34_41_6475.jpg', '/media/data/images/22012025/14/34/image_22012025_14_34_35_5165.jpg', '/media/data/images/22012025/14/34/image_22012025_14_34_29_6448.jpg', '/media/data/images/22012025/14/34/image_22012025_14_34_23_5696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/34/image_22012025_14_34_53_6744.jpg
/media/data/images/22012025/14/34/image_22012025_14_34_46_5306.jpg
/media/data/images/22012025/14/34/image_22012025_14_34_41_6475.jpg
/media/data/images/22012025/14/34/image_22012025_14_34_35_5165.jpg
/media/data/images/22012025/14/34/image_22012025_14_34_29_6448.jpg
/media/data/images/22012025/14/34/image_22012025_14_34_23_5696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603936","1330603923","1330603926","1330603911","1330603916","1330603931"],"photo_ids_order":["1330603911","1330603916","1330603923","1330603926","1330603931","1330603936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1a56202cfeefa14844e8c0c9b00dad9c.jpg","text":"TemporaryFile(/tmp/multipartBody3589024700701921751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_23_5696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/53f97812c8ecb915112bb085334f2504.jpg","text":"TemporaryFile(/tmp/multipartBody5770622071139794167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_41_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/22/a299a00860800e9aab6bea2609307701.jpg","text":"TemporaryFile(/tmp/multipartBody4397095408648800272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_35_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/22/6144d34fd578e92deb1103bfaa85e340.jpg","text":"TemporaryFile(/tmp/multipartBody523816439254717632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_53_6744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2448966fcbce0ddfdcd906e601c1056b.jpg","text":"TemporaryFile(/tmp/multipartBody1530881711611923352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_46_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/22/74a04c8263fc8d5cd95ea361605c9727.jpg","text":"TemporaryFile(/tmp/multipartBody3429506848138908496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737552977704,"filename":"image_22012025_14_34_29_6448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603923","file1":"1330603916","file0":"1330603911","file4":"1330603931","file5":"1330603936","file3":"1330603926"},"map_files_photo_id_array":[{"photo_id":"1330603936","filename":"file5"},{"photo_id":"1330603923","filename":"file2"},{"photo_id":"1330603931","filename":"file4"},{"photo_id":"1330603916","filename":"file1"},{"photo_id":"1330603911","filename":"file0"},{"photo_id":"1330603926","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603936":["hashtag1","hashtag2"]},{"1330603923":["hashtag1","hashtag2"]},{"1330603926":["hashtag1","hashtag2"]},{"1330603911":["hashtag1","hashtag2"]},{"1330603916":["hashtag1","hashtag2"]},{"1330603931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603936, 1330603923, 1330603926, 1330603911, 1330603916, 1330603931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.130820751190186 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:36:04.177658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/35/image_22012025_14_35_53_6516.jpg', '/media/data/images/22012025/14/35/image_22012025_14_35_47_6522.jpg', '/media/data/images/22012025/14/35/image_22012025_14_35_40_5268.jpg', '/media/data/images/22012025/14/35/image_22012025_14_35_35_6484.jpg', '/media/data/images/22012025/14/35/image_22012025_14_35_29_4712.jpg', '/media/data/images/22012025/14/35/image_22012025_14_35_24_6845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/35/image_22012025_14_35_53_6516.jpg
/media/data/images/22012025/14/35/image_22012025_14_35_47_6522.jpg
/media/data/images/22012025/14/35/image_22012025_14_35_40_5268.jpg
/media/data/images/22012025/14/35/image_22012025_14_35_35_6484.jpg
/media/data/images/22012025/14/35/image_22012025_14_35_29_4712.jpg
/media/data/images/22012025/14/35/image_22012025_14_35_24_6845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330603978","1330603963","1330603972","1330603968","1330603961","1330603993"],"photo_ids_order":["1330603961","1330603963","1330603968","1330603972","1330603978","1330603993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/89426dc23c2b254a7d3a60338017d81f.jpg","text":"TemporaryFile(/tmp/multipartBody3288467800432247367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_29_4712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a32f1b97cd54e35e1d9c46f3b8c4cf23.jpg","text":"TemporaryFile(/tmp/multipartBody7895314887732015681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_47_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/22/354f61e913900c59ac18029064d51f7e.jpg","text":"TemporaryFile(/tmp/multipartBody592415857000892317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_35_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/22/f85542bb4bd5cb65d705fa0399e2b1e0.jpg","text":"TemporaryFile(/tmp/multipartBody5073586010229984092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_40_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/22/e987a9e645307f540a4dcfdb8ffb6c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1386134222591407215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_53_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/22/954c9c300cc06570ebb7fada9feda98d.jpg","text":"TemporaryFile(/tmp/multipartBody2720003914407686770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553034941,"filename":"image_22012025_14_35_24_6845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330603968","file1":"1330603963","file0":"1330603961","file4":"1330603978","file5":"1330603993","file3":"1330603972"},"map_files_photo_id_array":[{"photo_id":"1330603993","filename":"file5"},{"photo_id":"1330603968","filename":"file2"},{"photo_id":"1330603978","filename":"file4"},{"photo_id":"1330603963","filename":"file1"},{"photo_id":"1330603961","filename":"file0"},{"photo_id":"1330603972","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330603978":["hashtag1","hashtag2"]},{"1330603963":["hashtag1","hashtag2"]},{"1330603972":["hashtag1","hashtag2"]},{"1330603968":["hashtag1","hashtag2"]},{"1330603961":["hashtag1","hashtag2"]},{"1330603993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330603978, 1330603963, 1330603972, 1330603968, 1330603961, 1330603993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84921622276306 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:37:04.033170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/36/image_22012025_14_36_53_6507.jpg', '/media/data/images/22012025/14/36/image_22012025_14_36_47_5281.jpg', '/media/data/images/22012025/14/36/image_22012025_14_36_41_6535.jpg', '/media/data/images/22012025/14/36/image_22012025_14_36_35_6525.jpg', '/media/data/images/22012025/14/36/image_22012025_14_36_28_5260.jpg', '/media/data/images/22012025/14/36/image_22012025_14_36_23_5970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/36/image_22012025_14_36_53_6507.jpg
/media/data/images/22012025/14/36/image_22012025_14_36_47_5281.jpg
/media/data/images/22012025/14/36/image_22012025_14_36_41_6535.jpg
/media/data/images/22012025/14/36/image_22012025_14_36_35_6525.jpg
/media/data/images/22012025/14/36/image_22012025_14_36_28_5260.jpg
/media/data/images/22012025/14/36/image_22012025_14_36_23_5970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330604091","1330604094","1330604103","1330604114","1330604108","1330604098"],"photo_ids_order":["1330604091","1330604094","1330604098","1330604103","1330604108","1330604114"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad6cc4eac7cfd5b2afed2736d7c0fec9.jpg","text":"TemporaryFile(/tmp/multipartBody3411071996269328540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_53_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/22/43bb33f1ccb53b49da9d44b6f03be742.jpg","text":"TemporaryFile(/tmp/multipartBody8766736581869752811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_47_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/22/f18f2f0e8f0d6f5ed5cbae71977839a9.jpg","text":"TemporaryFile(/tmp/multipartBody8667909586658616040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_35_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/22/705592d40184862d68dd140a970da64a.jpg","text":"TemporaryFile(/tmp/multipartBody3691908087133093578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_23_5970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7fd295ddfe72d56fc5380207c6efa2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1319759563032097358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_28_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/22/350a7657a7dec62012fb4aa2c157b190.jpg","text":"TemporaryFile(/tmp/multipartBody7541511282380091808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553108550,"filename":"image_22012025_14_36_41_6535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604098","file1":"1330604094","file0":"1330604091","file4":"1330604108","file5":"1330604114","file3":"1330604103"},"map_files_photo_id_array":[{"photo_id":"1330604114","filename":"file5"},{"photo_id":"1330604098","filename":"file2"},{"photo_id":"1330604108","filename":"file4"},{"photo_id":"1330604094","filename":"file1"},{"photo_id":"1330604091","filename":"file0"},{"photo_id":"1330604103","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604091":["hashtag1","hashtag2"]},{"1330604094":["hashtag1","hashtag2"]},{"1330604103":["hashtag1","hashtag2"]},{"1330604114":["hashtag1","hashtag2"]},{"1330604108":["hashtag1","hashtag2"]},{"1330604098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604091, 1330604094, 1330604103, 1330604114, 1330604108, 1330604098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5787718296051 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:38:03.578129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/37/image_22012025_14_37_53_6478.jpg', '/media/data/images/22012025/14/37/image_22012025_14_37_47_5227.jpg', '/media/data/images/22012025/14/37/image_22012025_14_37_41_6249.jpg', '/media/data/images/22012025/14/37/image_22012025_14_37_35_6481.jpg', '/media/data/images/22012025/14/37/image_22012025_14_37_29_5230.jpg', '/media/data/images/22012025/14/37/image_22012025_14_37_23_6480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/37/image_22012025_14_37_53_6478.jpg
/media/data/images/22012025/14/37/image_22012025_14_37_47_5227.jpg
/media/data/images/22012025/14/37/image_22012025_14_37_41_6249.jpg
/media/data/images/22012025/14/37/image_22012025_14_37_35_6481.jpg
/media/data/images/22012025/14/37/image_22012025_14_37_29_5230.jpg
/media/data/images/22012025/14/37/image_22012025_14_37_23_6480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330604166","1330604153","1330604156","1330604141","1330604135","1330604161"],"photo_ids_order":["1330604135","1330604141","1330604153","1330604156","1330604161","1330604166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5098b88480f9aeab37251aa37c6c1ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2430573859363028273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_23_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/22/1ccd3c182d681c6174b8ba329bc89fb2.jpg","text":"TemporaryFile(/tmp/multipartBody586892305186446050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_41_6249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d01105d9b84691c53e23a9d794a3459c.jpg","text":"TemporaryFile(/tmp/multipartBody6719650184183736179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_35_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/22/5b645d7f618ac57979e19fec487292a0.jpg","text":"TemporaryFile(/tmp/multipartBody5188521858141531202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_47_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/22/16dc6fcc9d3c539cb3d6f2aea56f1e0e.jpg","text":"TemporaryFile(/tmp/multipartBody6667099433882642228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_53_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/22/3493a0fc7748edbf667d157642af1413.jpg","text":"TemporaryFile(/tmp/multipartBody2392073306604594920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553159271,"filename":"image_22012025_14_37_29_5230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604153","file1":"1330604141","file0":"1330604135","file4":"1330604161","file5":"1330604166","file3":"1330604156"},"map_files_photo_id_array":[{"photo_id":"1330604166","filename":"file5"},{"photo_id":"1330604153","filename":"file2"},{"photo_id":"1330604161","filename":"file4"},{"photo_id":"1330604141","filename":"file1"},{"photo_id":"1330604135","filename":"file0"},{"photo_id":"1330604156","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604166":["hashtag1","hashtag2"]},{"1330604153":["hashtag1","hashtag2"]},{"1330604156":["hashtag1","hashtag2"]},{"1330604141":["hashtag1","hashtag2"]},{"1330604135":["hashtag1","hashtag2"]},{"1330604161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604166, 1330604153, 1330604156, 1330604141, 1330604135, 1330604161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.70007944107056 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 14:39:05.062988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/38/image_22012025_14_38_53_6470.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_47_5193.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_41_6485.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_35_6455.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_28_5671.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_23_5586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/38/image_22012025_14_38_53_6470.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_47_5193.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_41_6485.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_35_6455.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_28_5671.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_23_5586.jpg
2025-01-22 14:39:05.266616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/38/image_22012025_14_38_53_6470.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_47_5193.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_41_6485.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_35_6455.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_28_5671.jpg', '/media/data/images/22012025/14/38/image_22012025_14_38_23_5586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/38/image_22012025_14_38_53_6470.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_47_5193.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_41_6485.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_35_6455.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_28_5671.jpg
/media/data/images/22012025/14/38/image_22012025_14_38_23_5586.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":["1330604266","1330604241","1330604261","1330604270","1330604252","1330604246"],"photo_ids_order":["1330604241","1330604246","1330604252","1330604261","1330604266","1330604270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/556ae910b0034a80aba7239de2141e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4316518491636427478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_28_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a6e96d3480d6ac014947706ce974c502.jpg","text":"TemporaryFile(/tmp/multipartBody5674466905960505515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_53_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/22/2079408f489f80be44544122ed5ff7a3.jpg","text":"TemporaryFile(/tmp/multipartBody8390942089433861642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_35_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/22/3350823eea4b9176eae5c70ee0097a5c.jpg","text":"TemporaryFile(/tmp/multipartBody5413738669584532552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_23_5586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f0057f153ba9626e6e5dc0165d6b62a3.jpg","text":"TemporaryFile(/tmp/multipartBody3681012082556907847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_41_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/22/30f825a4d53e8b92deb25317e6a8eebd.jpg","text":"TemporaryFile(/tmp/multipartBody8989324153245059798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553227907,"filename":"image_22012025_14_38_47_5193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604252","file1":"1330604246","file0":"1330604241","file4":"1330604266","file5":"1330604270","file3":"1330604261"},"map_files_photo_id_array":[{"photo_id":"1330604270","filename":"file5"},{"photo_id":"1330604252","filename":"file2"},{"photo_id":"1330604266","filename":"file4"},{"photo_id":"1330604246","filename":"file1"},{"photo_id":"1330604241","filename":"file0"},{"photo_id":"1330604261","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604266":["hashtag1","hashtag2"]},{"1330604241":["hashtag1","hashtag2"]},{"1330604261":["hashtag1","hashtag2"]},{"1330604270":["hashtag1","hashtag2"]},{"1330604252":["hashtag1","hashtag2"]},{"1330604246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604266, 1330604241, 1330604261, 1330604270, 1330604252, 1330604246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.52852439880371 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330604239","1330604253","1330604247","1330604273","1330604267","1330604260"],"photo_ids_order":["1330604239","1330604247","1330604253","1330604260","1330604267","1330604273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b20cc4627eff4762f66bd0cb8f56cadc.jpg","text":"TemporaryFile(/tmp/multipartBody2513010754653890471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_53_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/22/86894cbc876659ef7e93bee7cb044294.jpg","text":"TemporaryFile(/tmp/multipartBody147476235299071207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_41_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/22/f8f7a73fadf4af1b77fc09193c74af7a.jpg","text":"TemporaryFile(/tmp/multipartBody5100234077999431510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_47_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/22/6164eb50597e8a5199dffbd4395b7349.jpg","text":"TemporaryFile(/tmp/multipartBody1236246139448368160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_23_5586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b5feba2bb7c4d025f38f71794701a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5261229597790124019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_28_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32f2171ff06d9e5a28e1f092d333d728.jpg","text":"TemporaryFile(/tmp/multipartBody4536818425406632961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553225912,"filename":"image_22012025_14_38_35_6455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604253","file1":"1330604247","file0":"1330604239","file4":"1330604267","file5":"1330604273","file3":"1330604260"},"map_files_photo_id_array":[{"photo_id":"1330604273","filename":"file5"},{"photo_id":"1330604253","filename":"file2"},{"photo_id":"1330604267","filename":"file4"},{"photo_id":"1330604247","filename":"file1"},{"photo_id":"1330604239","filename":"file0"},{"photo_id":"1330604260","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604239":["hashtag1","hashtag2"]},{"1330604253":["hashtag1","hashtag2"]},{"1330604247":["hashtag1","hashtag2"]},{"1330604273":["hashtag1","hashtag2"]},{"1330604267":["hashtag1","hashtag2"]},{"1330604260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604239, 1330604253, 1330604247, 1330604273, 1330604267, 1330604260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.033344984054565 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:40:22.450820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/40/image_22012025_14_40_52_5233.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_47_6529.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_41_5267.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_35_6502.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_29_5995.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_24_6058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/40/image_22012025_14_40_52_5233.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_47_6529.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_41_5267.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_35_6502.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_29_5995.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_24_6058.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.826523303985596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:40:42.445353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/40/image_22012025_14_40_52_5233.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_47_6529.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_41_5267.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_35_6502.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_29_5995.jpg', '/media/data/images/22012025/14/40/image_22012025_14_40_24_6058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/40/image_22012025_14_40_52_5233.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_47_6529.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_41_5267.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_35_6502.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_29_5995.jpg
/media/data/images/22012025/14/40/image_22012025_14_40_24_6058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330604443","1330604427","1330604400","1330604438","1330604447","1330604434"],"photo_ids_order":["1330604400","1330604427","1330604434","1330604438","1330604443","1330604447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a28ed3f669718041cac4fd85092de04.jpg","text":"TemporaryFile(/tmp/multipartBody4885516864064999061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_29_5995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9ee42b2dd6049af949cabc2d867bc34.jpg","text":"TemporaryFile(/tmp/multipartBody4749025002110068351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_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/22/14c68234f417694b2c041c91a5d1d15c.jpg","text":"TemporaryFile(/tmp/multipartBody4477436269780502873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_52_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/22/7093006b3a23cbc5297cf87b3a25b68a.jpg","text":"TemporaryFile(/tmp/multipartBody1906445149185841340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_35_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/22/b5fefc005713ac17e6717fd9f40ef64b.jpg","text":"TemporaryFile(/tmp/multipartBody415439968694314930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_24_6058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17b45aac0993b898dd00ba98b9fc300d.jpg","text":"TemporaryFile(/tmp/multipartBody399879521045979238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553321418,"filename":"image_22012025_14_40_41_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604434","file1":"1330604427","file0":"1330604400","file4":"1330604443","file5":"1330604447","file3":"1330604438"},"map_files_photo_id_array":[{"photo_id":"1330604447","filename":"file5"},{"photo_id":"1330604434","filename":"file2"},{"photo_id":"1330604443","filename":"file4"},{"photo_id":"1330604427","filename":"file1"},{"photo_id":"1330604400","filename":"file0"},{"photo_id":"1330604438","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604443":["hashtag1","hashtag2"]},{"1330604427":["hashtag1","hashtag2"]},{"1330604400":["hashtag1","hashtag2"]},{"1330604438":["hashtag1","hashtag2"]},{"1330604447":["hashtag1","hashtag2"]},{"1330604434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604443, 1330604427, 1330604400, 1330604438, 1330604447, 1330604434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.43694996833801 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:41:42.637143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/41/image_22012025_14_41_54_5980.jpg', '/media/data/images/22012025/14/41/image_22012025_14_41_48_6647.jpg', '/media/data/images/22012025/14/41/image_22012025_14_41_41_6496.jpg', '/media/data/images/22012025/14/41/image_22012025_14_41_34_5579.jpg', '/media/data/images/22012025/14/41/image_22012025_14_41_29_6278.jpg', '/media/data/images/22012025/14/41/image_22012025_14_41_23_5275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/41/image_22012025_14_41_54_5980.jpg
/media/data/images/22012025/14/41/image_22012025_14_41_48_6647.jpg
/media/data/images/22012025/14/41/image_22012025_14_41_41_6496.jpg
/media/data/images/22012025/14/41/image_22012025_14_41_34_5579.jpg
/media/data/images/22012025/14/41/image_22012025_14_41_29_6278.jpg
/media/data/images/22012025/14/41/image_22012025_14_41_23_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":["1330604484","1330604492","1330604468","1330604477","1330604471","1330604464"],"photo_ids_order":["1330604464","1330604468","1330604471","1330604477","1330604484","1330604492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef2ac46ebd8c7eae6a1af51a6b849943.jpg","text":"TemporaryFile(/tmp/multipartBody7333604183639676343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_29_6278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70086a12c0436a47c7dbcae106bb53d9.jpg","text":"TemporaryFile(/tmp/multipartBody3424307723235224286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_23_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/22/0a7aee26ef2b3af10c0c655580a6e776.jpg","text":"TemporaryFile(/tmp/multipartBody4975963213630569675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_48_6647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/abf8b57122b4a71177546c8833b68ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6202371092086631779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_34_5579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/634d99c63242e08976518b7a8a60ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody6645240791293142550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_41_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/22/8f8a2904d89d234007babe77f3f4545f.jpg","text":"TemporaryFile(/tmp/multipartBody167933811603296933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553372440,"filename":"image_22012025_14_41_54_5980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330604471","file1":"1330604468","file0":"1330604464","file4":"1330604484","file5":"1330604492","file3":"1330604477"},"map_files_photo_id_array":[{"photo_id":"1330604492","filename":"file5"},{"photo_id":"1330604471","filename":"file2"},{"photo_id":"1330604484","filename":"file4"},{"photo_id":"1330604468","filename":"file1"},{"photo_id":"1330604464","filename":"file0"},{"photo_id":"1330604477","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330604484":["hashtag1","hashtag2"]},{"1330604492":["hashtag1","hashtag2"]},{"1330604468":["hashtag1","hashtag2"]},{"1330604477":["hashtag1","hashtag2"]},{"1330604471":["hashtag1","hashtag2"]},{"1330604464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330604484, 1330604492, 1330604468, 1330604477, 1330604471, 1330604464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87254786491394 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:42:42.738401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/42/image_22012025_14_42_53_6107.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_47_6054.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_41_5281.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_35_6445.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_29_6514.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_22_5280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/42/image_22012025_14_42_53_6107.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_47_6054.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_41_5281.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_35_6445.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_29_6514.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_22_5280.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.186724424362183 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:43:03.982437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/42/image_22012025_14_42_53_6107.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_47_6054.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_41_5281.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_35_6445.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_29_6514.jpg', '/media/data/images/22012025/14/42/image_22012025_14_42_22_5280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/42/image_22012025_14_42_53_6107.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_47_6054.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_41_5281.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_35_6445.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_29_6514.jpg
/media/data/images/22012025/14/42/image_22012025_14_42_22_5280.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330605594","1330605114","1330605296","1330605062","1330605748","1330604872"],"photo_ids_order":["1330604872","1330605062","1330605114","1330605296","1330605594","1330605748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6257d59966d12a81e4f177fb42d50240.jpg","text":"TemporaryFile(/tmp/multipartBody1275141796959472072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_29_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/22/aa51607f29dbd7d4feae2bb0bdc975ed.jpg","text":"TemporaryFile(/tmp/multipartBody4043505207318944340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_41_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/22/aa72cd591190eee43e6170f72f8bdcaa.jpg","text":"TemporaryFile(/tmp/multipartBody8393943562362153634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_35_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/22/4839277a33cb30e91274a4e229bf635d.jpg","text":"TemporaryFile(/tmp/multipartBody487478613072417249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_47_6054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3abd12368f30e272224b7af55192b21.jpg","text":"TemporaryFile(/tmp/multipartBody5298872118498935908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_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/22/53c0dc044d6f9182b9d8c756c5526ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3165904900130936959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553459274,"filename":"image_22012025_14_42_53_6107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330605114","file1":"1330605062","file0":"1330604872","file4":"1330605594","file5":"1330605748","file3":"1330605296"},"map_files_photo_id_array":[{"photo_id":"1330605748","filename":"file5"},{"photo_id":"1330605114","filename":"file2"},{"photo_id":"1330605594","filename":"file4"},{"photo_id":"1330605062","filename":"file1"},{"photo_id":"1330604872","filename":"file0"},{"photo_id":"1330605296","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330605594":["hashtag1","hashtag2"]},{"1330605114":["hashtag1","hashtag2"]},{"1330605296":["hashtag1","hashtag2"]},{"1330605062":["hashtag1","hashtag2"]},{"1330605748":["hashtag1","hashtag2"]},{"1330604872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330605594, 1330605114, 1330605296, 1330605062, 1330605748, 1330604872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.78944134712219 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 14:44:03.982217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/43/image_22012025_14_43_54_6080.jpg', '/media/data/images/22012025/14/43/image_22012025_14_43_48_6362.jpg', '/media/data/images/22012025/14/43/image_22012025_14_43_41_6457.jpg', '/media/data/images/22012025/14/43/image_22012025_14_43_35_5297.jpg', '/media/data/images/22012025/14/43/image_22012025_14_43_29_6489.jpg', '/media/data/images/22012025/14/43/image_22012025_14_43_23_6456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/43/image_22012025_14_43_54_6080.jpg
/media/data/images/22012025/14/43/image_22012025_14_43_48_6362.jpg
/media/data/images/22012025/14/43/image_22012025_14_43_41_6457.jpg
/media/data/images/22012025/14/43/image_22012025_14_43_35_5297.jpg
/media/data/images/22012025/14/43/image_22012025_14_43_29_6489.jpg
/media/data/images/22012025/14/43/image_22012025_14_43_23_6456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330606410","1330606430","1330606421","1330606417","1330606405","1330606392"],"photo_ids_order":["1330606392","1330606405","1330606410","1330606417","1330606421","1330606430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7770a9a569656f86b3f2f52dac31ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6025945461339931754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_41_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/22/7d18bb67714528cb71a4119987c42d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7434442932140974346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_23_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/22/55fd4eefc69fe3d57b094a1a6f6596f6.jpg","text":"TemporaryFile(/tmp/multipartBody4414523507406466948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_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/22/8067a76093a45b242a4a8aa3efcc1054.jpg","text":"TemporaryFile(/tmp/multipartBody5710359755756221864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_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/22/09170de721a422b37f49995b1d226643.jpg","text":"TemporaryFile(/tmp/multipartBody1683991834000542569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_48_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/22/23afccd1d9596878e89b2f6f30cd9a41.jpg","text":"TemporaryFile(/tmp/multipartBody1475262059445857581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553511769,"filename":"image_22012025_14_43_54_6080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330606410","file1":"1330606405","file0":"1330606392","file4":"1330606421","file5":"1330606430","file3":"1330606417"},"map_files_photo_id_array":[{"photo_id":"1330606430","filename":"file5"},{"photo_id":"1330606410","filename":"file2"},{"photo_id":"1330606421","filename":"file4"},{"photo_id":"1330606405","filename":"file1"},{"photo_id":"1330606392","filename":"file0"},{"photo_id":"1330606417","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330606410":["hashtag1","hashtag2"]},{"1330606430":["hashtag1","hashtag2"]},{"1330606421":["hashtag1","hashtag2"]},{"1330606417":["hashtag1","hashtag2"]},{"1330606405":["hashtag1","hashtag2"]},{"1330606392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330606410, 1330606430, 1330606421, 1330606417, 1330606405, 1330606392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.46272087097168 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:45:03.909319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/44/image_22012025_14_44_53_5227.jpg', '/media/data/images/22012025/14/44/image_22012025_14_44_47_6493.jpg', '/media/data/images/22012025/14/44/image_22012025_14_44_41_6494.jpg', '/media/data/images/22012025/14/44/image_22012025_14_44_34_5230.jpg', '/media/data/images/22012025/14/44/image_22012025_14_44_29_6518.jpg', '/media/data/images/22012025/14/44/image_22012025_14_44_23_5296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/44/image_22012025_14_44_53_5227.jpg
/media/data/images/22012025/14/44/image_22012025_14_44_47_6493.jpg
/media/data/images/22012025/14/44/image_22012025_14_44_41_6494.jpg
/media/data/images/22012025/14/44/image_22012025_14_44_34_5230.jpg
/media/data/images/22012025/14/44/image_22012025_14_44_29_6518.jpg
/media/data/images/22012025/14/44/image_22012025_14_44_23_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":["1330606509","1330606512","1330606463","1330606457","1330606561","1330606467"],"photo_ids_order":["1330606457","1330606463","1330606467","1330606509","1330606512","1330606561"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/252ed6c0b2feb91b2f81bd1fac749570.jpg","text":"TemporaryFile(/tmp/multipartBody6131862717840330156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_34_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/22/21cfb0a295b9446af244997ec7af865e.jpg","text":"TemporaryFile(/tmp/multipartBody339874398933764035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_29_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/22/5a92d7781a757bf905ae4fbdb8c80b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7617450354978218070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_47_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/22/017ef718fd7c01e583c5383c8d447d5e.jpg","text":"TemporaryFile(/tmp/multipartBody314892861443286605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_53_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/22/a5227a4da86f6d88cadf90ee26bee5ba.jpg","text":"TemporaryFile(/tmp/multipartBody3688995920866685268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_23_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/22/660fb36fe8a341b4d457ac75dde8d53b.jpg","text":"TemporaryFile(/tmp/multipartBody9116178985193915757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553570436,"filename":"image_22012025_14_44_41_6494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330606467","file1":"1330606463","file0":"1330606457","file4":"1330606512","file5":"1330606561","file3":"1330606509"},"map_files_photo_id_array":[{"photo_id":"1330606561","filename":"file5"},{"photo_id":"1330606467","filename":"file2"},{"photo_id":"1330606512","filename":"file4"},{"photo_id":"1330606463","filename":"file1"},{"photo_id":"1330606457","filename":"file0"},{"photo_id":"1330606509","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330606509":["hashtag1","hashtag2"]},{"1330606512":["hashtag1","hashtag2"]},{"1330606463":["hashtag1","hashtag2"]},{"1330606457":["hashtag1","hashtag2"]},{"1330606561":["hashtag1","hashtag2"]},{"1330606467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330606509, 1330606512, 1330606463, 1330606457, 1330606561, 1330606467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53723955154419 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:46:03.627943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/45/image_22012025_14_45_53_6525.jpg', '/media/data/images/22012025/14/45/image_22012025_14_45_46_5262.jpg', '/media/data/images/22012025/14/45/image_22012025_14_45_41_6445.jpg', '/media/data/images/22012025/14/45/image_22012025_14_45_34_6345.jpg', '/media/data/images/22012025/14/45/image_22012025_14_45_28_5324.jpg', '/media/data/images/22012025/14/45/image_22012025_14_45_23_6486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/45/image_22012025_14_45_53_6525.jpg
/media/data/images/22012025/14/45/image_22012025_14_45_46_5262.jpg
/media/data/images/22012025/14/45/image_22012025_14_45_41_6445.jpg
/media/data/images/22012025/14/45/image_22012025_14_45_34_6345.jpg
/media/data/images/22012025/14/45/image_22012025_14_45_28_5324.jpg
/media/data/images/22012025/14/45/image_22012025_14_45_23_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":["1330607369","1330607276","1330607270","1330607266","1330607178","1330607274"],"photo_ids_order":["1330607178","1330607266","1330607270","1330607274","1330607276","1330607369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c470c0bacf8f2601b9dc39e7e2ee37b6.jpg","text":"TemporaryFile(/tmp/multipartBody1376245370737555740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_23_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/22/c6ca15709270c6f8f6a83e27642db291.jpg","text":"TemporaryFile(/tmp/multipartBody1965453763753366179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_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/22/c87d6118b1f81f8e15828fd3b0ff5bed.jpg","text":"TemporaryFile(/tmp/multipartBody5902989091235471732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_41_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/22/777246d38edc15b75bc73314fff9b894.jpg","text":"TemporaryFile(/tmp/multipartBody1350015803451764280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_46_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/22/ef65f6b7db2525e22d093159e06ce581.jpg","text":"TemporaryFile(/tmp/multipartBody9112485443479754932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_53_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/22/798e1182f71fd1e4742459c17bfcd50c.jpg","text":"TemporaryFile(/tmp/multipartBody3442116144345695985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553632852,"filename":"image_22012025_14_45_34_6345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330607270","file1":"1330607266","file0":"1330607178","file4":"1330607276","file5":"1330607369","file3":"1330607274"},"map_files_photo_id_array":[{"photo_id":"1330607369","filename":"file5"},{"photo_id":"1330607270","filename":"file2"},{"photo_id":"1330607276","filename":"file4"},{"photo_id":"1330607266","filename":"file1"},{"photo_id":"1330607178","filename":"file0"},{"photo_id":"1330607274","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330607369":["hashtag1","hashtag2"]},{"1330607276":["hashtag1","hashtag2"]},{"1330607270":["hashtag1","hashtag2"]},{"1330607266":["hashtag1","hashtag2"]},{"1330607178":["hashtag1","hashtag2"]},{"1330607274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330607369, 1330607276, 1330607270, 1330607266, 1330607178, 1330607274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.30111217498779 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:47:04.524668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/46/image_22012025_14_46_53_6467.jpg', '/media/data/images/22012025/14/46/image_22012025_14_46_46_5285.jpg', '/media/data/images/22012025/14/46/image_22012025_14_46_41_6494.jpg', '/media/data/images/22012025/14/46/image_22012025_14_46_35_5234.jpg', '/media/data/images/22012025/14/46/image_22012025_14_46_29_6412.jpg', '/media/data/images/22012025/14/46/image_22012025_14_46_23_6490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/46/image_22012025_14_46_53_6467.jpg
/media/data/images/22012025/14/46/image_22012025_14_46_46_5285.jpg
/media/data/images/22012025/14/46/image_22012025_14_46_41_6494.jpg
/media/data/images/22012025/14/46/image_22012025_14_46_35_5234.jpg
/media/data/images/22012025/14/46/image_22012025_14_46_29_6412.jpg
/media/data/images/22012025/14/46/image_22012025_14_46_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":["1330607441","1330607434","1330607425","1330607419","1330607430","1330607436"],"photo_ids_order":["1330607419","1330607425","1330607430","1330607434","1330607436","1330607441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4bec81533b8f95a28290b8a1981058ee.jpg","text":"TemporaryFile(/tmp/multipartBody7925493759325300722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_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/22/714b3f465b16519d3052325a57b2028d.jpg","text":"TemporaryFile(/tmp/multipartBody7050362419864400815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_35_5234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aaf3bf4af8fb3def0b6833483d081a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8048295234590099182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_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/22/fe868d54e968a60195c0d1c271277d38.jpg","text":"TemporaryFile(/tmp/multipartBody3653404645844527127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_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/22/05fac914cc23560653657ad0324c51da.jpg","text":"TemporaryFile(/tmp/multipartBody5731281723144388337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_41_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/22/5bf3f23ac2fe62606f767a911a1d4e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2823309646279420300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553701847,"filename":"image_22012025_14_46_29_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330607430","file1":"1330607425","file0":"1330607419","file4":"1330607436","file5":"1330607441","file3":"1330607434"},"map_files_photo_id_array":[{"photo_id":"1330607441","filename":"file5"},{"photo_id":"1330607430","filename":"file2"},{"photo_id":"1330607436","filename":"file4"},{"photo_id":"1330607425","filename":"file1"},{"photo_id":"1330607419","filename":"file0"},{"photo_id":"1330607434","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330607441":["hashtag1","hashtag2"]},{"1330607434":["hashtag1","hashtag2"]},{"1330607425":["hashtag1","hashtag2"]},{"1330607419":["hashtag1","hashtag2"]},{"1330607430":["hashtag1","hashtag2"]},{"1330607436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330607441, 1330607434, 1330607425, 1330607419, 1330607430, 1330607436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.33787989616394 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:48:04.126546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/47/image_22012025_14_47_53_6532.jpg', '/media/data/images/22012025/14/47/image_22012025_14_47_47_5223.jpg', '/media/data/images/22012025/14/47/image_22012025_14_47_41_6422.jpg', '/media/data/images/22012025/14/47/image_22012025_14_47_35_6465.jpg', '/media/data/images/22012025/14/47/image_22012025_14_47_29_5277.jpg', '/media/data/images/22012025/14/47/image_22012025_14_47_23_6485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/47/image_22012025_14_47_53_6532.jpg
/media/data/images/22012025/14/47/image_22012025_14_47_47_5223.jpg
/media/data/images/22012025/14/47/image_22012025_14_47_41_6422.jpg
/media/data/images/22012025/14/47/image_22012025_14_47_35_6465.jpg
/media/data/images/22012025/14/47/image_22012025_14_47_29_5277.jpg
/media/data/images/22012025/14/47/image_22012025_14_47_23_6485.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.620683431625366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:48:22.730569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/48/image_22012025_14_48_53_6491.jpg', '/media/data/images/22012025/14/48/image_22012025_14_48_47_6565.jpg', '/media/data/images/22012025/14/48/image_22012025_14_48_40_5279.jpg', '/media/data/images/22012025/14/48/image_22012025_14_48_35_6559.jpg', '/media/data/images/22012025/14/48/image_22012025_14_48_29_5265.jpg', '/media/data/images/22012025/14/48/image_22012025_14_48_23_6545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/48/image_22012025_14_48_53_6491.jpg
/media/data/images/22012025/14/48/image_22012025_14_48_47_6565.jpg
/media/data/images/22012025/14/48/image_22012025_14_48_40_5279.jpg
/media/data/images/22012025/14/48/image_22012025_14_48_35_6559.jpg
/media/data/images/22012025/14/48/image_22012025_14_48_29_5265.jpg
/media/data/images/22012025/14/48/image_22012025_14_48_23_6545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330607495","1330607482","1330607487","1330607499","1330607535","1330607492"],"photo_ids_order":["1330607482","1330607487","1330607492","1330607495","1330607499","1330607535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9abd5120f30ae4b4a5f4447971d5b495.jpg","text":"TemporaryFile(/tmp/multipartBody6077775311417691244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_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/22/f3b8b913b83ada00e569eeda457cd080.jpg","text":"TemporaryFile(/tmp/multipartBody8706168136243537175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_53_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/22/d356087e86d5a9c7fdad58317859dbc0.jpg","text":"TemporaryFile(/tmp/multipartBody7733013869006231815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_47_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/22/67b0c84b9f7ad113a93cdbafbfd3eca2.jpg","text":"TemporaryFile(/tmp/multipartBody2305896313429372711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_29_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/22/a8993fb3ef0a31ed945a7caa23fd26ce.jpg","text":"TemporaryFile(/tmp/multipartBody4404929047385024210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_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/22/f2e9a4e5bc9fa9e5c394a70cdf45a161.jpg","text":"TemporaryFile(/tmp/multipartBody4619332041421489475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553773995,"filename":"image_22012025_14_48_40_5279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330607492","file1":"1330607487","file0":"1330607482","file4":"1330607499","file5":"1330607535","file3":"1330607495"},"map_files_photo_id_array":[{"photo_id":"1330607535","filename":"file5"},{"photo_id":"1330607492","filename":"file2"},{"photo_id":"1330607499","filename":"file4"},{"photo_id":"1330607487","filename":"file1"},{"photo_id":"1330607482","filename":"file0"},{"photo_id":"1330607495","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330607495":["hashtag1","hashtag2"]},{"1330607482":["hashtag1","hashtag2"]},{"1330607487":["hashtag1","hashtag2"]},{"1330607499":["hashtag1","hashtag2"]},{"1330607535":["hashtag1","hashtag2"]},{"1330607492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330607495, 1330607482, 1330607487, 1330607499, 1330607535, 1330607492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72898292541504 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:49:21.903498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/49/image_22012025_14_49_53_6460.jpg', '/media/data/images/22012025/14/49/image_22012025_14_49_46_5274.jpg', '/media/data/images/22012025/14/49/image_22012025_14_49_41_6462.jpg', '/media/data/images/22012025/14/49/image_22012025_14_49_35_5732.jpg', '/media/data/images/22012025/14/49/image_22012025_14_49_29_5707.jpg', '/media/data/images/22012025/14/49/image_22012025_14_49_23_5964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/49/image_22012025_14_49_53_6460.jpg
/media/data/images/22012025/14/49/image_22012025_14_49_46_5274.jpg
/media/data/images/22012025/14/49/image_22012025_14_49_41_6462.jpg
/media/data/images/22012025/14/49/image_22012025_14_49_35_5732.jpg
/media/data/images/22012025/14/49/image_22012025_14_49_29_5707.jpg
/media/data/images/22012025/14/49/image_22012025_14_49_23_5964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330607717","1330607707","1330607703","1330607712","1330607696","1330607699"],"photo_ids_order":["1330607696","1330607699","1330607703","1330607707","1330607712","1330607717"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f6de4ce2d17e5905ce7cac292d5fe621.jpg","text":"TemporaryFile(/tmp/multipartBody8630293497320816905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_23_5964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65f0366585550ff93b26e5720caa45a5.jpg","text":"TemporaryFile(/tmp/multipartBody8159691535669339272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_35_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f03fec3806a6e3b79f9c6cd9a201e95e.jpg","text":"TemporaryFile(/tmp/multipartBody6950101474071869938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_41_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bf22aae401c487355c64a31ef2b3f17e.jpg","text":"TemporaryFile(/tmp/multipartBody5280432119867818138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_29_5707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6cd24fa5b3630b073f73971d71fa3e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2324328245900115907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_53_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/22/8ae0b93ea0a42fee4def90abad34aaf0.jpg","text":"TemporaryFile(/tmp/multipartBody6639599762850078689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553829458,"filename":"image_22012025_14_49_46_5274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330607703","file1":"1330607699","file0":"1330607696","file4":"1330607712","file5":"1330607717","file3":"1330607707"},"map_files_photo_id_array":[{"photo_id":"1330607717","filename":"file5"},{"photo_id":"1330607703","filename":"file2"},{"photo_id":"1330607712","filename":"file4"},{"photo_id":"1330607699","filename":"file1"},{"photo_id":"1330607696","filename":"file0"},{"photo_id":"1330607707","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330607717":["hashtag1","hashtag2"]},{"1330607707":["hashtag1","hashtag2"]},{"1330607703":["hashtag1","hashtag2"]},{"1330607712":["hashtag1","hashtag2"]},{"1330607696":["hashtag1","hashtag2"]},{"1330607699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330607717, 1330607707, 1330607703, 1330607712, 1330607696, 1330607699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70135498046875 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:50:22.000213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/50/image_22012025_14_50_53_6488.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_47_5268.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_42_6528.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_35_5233.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_30_7115.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_23_5337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/50/image_22012025_14_50_53_6488.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_47_5268.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_42_6528.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_35_5233.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_30_7115.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_23_5337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330608011","1330607866","1330607830","1330607871","1330607862","1330607907"],"photo_ids_order":["1330607830","1330607862","1330607866","1330607871","1330607907","1330608011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c79e5ad27e785dd77acebc724b987274.jpg","text":"TemporaryFile(/tmp/multipartBody872642885241465219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_23_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/22/f38a97bc67b310b71385f677143e795c.jpg","text":"TemporaryFile(/tmp/multipartBody5030065245748499819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_42_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/22/bcf1bfad3faf798cdc95c09a85d1dd25.jpg","text":"TemporaryFile(/tmp/multipartBody4619957305780440535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_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/22/6018a8ee62f5f7c410ab8d7886c5185f.jpg","text":"TemporaryFile(/tmp/multipartBody860099547046423516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_35_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/22/54262a38bd0c7c14bd60a0dc61450349.jpg","text":"TemporaryFile(/tmp/multipartBody1449572906453459998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_47_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/22/d0cd2da9e1667e92a633801e13af5826.jpg","text":"TemporaryFile(/tmp/multipartBody355830078728873921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553890596,"filename":"image_22012025_14_50_30_7115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330607866","file1":"1330607862","file0":"1330607830","file4":"1330607907","file5":"1330608011","file3":"1330607871"},"map_files_photo_id_array":[{"photo_id":"1330608011","filename":"file5"},{"photo_id":"1330607866","filename":"file2"},{"photo_id":"1330607907","filename":"file4"},{"photo_id":"1330607862","filename":"file1"},{"photo_id":"1330607830","filename":"file0"},{"photo_id":"1330607871","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330608011":["hashtag1","hashtag2"]},{"1330607866":["hashtag1","hashtag2"]},{"1330607830":["hashtag1","hashtag2"]},{"1330607871":["hashtag1","hashtag2"]},{"1330607862":["hashtag1","hashtag2"]},{"1330607907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330608011, 1330607866, 1330607830, 1330607871, 1330607862, 1330607907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45080614089966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:51:22.328730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/51/image_22012025_14_51_53_6481.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_47_5244.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_41_6469.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_35_6109.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_29_5811.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_23_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/51/image_22012025_14_51_53_6481.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_47_5244.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_41_6469.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_35_6109.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_29_5811.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_23_6481.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330608099","1330608102","1330608092","1330608086","1330608095","1330608089"],"photo_ids_order":["1330608086","1330608089","1330608092","1330608095","1330608099","1330608102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7582f9f2e478a35825d5df1ba0ff551.jpg","text":"TemporaryFile(/tmp/multipartBody2147654013739413014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_29_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cae9384b9f446a80dbe3d16a446eac8.jpg","text":"TemporaryFile(/tmp/multipartBody2417021659953460208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_23_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/22/a9ae870087ba43ac68563d5f09261ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7902686020046207538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_41_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/22/cbfe589fdd57458fa1b0fc74b29b9be1.jpg","text":"TemporaryFile(/tmp/multipartBody7039858872149903855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_53_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/22/bd929fca24a73c308551262df3f4aa8e.jpg","text":"TemporaryFile(/tmp/multipartBody1791537447619961115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_35_6109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/92c3b6f6f275c5add444cdae618391ee.jpg","text":"TemporaryFile(/tmp/multipartBody454096654663475971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737553947600,"filename":"image_22012025_14_51_47_5244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330608092","file1":"1330608089","file0":"1330608086","file4":"1330608099","file5":"1330608102","file3":"1330608095"},"map_files_photo_id_array":[{"photo_id":"1330608102","filename":"file5"},{"photo_id":"1330608092","filename":"file2"},{"photo_id":"1330608099","filename":"file4"},{"photo_id":"1330608089","filename":"file1"},{"photo_id":"1330608086","filename":"file0"},{"photo_id":"1330608095","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330608099":["hashtag1","hashtag2"]},{"1330608102":["hashtag1","hashtag2"]},{"1330608092":["hashtag1","hashtag2"]},{"1330608086":["hashtag1","hashtag2"]},{"1330608095":["hashtag1","hashtag2"]},{"1330608089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330608099, 1330608102, 1330608092, 1330608086, 1330608095, 1330608089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.775498390197754 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 14:52:03.801796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/51/image_22012025_14_51_16_5198.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_11_5827.jpg', '/media/data/images/22012025/14/51/image_22012025_14_51_06_6968.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_58_5222.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_17_5877.jpg', '/media/data/images/22012025/14/50/image_22012025_14_50_12_6460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/51/image_22012025_14_51_16_5198.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_11_5827.jpg
/media/data/images/22012025/14/51/image_22012025_14_51_06_6968.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_58_5222.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_17_5877.jpg
/media/data/images/22012025/14/50/image_22012025_14_50_12_6460.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! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 14:59:05.157904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/58/image_22012025_14_58_52_5216.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_47_6502.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_41_5253.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_35_6432.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_29_6476.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_22_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/58/image_22012025_14_58_52_5216.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_47_6502.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_41_5253.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_35_6432.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_29_6476.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_22_5211.jpg
2025-01-22 14:59:05.237918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/14/58/image_22012025_14_58_52_5216.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_47_6502.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_41_5253.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_35_6432.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_29_6476.jpg', '/media/data/images/22012025/14/58/image_22012025_14_58_22_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/14/58/image_22012025_14_58_52_5216.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_47_6502.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_41_5253.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_35_6432.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_29_6476.jpg
/media/data/images/22012025/14/58/image_22012025_14_58_22_5211.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":["1330608947","1330608973","1330608834","1330608968","1330608962","1330608959"],"photo_ids_order":["1330608834","1330608947","1330608959","1330608962","1330608968","1330608973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c9bc6ff41a10123dc4551bff446738e4.jpg","text":"TemporaryFile(/tmp/multipartBody1985558043609900969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_47_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/22/d385e986f3a475e17ba5577bc242cfae.jpg","text":"TemporaryFile(/tmp/multipartBody2615341720574797805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_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/22/9d31ad157045a6330349c0bc7414fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody3223168207038664744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_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/22/caf4c9b94fa51d2317e5b8a899cc8c4e.jpg","text":"TemporaryFile(/tmp/multipartBody9155998723029129656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_29_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/22/0ebbc486c4432c6b4a9419bc9521f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4409338917592492490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_35_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/22/814fae1894cd73f0b5500d151470167c.jpg","text":"TemporaryFile(/tmp/multipartBody6263942076081470730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554427750,"filename":"image_22012025_14_58_41_5253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330608959","file1":"1330608947","file0":"1330608834","file4":"1330608968","file5":"1330608973","file3":"1330608962"},"map_files_photo_id_array":[{"photo_id":"1330608973","filename":"file5"},{"photo_id":"1330608959","filename":"file2"},{"photo_id":"1330608968","filename":"file4"},{"photo_id":"1330608947","filename":"file1"},{"photo_id":"1330608834","filename":"file0"},{"photo_id":"1330608962","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330608947":["hashtag1","hashtag2"]},{"1330608973":["hashtag1","hashtag2"]},{"1330608834":["hashtag1","hashtag2"]},{"1330608968":["hashtag1","hashtag2"]},{"1330608962":["hashtag1","hashtag2"]},{"1330608959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330608947, 1330608973, 1330608834, 1330608968, 1330608962, 1330608959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.78094244003296 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330608967","1330608961","1330608901","1330608975","1330608972","1330608956"],"photo_ids_order":["1330608901","1330608956","1330608961","1330608967","1330608972","1330608975"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/181ecbd653a16c4c324a2408c397a982.jpg","text":"TemporaryFile(/tmp/multipartBody8196111610444093695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_35_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/22/7fe6ea73f73a0462f21b56b4d26ac2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2760971733624700655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_41_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/22/a9cf900d5ecc3b2b3a14bebe9334566c.jpg","text":"TemporaryFile(/tmp/multipartBody676568802635974292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_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/22/74beec9dd2773449ad2ff5beda701832.jpg","text":"TemporaryFile(/tmp/multipartBody6831071268305711133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_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/22/7c3cf9b2a8bd4a6aad30585a31218cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8771967462395471580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_29_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/22/8e170b078ac169f99b007e38c6d973be.jpg","text":"TemporaryFile(/tmp/multipartBody744588556396347657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554430902,"filename":"image_22012025_14_58_47_6502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330608961","file1":"1330608956","file0":"1330608901","file4":"1330608972","file5":"1330608975","file3":"1330608967"},"map_files_photo_id_array":[{"photo_id":"1330608975","filename":"file5"},{"photo_id":"1330608961","filename":"file2"},{"photo_id":"1330608972","filename":"file4"},{"photo_id":"1330608956","filename":"file1"},{"photo_id":"1330608901","filename":"file0"},{"photo_id":"1330608967","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330608967":["hashtag1","hashtag2"]},{"1330608961":["hashtag1","hashtag2"]},{"1330608901":["hashtag1","hashtag2"]},{"1330608975":["hashtag1","hashtag2"]},{"1330608972":["hashtag1","hashtag2"]},{"1330608956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330608967, 1330608961, 1330608901, 1330608975, 1330608972, 1330608956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.259902477264404 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:00:21.828661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/00/image_22012025_15_00_53_5264.jpg', '/media/data/images/22012025/15/00/image_22012025_15_00_47_6496.jpg', '/media/data/images/22012025/15/00/image_22012025_15_00_41_6519.jpg', '/media/data/images/22012025/15/00/image_22012025_15_00_34_4472.jpg', '/media/data/images/22012025/15/00/image_22012025_15_00_30_6641.jpg', '/media/data/images/22012025/15/00/image_22012025_15_00_23_6078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/00/image_22012025_15_00_53_5264.jpg
/media/data/images/22012025/15/00/image_22012025_15_00_47_6496.jpg
/media/data/images/22012025/15/00/image_22012025_15_00_41_6519.jpg
/media/data/images/22012025/15/00/image_22012025_15_00_34_4472.jpg
/media/data/images/22012025/15/00/image_22012025_15_00_30_6641.jpg
/media/data/images/22012025/15/00/image_22012025_15_00_23_6078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330609039","1330609021","1330609034","1330609043","1330609016","1330609028"],"photo_ids_order":["1330609016","1330609021","1330609028","1330609034","1330609039","1330609043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1d8081a9c8ee79cb55bf7fdfddba7e38.jpg","text":"TemporaryFile(/tmp/multipartBody3877177875282628629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_30_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/22/a88c3e9ad710e281dbd9f8c83d252715.jpg","text":"TemporaryFile(/tmp/multipartBody9077966065625602417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_47_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/22/dbb0fb631f4686b443eca78211cb60ea.jpg","text":"TemporaryFile(/tmp/multipartBody5391748248308779282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_34_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6601c503196016a3f7e2d2d76e4bcca2.jpg","text":"TemporaryFile(/tmp/multipartBody6080319823829602697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_23_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3179ff2ca5b6babae9e80a5fa488f32.jpg","text":"TemporaryFile(/tmp/multipartBody7090942234403462547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_53_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/22/a3f6e1feaab93de5407c89360ce4d275.jpg","text":"TemporaryFile(/tmp/multipartBody1735646011808552462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554494081,"filename":"image_22012025_15_00_41_6519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609028","file1":"1330609021","file0":"1330609016","file4":"1330609039","file5":"1330609043","file3":"1330609034"},"map_files_photo_id_array":[{"photo_id":"1330609043","filename":"file5"},{"photo_id":"1330609028","filename":"file2"},{"photo_id":"1330609039","filename":"file4"},{"photo_id":"1330609021","filename":"file1"},{"photo_id":"1330609016","filename":"file0"},{"photo_id":"1330609034","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609039":["hashtag1","hashtag2"]},{"1330609021":["hashtag1","hashtag2"]},{"1330609034":["hashtag1","hashtag2"]},{"1330609043":["hashtag1","hashtag2"]},{"1330609016":["hashtag1","hashtag2"]},{"1330609028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609039, 1330609021, 1330609034, 1330609043, 1330609016, 1330609028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.619038820266724 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:01:22.052326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/01/image_22012025_15_01_53_6444.jpg', '/media/data/images/22012025/15/01/image_22012025_15_01_47_5221.jpg', '/media/data/images/22012025/15/01/image_22012025_15_01_41_6455.jpg', '/media/data/images/22012025/15/01/image_22012025_15_01_35_5954.jpg', '/media/data/images/22012025/15/01/image_22012025_15_01_29_5739.jpg', '/media/data/images/22012025/15/01/image_22012025_15_01_24_6628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/01/image_22012025_15_01_53_6444.jpg
/media/data/images/22012025/15/01/image_22012025_15_01_47_5221.jpg
/media/data/images/22012025/15/01/image_22012025_15_01_41_6455.jpg
/media/data/images/22012025/15/01/image_22012025_15_01_35_5954.jpg
/media/data/images/22012025/15/01/image_22012025_15_01_29_5739.jpg
/media/data/images/22012025/15/01/image_22012025_15_01_24_6628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330609063","1330609087","1330609072","1330609068","1330609081","1330609075"],"photo_ids_order":["1330609063","1330609068","1330609072","1330609075","1330609081","1330609087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cef017b25419cd69d5afcacf94f71cd.jpg","text":"TemporaryFile(/tmp/multipartBody1796678144668634582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_53_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/22/55dde4a978cd694aedbe4a4b334892fe.jpg","text":"TemporaryFile(/tmp/multipartBody1640881580666962433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_24_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/22/0d8cd613ff6899b4c8e243133514d221.jpg","text":"TemporaryFile(/tmp/multipartBody1161188251589937943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_41_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/22/0104dbd642f687e58ae65489ad32d792.jpg","text":"TemporaryFile(/tmp/multipartBody5373719571996800229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_47_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/22/0a989d0c665f37017fd0a747b5b894ae.jpg","text":"TemporaryFile(/tmp/multipartBody6518649590326756587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_29_5739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b9ff30a46e032de574352dd41b0dadb.jpg","text":"TemporaryFile(/tmp/multipartBody1364604710957732872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554546634,"filename":"image_22012025_15_01_35_5954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609072","file1":"1330609068","file0":"1330609063","file4":"1330609081","file5":"1330609087","file3":"1330609075"},"map_files_photo_id_array":[{"photo_id":"1330609087","filename":"file5"},{"photo_id":"1330609072","filename":"file2"},{"photo_id":"1330609081","filename":"file4"},{"photo_id":"1330609068","filename":"file1"},{"photo_id":"1330609063","filename":"file0"},{"photo_id":"1330609075","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609063":["hashtag1","hashtag2"]},{"1330609087":["hashtag1","hashtag2"]},{"1330609072":["hashtag1","hashtag2"]},{"1330609068":["hashtag1","hashtag2"]},{"1330609081":["hashtag1","hashtag2"]},{"1330609075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609063, 1330609087, 1330609072, 1330609068, 1330609081, 1330609075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.619940519332886 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-22 15:02:22.145852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/02/image_22012025_15_02_53_6432.jpg', '/media/data/images/22012025/15/02/image_22012025_15_02_47_6434.jpg', '/media/data/images/22012025/15/02/image_22012025_15_02_40_5243.jpg', '/media/data/images/22012025/15/02/image_22012025_15_02_35_6453.jpg', '/media/data/images/22012025/15/02/image_22012025_15_02_29_5931.jpg', '/media/data/images/22012025/15/02/image_22012025_15_02_23_5360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/02/image_22012025_15_02_53_6432.jpg
/media/data/images/22012025/15/02/image_22012025_15_02_47_6434.jpg
/media/data/images/22012025/15/02/image_22012025_15_02_40_5243.jpg
/media/data/images/22012025/15/02/image_22012025_15_02_35_6453.jpg
/media/data/images/22012025/15/02/image_22012025_15_02_29_5931.jpg
/media/data/images/22012025/15/02/image_22012025_15_02_23_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":["1330609135","1330609158","1330609131","1330609166","1330609151","1330609163"],"photo_ids_order":["1330609131","1330609135","1330609151","1330609158","1330609163","1330609166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61bbc0a73979d1275aaf7d8c2e0d8059.jpg","text":"TemporaryFile(/tmp/multipartBody4277362075929679048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_47_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/22/570e6ecf900347db67128866ca8c63f1.jpg","text":"TemporaryFile(/tmp/multipartBody4157673727326685911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_35_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/22/479d93c07eb7f41db88ebaa12b7d4cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8839828822027291742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_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/22/747523feef4d3800119c431defb28fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4324838375462380551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_23_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/22/666fc46ec6f839f855b45095124c89a3.jpg","text":"TemporaryFile(/tmp/multipartBody7012010572458462171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_40_5243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8bc4ce69dbfbb3c6d0d50fb541b1923b.jpg","text":"TemporaryFile(/tmp/multipartBody6709996839464289662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554614135,"filename":"image_22012025_15_02_29_5931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609151","file1":"1330609135","file0":"1330609131","file4":"1330609163","file5":"1330609166","file3":"1330609158"},"map_files_photo_id_array":[{"photo_id":"1330609166","filename":"file5"},{"photo_id":"1330609151","filename":"file2"},{"photo_id":"1330609163","filename":"file4"},{"photo_id":"1330609135","filename":"file1"},{"photo_id":"1330609131","filename":"file0"},{"photo_id":"1330609158","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609135":["hashtag1","hashtag2"]},{"1330609158":["hashtag1","hashtag2"]},{"1330609131":["hashtag1","hashtag2"]},{"1330609166":["hashtag1","hashtag2"]},{"1330609151":["hashtag1","hashtag2"]},{"1330609163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609135, 1330609158, 1330609131, 1330609166, 1330609151, 1330609163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.912710666656494 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:03:22.408554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/03/image_22012025_15_03_52_5259.jpg', '/media/data/images/22012025/15/03/image_22012025_15_03_47_6520.jpg', '/media/data/images/22012025/15/03/image_22012025_15_03_41_5229.jpg', '/media/data/images/22012025/15/03/image_22012025_15_03_35_5958.jpg', '/media/data/images/22012025/15/03/image_22012025_15_03_29_6426.jpg', '/media/data/images/22012025/15/03/image_22012025_15_03_23_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/03/image_22012025_15_03_52_5259.jpg
/media/data/images/22012025/15/03/image_22012025_15_03_47_6520.jpg
/media/data/images/22012025/15/03/image_22012025_15_03_41_5229.jpg
/media/data/images/22012025/15/03/image_22012025_15_03_35_5958.jpg
/media/data/images/22012025/15/03/image_22012025_15_03_29_6426.jpg
/media/data/images/22012025/15/03/image_22012025_15_03_23_6549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330609432","1330609395","1330609392","1330609440","1330609422","1330609436"],"photo_ids_order":["1330609392","1330609395","1330609422","1330609432","1330609436","1330609440"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48c8daee1956031dd3a03b479d9d8b04.jpg","text":"TemporaryFile(/tmp/multipartBody1724792637976942108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_35_5958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1d353ee3334533207e9237a57b56e0ce.jpg","text":"TemporaryFile(/tmp/multipartBody2963517572644337529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_47_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/22/6842efae401d1bd4cb94b506d1a51340.jpg","text":"TemporaryFile(/tmp/multipartBody8493619943455282505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_52_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/22/f02dcb5ab8f3dd0abcc3cc6b27853bc6.jpg","text":"TemporaryFile(/tmp/multipartBody9084921909388890743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_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/22/b91aeba48ffc7e329a0edb6d8ee0d345.jpg","text":"TemporaryFile(/tmp/multipartBody7689117180796829369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_41_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/22/a4c9d02869d0445a9d3ff741a369077a.jpg","text":"TemporaryFile(/tmp/multipartBody1041277528087868746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554672445,"filename":"image_22012025_15_03_29_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609422","file1":"1330609395","file0":"1330609392","file4":"1330609436","file5":"1330609440","file3":"1330609432"},"map_files_photo_id_array":[{"photo_id":"1330609440","filename":"file5"},{"photo_id":"1330609422","filename":"file2"},{"photo_id":"1330609436","filename":"file4"},{"photo_id":"1330609395","filename":"file1"},{"photo_id":"1330609392","filename":"file0"},{"photo_id":"1330609432","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609432":["hashtag1","hashtag2"]},{"1330609395":["hashtag1","hashtag2"]},{"1330609392":["hashtag1","hashtag2"]},{"1330609440":["hashtag1","hashtag2"]},{"1330609422":["hashtag1","hashtag2"]},{"1330609436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609432, 1330609395, 1330609392, 1330609440, 1330609422, 1330609436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.629258155822754 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:04:22.527012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/04/image_22012025_15_04_53_6458.jpg', '/media/data/images/22012025/15/04/image_22012025_15_04_47_5043.jpg', '/media/data/images/22012025/15/04/image_22012025_15_04_41_6501.jpg', '/media/data/images/22012025/15/04/image_22012025_15_04_35_5267.jpg', '/media/data/images/22012025/15/04/image_22012025_15_04_30_6698.jpg', '/media/data/images/22012025/15/04/image_22012025_15_04_23_6524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/04/image_22012025_15_04_53_6458.jpg
/media/data/images/22012025/15/04/image_22012025_15_04_47_5043.jpg
/media/data/images/22012025/15/04/image_22012025_15_04_41_6501.jpg
/media/data/images/22012025/15/04/image_22012025_15_04_35_5267.jpg
/media/data/images/22012025/15/04/image_22012025_15_04_30_6698.jpg
/media/data/images/22012025/15/04/image_22012025_15_04_23_6524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330609477","1330609462","1330609479","1330609473","1330609469","1330609466"],"photo_ids_order":["1330609462","1330609466","1330609469","1330609473","1330609477","1330609479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c9690b7179b246b18b5448b9df6729c5.jpg","text":"TemporaryFile(/tmp/multipartBody5217591420842306545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_30_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/22/e94baf3d8ba8295105419f813a6b9aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8099546885899032306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_53_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/22/54b120e8946b2b30a58ee7605b27fb9a.jpg","text":"TemporaryFile(/tmp/multipartBody210312176234746440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_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/22/4ea5f1b821ad1805b4d0c5086a326704.jpg","text":"TemporaryFile(/tmp/multipartBody2618546305811021048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_35_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/22/b8a7ca845c0c94ee70fb4ae3b427974f.jpg","text":"TemporaryFile(/tmp/multipartBody4106026805787705591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_41_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/22/f460d96ad01c275a9bcca183f62b88fe.jpg","text":"TemporaryFile(/tmp/multipartBody2365262506730841356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554730926,"filename":"image_22012025_15_04_47_5043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609469","file1":"1330609466","file0":"1330609462","file4":"1330609477","file5":"1330609479","file3":"1330609473"},"map_files_photo_id_array":[{"photo_id":"1330609479","filename":"file5"},{"photo_id":"1330609469","filename":"file2"},{"photo_id":"1330609477","filename":"file4"},{"photo_id":"1330609466","filename":"file1"},{"photo_id":"1330609462","filename":"file0"},{"photo_id":"1330609473","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609477":["hashtag1","hashtag2"]},{"1330609462":["hashtag1","hashtag2"]},{"1330609479":["hashtag1","hashtag2"]},{"1330609473":["hashtag1","hashtag2"]},{"1330609469":["hashtag1","hashtag2"]},{"1330609466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609477, 1330609462, 1330609479, 1330609473, 1330609469, 1330609466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.21377658843994 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:05:22.589088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/05/image_22012025_15_05_53_6528.jpg', '/media/data/images/22012025/15/05/image_22012025_15_05_46_5278.jpg', '/media/data/images/22012025/15/05/image_22012025_15_05_41_6480.jpg', '/media/data/images/22012025/15/05/image_22012025_15_05_35_6125.jpg', '/media/data/images/22012025/15/05/image_22012025_15_05_29_5290.jpg', '/media/data/images/22012025/15/05/image_22012025_15_05_23_6587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/05/image_22012025_15_05_53_6528.jpg
/media/data/images/22012025/15/05/image_22012025_15_05_46_5278.jpg
/media/data/images/22012025/15/05/image_22012025_15_05_41_6480.jpg
/media/data/images/22012025/15/05/image_22012025_15_05_35_6125.jpg
/media/data/images/22012025/15/05/image_22012025_15_05_29_5290.jpg
/media/data/images/22012025/15/05/image_22012025_15_05_23_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":["1330609507","1330609560","1330609512","1330609503","1330609547","1330609517"],"photo_ids_order":["1330609503","1330609507","1330609512","1330609517","1330609547","1330609560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/438d95a856e0f47dc87043edacfa3591.jpg","text":"TemporaryFile(/tmp/multipartBody2533175475388214396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_46_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/22/89915ef10ef9ca323c7639ddfd2bc81a.jpg","text":"TemporaryFile(/tmp/multipartBody4819323893901154157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_23_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/22/4f62d719164e2477e220bdcf74814fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1345942345388708239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_41_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/22/5ef0aa78a4df677f0eb8288028e0da73.jpg","text":"TemporaryFile(/tmp/multipartBody6028059417413693478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_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/22/c91a687100c117f1d88dfd78ede09638.jpg","text":"TemporaryFile(/tmp/multipartBody4325747080881790056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_29_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/22/3f7b05cf3ab39ccee7717540d6e0447b.jpg","text":"TemporaryFile(/tmp/multipartBody7975628784623575247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554800626,"filename":"image_22012025_15_05_35_6125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609512","file1":"1330609507","file0":"1330609503","file4":"1330609547","file5":"1330609560","file3":"1330609517"},"map_files_photo_id_array":[{"photo_id":"1330609560","filename":"file5"},{"photo_id":"1330609512","filename":"file2"},{"photo_id":"1330609547","filename":"file4"},{"photo_id":"1330609507","filename":"file1"},{"photo_id":"1330609503","filename":"file0"},{"photo_id":"1330609517","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609507":["hashtag1","hashtag2"]},{"1330609560":["hashtag1","hashtag2"]},{"1330609512":["hashtag1","hashtag2"]},{"1330609503":["hashtag1","hashtag2"]},{"1330609547":["hashtag1","hashtag2"]},{"1330609517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609507, 1330609560, 1330609512, 1330609503, 1330609547, 1330609517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.26056528091431 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:06:22.692700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/06/image_22012025_15_06_53_5253.jpg', '/media/data/images/22012025/15/06/image_22012025_15_06_47_6509.jpg', '/media/data/images/22012025/15/06/image_22012025_15_06_41_6506.jpg', '/media/data/images/22012025/15/06/image_22012025_15_06_35_5610.jpg', '/media/data/images/22012025/15/06/image_22012025_15_06_29_6341.jpg', '/media/data/images/22012025/15/06/image_22012025_15_06_23_5315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/06/image_22012025_15_06_53_5253.jpg
/media/data/images/22012025/15/06/image_22012025_15_06_47_6509.jpg
/media/data/images/22012025/15/06/image_22012025_15_06_41_6506.jpg
/media/data/images/22012025/15/06/image_22012025_15_06_35_5610.jpg
/media/data/images/22012025/15/06/image_22012025_15_06_29_6341.jpg
/media/data/images/22012025/15/06/image_22012025_15_06_23_5315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330609606","1330609587","1330609611","1330609592","1330609595","1330609601"],"photo_ids_order":["1330609587","1330609592","1330609595","1330609601","1330609606","1330609611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b26d92d20791cb62ad4ef3d8fc70f61c.jpg","text":"TemporaryFile(/tmp/multipartBody6628002128297551727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_29_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/22/7a707b4bba6105dbc45f892296168e88.jpg","text":"TemporaryFile(/tmp/multipartBody198798029642632681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_53_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/22/a2538d5bd662d9749b24b02ae028fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody6809099070562852251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_23_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/22/96399c2bb5c37fff322da1bc71402869.jpg","text":"TemporaryFile(/tmp/multipartBody7637314713644521522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_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/22/32d4fd5e0d082fcdb1e5ddc3e47cc621.jpg","text":"TemporaryFile(/tmp/multipartBody3638712138380595780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_41_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/22/de7742b0a26a58fd3a1b6631d3907ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7304366620060706225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554852639,"filename":"image_22012025_15_06_35_5610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330609595","file1":"1330609592","file0":"1330609587","file4":"1330609606","file5":"1330609611","file3":"1330609601"},"map_files_photo_id_array":[{"photo_id":"1330609611","filename":"file5"},{"photo_id":"1330609595","filename":"file2"},{"photo_id":"1330609606","filename":"file4"},{"photo_id":"1330609592","filename":"file1"},{"photo_id":"1330609587","filename":"file0"},{"photo_id":"1330609601","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330609606":["hashtag1","hashtag2"]},{"1330609587":["hashtag1","hashtag2"]},{"1330609611":["hashtag1","hashtag2"]},{"1330609592":["hashtag1","hashtag2"]},{"1330609595":["hashtag1","hashtag2"]},{"1330609601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330609606, 1330609587, 1330609611, 1330609592, 1330609595, 1330609601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.52065896987915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:07:21.932358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/07/image_22012025_15_07_52_5241.jpg', '/media/data/images/22012025/15/07/image_22012025_15_07_47_6477.jpg', '/media/data/images/22012025/15/07/image_22012025_15_07_41_5231.jpg', '/media/data/images/22012025/15/07/image_22012025_15_07_35_6946.jpg', '/media/data/images/22012025/15/07/image_22012025_15_07_29_5898.jpg', '/media/data/images/22012025/15/07/image_22012025_15_07_23_5213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/07/image_22012025_15_07_52_5241.jpg
/media/data/images/22012025/15/07/image_22012025_15_07_47_6477.jpg
/media/data/images/22012025/15/07/image_22012025_15_07_41_5231.jpg
/media/data/images/22012025/15/07/image_22012025_15_07_35_6946.jpg
/media/data/images/22012025/15/07/image_22012025_15_07_29_5898.jpg
/media/data/images/22012025/15/07/image_22012025_15_07_23_5213.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330610156","1330610473","1330609892","1330610424","1330610468","1330610477"],"photo_ids_order":["1330609892","1330610156","1330610424","1330610468","1330610473","1330610477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e30bf3fa5986fbdf2ea451ccefc88e9.jpg","text":"TemporaryFile(/tmp/multipartBody1560862968525644807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_47_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/22/42f591bbe9ed1b27a86ecfa0e043da47.jpg","text":"TemporaryFile(/tmp/multipartBody930257733188954643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_29_5898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1d14c44980eef8bf7a1834afcb087b4.jpg","text":"TemporaryFile(/tmp/multipartBody3811355518385659703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_52_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/22/a11791f8e7fdd547571a60cc05593568.jpg","text":"TemporaryFile(/tmp/multipartBody6918621903039707324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_41_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/22/a4562bd639579cd24bfa2818a9e2f123.jpg","text":"TemporaryFile(/tmp/multipartBody1890227798001506791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_35_6946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd1945be112757ab274a140aef668bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1739564941820977947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554915654,"filename":"image_22012025_15_07_23_5213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330610424","file1":"1330610156","file0":"1330609892","file4":"1330610473","file5":"1330610477","file3":"1330610468"},"map_files_photo_id_array":[{"photo_id":"1330610477","filename":"file5"},{"photo_id":"1330610424","filename":"file2"},{"photo_id":"1330610473","filename":"file4"},{"photo_id":"1330610156","filename":"file1"},{"photo_id":"1330609892","filename":"file0"},{"photo_id":"1330610468","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330610156":["hashtag1","hashtag2"]},{"1330610473":["hashtag1","hashtag2"]},{"1330609892":["hashtag1","hashtag2"]},{"1330610424":["hashtag1","hashtag2"]},{"1330610468":["hashtag1","hashtag2"]},{"1330610477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330610156, 1330610473, 1330609892, 1330610424, 1330610468, 1330610477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.15070033073425 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:08:22.070358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/08/image_22012025_15_08_53_6531.jpg', '/media/data/images/22012025/15/08/image_22012025_15_08_47_6505.jpg', '/media/data/images/22012025/15/08/image_22012025_15_08_40_5600.jpg', '/media/data/images/22012025/15/08/image_22012025_15_08_35_5990.jpg', '/media/data/images/22012025/15/08/image_22012025_15_08_29_6097.jpg', '/media/data/images/22012025/15/08/image_22012025_15_08_23_5336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/08/image_22012025_15_08_53_6531.jpg
/media/data/images/22012025/15/08/image_22012025_15_08_47_6505.jpg
/media/data/images/22012025/15/08/image_22012025_15_08_40_5600.jpg
/media/data/images/22012025/15/08/image_22012025_15_08_35_5990.jpg
/media/data/images/22012025/15/08/image_22012025_15_08_29_6097.jpg
/media/data/images/22012025/15/08/image_22012025_15_08_23_5336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330610563","1330610559","1330610550","1330610547","1330610567","1330610555"],"photo_ids_order":["1330610547","1330610550","1330610555","1330610559","1330610563","1330610567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/34a8d43457b38c4daf940f52999e3e8f.jpg","text":"TemporaryFile(/tmp/multipartBody8146259165185792084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_29_6097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da36c883a73d0022520ce1e48715b918.jpg","text":"TemporaryFile(/tmp/multipartBody6148275827610932500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_35_5990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b317ffcc169904e88ac7e709ff9457d.jpg","text":"TemporaryFile(/tmp/multipartBody6830231750164880278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_47_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/22/2ade69bf162ffd1bfaecaec835f72bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2813156803144498944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_53_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/22/a53253ac8c8bf6a436a5310016d4efef.jpg","text":"TemporaryFile(/tmp/multipartBody3887564708828121187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_23_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/22/faae38349e288be04646beb1b3f1c99c.jpg","text":"TemporaryFile(/tmp/multipartBody8368166491076024481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737554974219,"filename":"image_22012025_15_08_40_5600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330610555","file1":"1330610550","file0":"1330610547","file4":"1330610563","file5":"1330610567","file3":"1330610559"},"map_files_photo_id_array":[{"photo_id":"1330610567","filename":"file5"},{"photo_id":"1330610555","filename":"file2"},{"photo_id":"1330610563","filename":"file4"},{"photo_id":"1330610550","filename":"file1"},{"photo_id":"1330610547","filename":"file0"},{"photo_id":"1330610559","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330610563":["hashtag1","hashtag2"]},{"1330610559":["hashtag1","hashtag2"]},{"1330610550":["hashtag1","hashtag2"]},{"1330610547":["hashtag1","hashtag2"]},{"1330610567":["hashtag1","hashtag2"]},{"1330610555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330610563, 1330610559, 1330610550, 1330610547, 1330610567, 1330610555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.27518153190613 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:09:22.177676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/09/image_22012025_15_09_53_6468.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_46_5244.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_41_6474.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_35_6468.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_29_5935.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_23_5332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/09/image_22012025_15_09_53_6468.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_46_5244.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_41_6474.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_35_6468.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_29_5935.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_23_5332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.306957483291626 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:09:42.441852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/09/image_22012025_15_09_53_6468.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_46_5244.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_41_6474.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_35_6468.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_29_5935.jpg', '/media/data/images/22012025/15/09/image_22012025_15_09_23_5332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/09/image_22012025_15_09_53_6468.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_46_5244.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_41_6474.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_35_6468.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_29_5935.jpg
/media/data/images/22012025/15/09/image_22012025_15_09_23_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":["1330611166","1330611112","1330611162","1330611156","1330611140","1330611128"],"photo_ids_order":["1330611112","1330611128","1330611140","1330611156","1330611162","1330611166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3865995a21a63ad07e642709a6708bc.jpg","text":"TemporaryFile(/tmp/multipartBody5922312748137243653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_23_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/22/213d89d15473c0e687ea75b9f16f33e8.jpg","text":"TemporaryFile(/tmp/multipartBody793081497864656255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_53_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/22/b9c05a8287ce5d5ccf582654162a9c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6790471451408518928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_29_5935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c0fe46e43ce748176b45bf889d4e224.jpg","text":"TemporaryFile(/tmp/multipartBody5206976706216143268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_35_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/22/d1ee4d69e4ea2927cd25a4d8787a030b.jpg","text":"TemporaryFile(/tmp/multipartBody5510383130335131432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_41_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/22/bbcc75e76ada8c5264d16a125b10aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody7924741577603848215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555058029,"filename":"image_22012025_15_09_46_5244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611140","file1":"1330611128","file0":"1330611112","file4":"1330611162","file5":"1330611166","file3":"1330611156"},"map_files_photo_id_array":[{"photo_id":"1330611166","filename":"file5"},{"photo_id":"1330611140","filename":"file2"},{"photo_id":"1330611162","filename":"file4"},{"photo_id":"1330611128","filename":"file1"},{"photo_id":"1330611112","filename":"file0"},{"photo_id":"1330611156","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611166":["hashtag1","hashtag2"]},{"1330611112":["hashtag1","hashtag2"]},{"1330611162":["hashtag1","hashtag2"]},{"1330611156":["hashtag1","hashtag2"]},{"1330611140":["hashtag1","hashtag2"]},{"1330611128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611166, 1330611112, 1330611162, 1330611156, 1330611140, 1330611128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.25369906425476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:10:42.412477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/10/image_22012025_15_10_54_7540.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_47_5131.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_41_6473.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_35_6223.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_29_5341.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_24_6555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/10/image_22012025_15_10_54_7540.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_47_5131.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_41_6473.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_35_6223.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_29_5341.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_24_6555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.845655918121338 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:11:04.313185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/10/image_22012025_15_10_54_7540.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_47_5131.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_41_6473.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_35_6223.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_29_5341.jpg', '/media/data/images/22012025/15/10/image_22012025_15_10_24_6555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/10/image_22012025_15_10_54_7540.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_47_5131.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_41_6473.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_35_6223.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_29_5341.jpg
/media/data/images/22012025/15/10/image_22012025_15_10_24_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":["1330611313","1330611297","1330611309","1330611300","1330611293","1330611305"],"photo_ids_order":["1330611293","1330611297","1330611300","1330611305","1330611309","1330611313"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1d11c879cca4587cbbc7a2480f28b2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7533639719988712699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_24_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/22/8ddee09ccee1524ce22c930587e150eb.jpg","text":"TemporaryFile(/tmp/multipartBody8675282569037985315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_47_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/22/1b33a54bc420b9695a4c2bab32a1fd63.jpg","text":"TemporaryFile(/tmp/multipartBody7746215987737616706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_29_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/22/f0563822fda5ec1bdf5745ee74e8aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody2597003569839603191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_41_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/22/a6a69d8a22358e5d3ab805467fdcf12e.jpg","text":"TemporaryFile(/tmp/multipartBody3295725516177981479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_54_7540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e12ca25eb4ef1dc324eb8f233588b57.jpg","text":"TemporaryFile(/tmp/multipartBody7285501461406407873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555140394,"filename":"image_22012025_15_10_35_6223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611300","file1":"1330611297","file0":"1330611293","file4":"1330611309","file5":"1330611313","file3":"1330611305"},"map_files_photo_id_array":[{"photo_id":"1330611313","filename":"file5"},{"photo_id":"1330611300","filename":"file2"},{"photo_id":"1330611309","filename":"file4"},{"photo_id":"1330611297","filename":"file1"},{"photo_id":"1330611293","filename":"file0"},{"photo_id":"1330611305","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611313":["hashtag1","hashtag2"]},{"1330611297":["hashtag1","hashtag2"]},{"1330611309":["hashtag1","hashtag2"]},{"1330611300":["hashtag1","hashtag2"]},{"1330611293":["hashtag1","hashtag2"]},{"1330611305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611313, 1330611297, 1330611309, 1330611300, 1330611293, 1330611305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.87555503845215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:12:03.997964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/11/image_22012025_15_11_54_6101.jpg', '/media/data/images/22012025/15/11/image_22012025_15_11_48_6082.jpg', '/media/data/images/22012025/15/11/image_22012025_15_11_41_6494.jpg', '/media/data/images/22012025/15/11/image_22012025_15_11_35_5209.jpg', '/media/data/images/22012025/15/11/image_22012025_15_11_29_6460.jpg', '/media/data/images/22012025/15/11/image_22012025_15_11_23_6449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/11/image_22012025_15_11_54_6101.jpg
/media/data/images/22012025/15/11/image_22012025_15_11_48_6082.jpg
/media/data/images/22012025/15/11/image_22012025_15_11_41_6494.jpg
/media/data/images/22012025/15/11/image_22012025_15_11_35_5209.jpg
/media/data/images/22012025/15/11/image_22012025_15_11_29_6460.jpg
/media/data/images/22012025/15/11/image_22012025_15_11_23_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":["1330611412","1330611415","1330611406","1330611420","1330611392","1330611389"],"photo_ids_order":["1330611389","1330611392","1330611406","1330611412","1330611415","1330611420"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25f34d547e747e8f2d426b2ec55ca9e5.jpg","text":"TemporaryFile(/tmp/multipartBody6545133458616602355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_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/22/6ebe8877c59491e2a72cb88367f76e84.jpg","text":"TemporaryFile(/tmp/multipartBody6414808732793949764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_11_29_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/22/6fb56ad80dd606e4d04ebf5e4d9f10f6.jpg","text":"TemporaryFile(/tmp/multipartBody8874588745552994376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_11_41_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/22/66ca99c1bf5df08c020ec18a57071def.jpg","text":"TemporaryFile(/tmp/multipartBody4491667375528347913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_11_23_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/22/195e65d84c81d54f63e7f70f66922025.jpg","text":"TemporaryFile(/tmp/multipartBody1777379303487725506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_11_48_6082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b9aaf20f4e79a3ce0cb83f777e6e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3422663951343022981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555192103,"filename":"image_22012025_15_11_54_6101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611406","file1":"1330611392","file0":"1330611389","file4":"1330611415","file5":"1330611420","file3":"1330611412"},"map_files_photo_id_array":[{"photo_id":"1330611420","filename":"file5"},{"photo_id":"1330611406","filename":"file2"},{"photo_id":"1330611415","filename":"file4"},{"photo_id":"1330611392","filename":"file1"},{"photo_id":"1330611389","filename":"file0"},{"photo_id":"1330611412","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611412":["hashtag1","hashtag2"]},{"1330611415":["hashtag1","hashtag2"]},{"1330611406":["hashtag1","hashtag2"]},{"1330611420":["hashtag1","hashtag2"]},{"1330611392":["hashtag1","hashtag2"]},{"1330611389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611412, 1330611415, 1330611406, 1330611420, 1330611392, 1330611389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.146695375442505 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:13:04.850277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/12/image_22012025_15_12_53_6530.jpg', '/media/data/images/22012025/15/12/image_22012025_15_12_46_5300.jpg', '/media/data/images/22012025/15/12/image_22012025_15_12_41_6476.jpg', '/media/data/images/22012025/15/12/image_22012025_15_12_35_5248.jpg', '/media/data/images/22012025/15/12/image_22012025_15_12_29_6482.jpg', '/media/data/images/22012025/15/12/image_22012025_15_12_23_5377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/12/image_22012025_15_12_53_6530.jpg
/media/data/images/22012025/15/12/image_22012025_15_12_46_5300.jpg
/media/data/images/22012025/15/12/image_22012025_15_12_41_6476.jpg
/media/data/images/22012025/15/12/image_22012025_15_12_35_5248.jpg
/media/data/images/22012025/15/12/image_22012025_15_12_29_6482.jpg
/media/data/images/22012025/15/12/image_22012025_15_12_23_5377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330611649","1330611651","1330611669","1330611662","1330611665","1330611647"],"photo_ids_order":["1330611647","1330611649","1330611651","1330611662","1330611665","1330611669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b76f85ffbf22a41512a7bfe378f191ae.jpg","text":"TemporaryFile(/tmp/multipartBody6124243839507702683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_46_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/22/c52cf258bcfcc21c3c9bc6eac939e792.jpg","text":"TemporaryFile(/tmp/multipartBody6019245130884357870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_41_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/22/a9fa0faf0df3d0715d2b03962c74e873.jpg","text":"TemporaryFile(/tmp/multipartBody8304830769593692554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_23_5377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ca4164185f724b79ab245a12104f20f.jpg","text":"TemporaryFile(/tmp/multipartBody571365927064596336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_35_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/22/6c8aabef9fd4541f18c746c193aea495.jpg","text":"TemporaryFile(/tmp/multipartBody6979109915409123950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_29_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/22/958d44d75379cfbaed34ae60b29ca7f5.jpg","text":"TemporaryFile(/tmp/multipartBody8859445840332125343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555256446,"filename":"image_22012025_15_12_53_6530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611651","file1":"1330611649","file0":"1330611647","file4":"1330611665","file5":"1330611669","file3":"1330611662"},"map_files_photo_id_array":[{"photo_id":"1330611669","filename":"file5"},{"photo_id":"1330611651","filename":"file2"},{"photo_id":"1330611665","filename":"file4"},{"photo_id":"1330611649","filename":"file1"},{"photo_id":"1330611647","filename":"file0"},{"photo_id":"1330611662","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611649":["hashtag1","hashtag2"]},{"1330611651":["hashtag1","hashtag2"]},{"1330611669":["hashtag1","hashtag2"]},{"1330611662":["hashtag1","hashtag2"]},{"1330611665":["hashtag1","hashtag2"]},{"1330611647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611649, 1330611651, 1330611669, 1330611662, 1330611665, 1330611647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.22629523277283 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 15:14:03.825782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/13/image_22012025_15_13_53_5254.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_48_6435.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_41_6479.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_35_5244.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_29_6464.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_23_6473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/13/image_22012025_15_13_53_5254.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_48_6435.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_41_6479.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_35_5244.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_29_6464.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_23_6473.jpg
2025-01-22 15:14:04.114215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/13/image_22012025_15_13_53_5254.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_48_6435.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_41_6479.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_35_5244.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_29_6464.jpg', '/media/data/images/22012025/15/13/image_22012025_15_13_23_6473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/13/image_22012025_15_13_53_5254.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_48_6435.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_41_6479.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_35_5244.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_29_6464.jpg
/media/data/images/22012025/15/13/image_22012025_15_13_23_6473.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":["1330611724","1330611718","1330611712","1330611729","1330611707","1330611704"],"photo_ids_order":["1330611704","1330611707","1330611712","1330611718","1330611724","1330611729"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f7338bde70c2e7fc300c094eb4b33724.jpg","text":"TemporaryFile(/tmp/multipartBody7708432498309150471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_29_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/22/87ae4954638413d8812b457b547984f0.jpg","text":"TemporaryFile(/tmp/multipartBody5179942013843488932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_35_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/22/52794cdee1ff04e71c5ca5427003245d.jpg","text":"TemporaryFile(/tmp/multipartBody2348855421330611588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_41_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/22/1bcc69a54b6f7d86e5ee0e290a31ffb9.jpg","text":"TemporaryFile(/tmp/multipartBody2641997553233452590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_23_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/22/297ea09482e510d67d7b1d77dd3092d7.jpg","text":"TemporaryFile(/tmp/multipartBody5421483639062480466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_48_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/22/2309ab0e2302acf2ef6691b7d988b429.jpg","text":"TemporaryFile(/tmp/multipartBody7941058740347849767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555328074,"filename":"image_22012025_15_13_53_5254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611712","file1":"1330611707","file0":"1330611704","file4":"1330611724","file5":"1330611729","file3":"1330611718"},"map_files_photo_id_array":[{"photo_id":"1330611729","filename":"file5"},{"photo_id":"1330611712","filename":"file2"},{"photo_id":"1330611724","filename":"file4"},{"photo_id":"1330611707","filename":"file1"},{"photo_id":"1330611704","filename":"file0"},{"photo_id":"1330611718","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611724":["hashtag1","hashtag2"]},{"1330611718":["hashtag1","hashtag2"]},{"1330611712":["hashtag1","hashtag2"]},{"1330611729":["hashtag1","hashtag2"]},{"1330611707":["hashtag1","hashtag2"]},{"1330611704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611724, 1330611718, 1330611712, 1330611729, 1330611707, 1330611704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.198312759399414 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330611730","1330611723","1330611717","1330611705","1330611708","1330611713"],"photo_ids_order":["1330611705","1330611708","1330611713","1330611717","1330611723","1330611730"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/256ea90619a9f7e3c7d1cc539bb9ef4c.jpg","text":"TemporaryFile(/tmp/multipartBody2350718891503546598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_23_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/22/ead2b6bb3ba2c2492389d8c77e7f1660.jpg","text":"TemporaryFile(/tmp/multipartBody6708145451029286193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_29_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/22/a95196a31d95effad9e653155a777fec.jpg","text":"TemporaryFile(/tmp/multipartBody1880059240047243729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_35_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/22/d974bc9e7ef92a3ad99bae298eb57dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4297640122874868409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_53_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/22/f41fcac819fff4dd4e2731b4faa6c7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8056866486433520275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_48_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/22/54d24516b011eae9efc55082bf4dfed3.jpg","text":"TemporaryFile(/tmp/multipartBody4206524139960246816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555329360,"filename":"image_22012025_15_13_41_6479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611713","file1":"1330611708","file0":"1330611705","file4":"1330611723","file5":"1330611730","file3":"1330611717"},"map_files_photo_id_array":[{"photo_id":"1330611730","filename":"file5"},{"photo_id":"1330611713","filename":"file2"},{"photo_id":"1330611723","filename":"file4"},{"photo_id":"1330611708","filename":"file1"},{"photo_id":"1330611705","filename":"file0"},{"photo_id":"1330611717","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611730":["hashtag1","hashtag2"]},{"1330611723":["hashtag1","hashtag2"]},{"1330611717":["hashtag1","hashtag2"]},{"1330611705":["hashtag1","hashtag2"]},{"1330611708":["hashtag1","hashtag2"]},{"1330611713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611730, 1330611723, 1330611717, 1330611705, 1330611708, 1330611713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.537760734558105 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:15:22.093039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/15/image_22012025_15_15_53_6426.jpg', '/media/data/images/22012025/15/15/image_22012025_15_15_46_5204.jpg', '/media/data/images/22012025/15/15/image_22012025_15_15_41_6469.jpg', '/media/data/images/22012025/15/15/image_22012025_15_15_35_5253.jpg', '/media/data/images/22012025/15/15/image_22012025_15_15_29_6348.jpg', '/media/data/images/22012025/15/15/image_22012025_15_15_24_6648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/15/image_22012025_15_15_53_6426.jpg
/media/data/images/22012025/15/15/image_22012025_15_15_46_5204.jpg
/media/data/images/22012025/15/15/image_22012025_15_15_41_6469.jpg
/media/data/images/22012025/15/15/image_22012025_15_15_35_5253.jpg
/media/data/images/22012025/15/15/image_22012025_15_15_29_6348.jpg
/media/data/images/22012025/15/15/image_22012025_15_15_24_6648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330611769","1330611774","1330611753","1330611747","1330611764","1330611758"],"photo_ids_order":["1330611747","1330611753","1330611758","1330611764","1330611769","1330611774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c42ef06d0639e4ce1ead27ba24172d7.jpg","text":"TemporaryFile(/tmp/multipartBody923694127989699769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_29_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/22/3110b66e8d9c94a622b7022e167fc3c0.jpg","text":"TemporaryFile(/tmp/multipartBody2711759692012120074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_24_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/22/0d5d2303ba8f7c785fe9bdb72f17b50d.jpg","text":"TemporaryFile(/tmp/multipartBody747798215148349132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_46_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/22/c52e78a75cc105cd74ff951bd699be33.jpg","text":"TemporaryFile(/tmp/multipartBody7388003609104162802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_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/22/d5b3d57f8b814df4dfe9c09df749e9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1323333454924661242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_35_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/22/482773ab8510cc7a767574f61f9374f9.jpg","text":"TemporaryFile(/tmp/multipartBody691059825554595038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555392755,"filename":"image_22012025_15_15_41_6469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611758","file1":"1330611753","file0":"1330611747","file4":"1330611769","file5":"1330611774","file3":"1330611764"},"map_files_photo_id_array":[{"photo_id":"1330611774","filename":"file5"},{"photo_id":"1330611758","filename":"file2"},{"photo_id":"1330611769","filename":"file4"},{"photo_id":"1330611753","filename":"file1"},{"photo_id":"1330611747","filename":"file0"},{"photo_id":"1330611764","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611769":["hashtag1","hashtag2"]},{"1330611774":["hashtag1","hashtag2"]},{"1330611753":["hashtag1","hashtag2"]},{"1330611747":["hashtag1","hashtag2"]},{"1330611764":["hashtag1","hashtag2"]},{"1330611758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611769, 1330611774, 1330611753, 1330611747, 1330611764, 1330611758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.65451645851135 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:16:22.245463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/16/image_22012025_15_16_53_6506.jpg', '/media/data/images/22012025/15/16/image_22012025_15_16_47_5235.jpg', '/media/data/images/22012025/15/16/image_22012025_15_16_41_6466.jpg', '/media/data/images/22012025/15/16/image_22012025_15_16_35_5396.jpg', '/media/data/images/22012025/15/16/image_22012025_15_16_30_6335.jpg', '/media/data/images/22012025/15/16/image_22012025_15_16_24_6532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/16/image_22012025_15_16_53_6506.jpg
/media/data/images/22012025/15/16/image_22012025_15_16_47_5235.jpg
/media/data/images/22012025/15/16/image_22012025_15_16_41_6466.jpg
/media/data/images/22012025/15/16/image_22012025_15_16_35_5396.jpg
/media/data/images/22012025/15/16/image_22012025_15_16_30_6335.jpg
/media/data/images/22012025/15/16/image_22012025_15_16_24_6532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330611978","1330611974","1330611968","1330611983","1330611962","1330611964"],"photo_ids_order":["1330611962","1330611964","1330611968","1330611974","1330611978","1330611983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b330ebf984c9521526b6b8457607a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5815125243816422853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_30_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/22/19a6eab30ca035b68c5cec6abf12f86d.jpg","text":"TemporaryFile(/tmp/multipartBody6623065128298506522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_35_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69650260d12a555599f4176a14013f80.jpg","text":"TemporaryFile(/tmp/multipartBody8257833490382965476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_41_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/22/59831f1f7580cdbc1a45fbcf96db590b.jpg","text":"TemporaryFile(/tmp/multipartBody3926749875643522636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_24_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/22/f1318350ed7d4500f9cf082f4080ee38.jpg","text":"TemporaryFile(/tmp/multipartBody5658445503027047705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_53_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/22/4d9b9bc3928ee5ae7937503333ed88e2.jpg","text":"TemporaryFile(/tmp/multipartBody6409501210940045694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555454797,"filename":"image_22012025_15_16_47_5235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330611968","file1":"1330611964","file0":"1330611962","file4":"1330611978","file5":"1330611983","file3":"1330611974"},"map_files_photo_id_array":[{"photo_id":"1330611983","filename":"file5"},{"photo_id":"1330611968","filename":"file2"},{"photo_id":"1330611978","filename":"file4"},{"photo_id":"1330611964","filename":"file1"},{"photo_id":"1330611962","filename":"file0"},{"photo_id":"1330611974","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330611978":["hashtag1","hashtag2"]},{"1330611974":["hashtag1","hashtag2"]},{"1330611968":["hashtag1","hashtag2"]},{"1330611983":["hashtag1","hashtag2"]},{"1330611962":["hashtag1","hashtag2"]},{"1330611964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330611978, 1330611974, 1330611968, 1330611983, 1330611962, 1330611964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.04861640930176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:17:22.554011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/17/image_22012025_15_17_48_6619.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_41_5314.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_36_6329.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_30_5560.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_24_6918.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_17_5313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/17/image_22012025_15_17_48_6619.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_41_5314.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_36_6329.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_30_5560.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_24_6918.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_17_5313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612086","1330612077","1330612169","1330612082","1330612157","1330612162"],"photo_ids_order":["1330612077","1330612082","1330612086","1330612157","1330612162","1330612169"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9be29e6bf1a067e9e9a86e8d8d5af80e.jpg","text":"TemporaryFile(/tmp/multipartBody5627194529262287664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_36_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/22/8c4ae7bd1acecda6ef35413b4de8ddd4.jpg","text":"TemporaryFile(/tmp/multipartBody1243275522425833745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_48_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/22/da7e4506a2141c853a469aa8d848aa9c.jpg","text":"TemporaryFile(/tmp/multipartBody6011234818522252843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_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/22/51b3718aa12e21d9c01ca8e24d18ea36.jpg","text":"TemporaryFile(/tmp/multipartBody4335813938976972874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_41_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/22/4afdff24cfa04e852bd55673df769097.jpg","text":"TemporaryFile(/tmp/multipartBody9016382144171072958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_30_5560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f73077f326334e83e5848a60277d5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8750628439644779138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555523643,"filename":"image_22012025_15_17_24_6918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612086","file1":"1330612082","file0":"1330612077","file4":"1330612162","file5":"1330612169","file3":"1330612157"},"map_files_photo_id_array":[{"photo_id":"1330612169","filename":"file5"},{"photo_id":"1330612086","filename":"file2"},{"photo_id":"1330612162","filename":"file4"},{"photo_id":"1330612082","filename":"file1"},{"photo_id":"1330612077","filename":"file0"},{"photo_id":"1330612157","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612086":["hashtag1","hashtag2"]},{"1330612077":["hashtag1","hashtag2"]},{"1330612169":["hashtag1","hashtag2"]},{"1330612082":["hashtag1","hashtag2"]},{"1330612157":["hashtag1","hashtag2"]},{"1330612162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612086, 1330612077, 1330612169, 1330612082, 1330612157, 1330612162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.71413612365723 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:18:22.885784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/18/image_22012025_15_18_47_6638.jpg', '/media/data/images/22012025/15/18/image_22012025_15_18_40_6061.jpg', '/media/data/images/22012025/15/18/image_22012025_15_18_23_5346.jpg', '/media/data/images/22012025/15/18/image_22012025_15_18_18_6951.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_53_5291.jpg', '/media/data/images/22012025/15/17/image_22012025_15_17_11_5971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/18/image_22012025_15_18_47_6638.jpg
/media/data/images/22012025/15/18/image_22012025_15_18_40_6061.jpg
/media/data/images/22012025/15/18/image_22012025_15_18_23_5346.jpg
/media/data/images/22012025/15/18/image_22012025_15_18_18_6951.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_53_5291.jpg
/media/data/images/22012025/15/17/image_22012025_15_17_11_5971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612271","1330612253","1330612235","1330612229","1330612276","1330612267"],"photo_ids_order":["1330612229","1330612235","1330612253","1330612267","1330612271","1330612276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e2785a1e4419f907dd4b8c9028cbd43.jpg","text":"TemporaryFile(/tmp/multipartBody6789772639772908671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_17_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/22/13ef4d3b4d4e94b8c3a3d1eb533b3160.jpg","text":"TemporaryFile(/tmp/multipartBody4460282391714494827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_18_23_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/22/9b7c2bd18b300192b230129e2a2e6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5723123202558444724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_18_40_6061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6092e69ddf3d07e178f6ecd4217f5791.jpg","text":"TemporaryFile(/tmp/multipartBody375515466942937671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_18_47_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7f7663c421a77bdd5870950de592255e.jpg","text":"TemporaryFile(/tmp/multipartBody8815164761149679290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_17_11_5971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83cc826cafbd57e7b4df7d22ed0f406a.jpg","text":"TemporaryFile(/tmp/multipartBody2703608608911957840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555578333,"filename":"image_22012025_15_18_18_6951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612253","file1":"1330612235","file0":"1330612229","file4":"1330612271","file5":"1330612276","file3":"1330612267"},"map_files_photo_id_array":[{"photo_id":"1330612276","filename":"file5"},{"photo_id":"1330612253","filename":"file2"},{"photo_id":"1330612271","filename":"file4"},{"photo_id":"1330612235","filename":"file1"},{"photo_id":"1330612229","filename":"file0"},{"photo_id":"1330612267","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612271":["hashtag1","hashtag2"]},{"1330612253":["hashtag1","hashtag2"]},{"1330612235":["hashtag1","hashtag2"]},{"1330612229":["hashtag1","hashtag2"]},{"1330612276":["hashtag1","hashtag2"]},{"1330612267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612271, 1330612253, 1330612235, 1330612229, 1330612276, 1330612267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.42479419708252 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:19:22.855443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/19/image_22012025_15_19_53_6476.jpg', '/media/data/images/22012025/15/19/image_22012025_15_19_47_5295.jpg', '/media/data/images/22012025/15/19/image_22012025_15_19_41_6970.jpg', '/media/data/images/22012025/15/19/image_22012025_15_19_35_4589.jpg', '/media/data/images/22012025/15/19/image_22012025_15_19_30_7167.jpg', '/media/data/images/22012025/15/19/image_22012025_15_19_23_5254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/19/image_22012025_15_19_53_6476.jpg
/media/data/images/22012025/15/19/image_22012025_15_19_47_5295.jpg
/media/data/images/22012025/15/19/image_22012025_15_19_41_6970.jpg
/media/data/images/22012025/15/19/image_22012025_15_19_35_4589.jpg
/media/data/images/22012025/15/19/image_22012025_15_19_30_7167.jpg
/media/data/images/22012025/15/19/image_22012025_15_19_23_5254.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612299","1330612293","1330612302","1330612305","1330612295","1330612289"],"photo_ids_order":["1330612289","1330612293","1330612295","1330612299","1330612302","1330612305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/13ef4babf82bb1573796f8373edee2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3972555686540973502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_35_4589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32d9bed7affc44af0d85daf7e494c898.jpg","text":"TemporaryFile(/tmp/multipartBody7903821436113849807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_47_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/22/9a66afc344c74ee98d52877d9efba7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7480921010989265072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_30_7167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1f4aeb72a338dd0a0037031b444879cf.jpg","text":"TemporaryFile(/tmp/multipartBody969885700579124259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_23_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/22/bbd2c98da2f35b1f487a35dea08537f5.jpg","text":"TemporaryFile(/tmp/multipartBody3914653786652673568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_41_6970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/15a770d5823b9170129b1f5a2a266d89.jpg","text":"TemporaryFile(/tmp/multipartBody4424322011757387091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555635839,"filename":"image_22012025_15_19_53_6476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612295","file1":"1330612293","file0":"1330612289","file4":"1330612302","file5":"1330612305","file3":"1330612299"},"map_files_photo_id_array":[{"photo_id":"1330612305","filename":"file5"},{"photo_id":"1330612295","filename":"file2"},{"photo_id":"1330612302","filename":"file4"},{"photo_id":"1330612293","filename":"file1"},{"photo_id":"1330612289","filename":"file0"},{"photo_id":"1330612299","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612299":["hashtag1","hashtag2"]},{"1330612293":["hashtag1","hashtag2"]},{"1330612302":["hashtag1","hashtag2"]},{"1330612305":["hashtag1","hashtag2"]},{"1330612295":["hashtag1","hashtag2"]},{"1330612289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612299, 1330612293, 1330612302, 1330612305, 1330612295, 1330612289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.14204454421997 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:20:21.979872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/20/image_22012025_15_20_52_5264.jpg', '/media/data/images/22012025/15/20/image_22012025_15_20_47_6492.jpg', '/media/data/images/22012025/15/20/image_22012025_15_20_41_5535.jpg', '/media/data/images/22012025/15/20/image_22012025_15_20_35_6110.jpg', '/media/data/images/22012025/15/20/image_22012025_15_20_29_5895.jpg', '/media/data/images/22012025/15/20/image_22012025_15_20_23_6570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/20/image_22012025_15_20_52_5264.jpg
/media/data/images/22012025/15/20/image_22012025_15_20_47_6492.jpg
/media/data/images/22012025/15/20/image_22012025_15_20_41_5535.jpg
/media/data/images/22012025/15/20/image_22012025_15_20_35_6110.jpg
/media/data/images/22012025/15/20/image_22012025_15_20_29_5895.jpg
/media/data/images/22012025/15/20/image_22012025_15_20_23_6570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612321","1330612329","1330612325","1330612334","1330612337","1330612319"],"photo_ids_order":["1330612319","1330612321","1330612325","1330612329","1330612334","1330612337"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6035eb03a3af134c8800c5580f64bb96.jpg","text":"TemporaryFile(/tmp/multipartBody5410875981789396394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_47_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/22/1c68fe34cd13aced07ed70739dad1fe4.jpg","text":"TemporaryFile(/tmp/multipartBody1700992343598651739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_35_6110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5e57b8436d60631a991f1ecb276c8a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7322656898379089298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_41_5535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a3d4a7c1460b3b5138fad4f4e8dbbd2a.jpg","text":"TemporaryFile(/tmp/multipartBody4126572157794647045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_29_5895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ae697e617c70d5eecbc4fcf1a7bd37f9.jpg","text":"TemporaryFile(/tmp/multipartBody7106838966833932663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_23_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/22/fa8a6fe912ea3cf01cf1407325418c30.jpg","text":"TemporaryFile(/tmp/multipartBody783616332597250154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555696258,"filename":"image_22012025_15_20_52_5264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612325","file1":"1330612321","file0":"1330612319","file4":"1330612334","file5":"1330612337","file3":"1330612329"},"map_files_photo_id_array":[{"photo_id":"1330612337","filename":"file5"},{"photo_id":"1330612325","filename":"file2"},{"photo_id":"1330612334","filename":"file4"},{"photo_id":"1330612321","filename":"file1"},{"photo_id":"1330612319","filename":"file0"},{"photo_id":"1330612329","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612321":["hashtag1","hashtag2"]},{"1330612329":["hashtag1","hashtag2"]},{"1330612325":["hashtag1","hashtag2"]},{"1330612334":["hashtag1","hashtag2"]},{"1330612337":["hashtag1","hashtag2"]},{"1330612319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612321, 1330612329, 1330612325, 1330612334, 1330612337, 1330612319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.62930226325989 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:21:22.134944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/21/image_22012025_15_21_53_5291.jpg', '/media/data/images/22012025/15/21/image_22012025_15_21_47_6511.jpg', '/media/data/images/22012025/15/21/image_22012025_15_21_41_6205.jpg', '/media/data/images/22012025/15/21/image_22012025_15_21_35_4607.jpg', '/media/data/images/22012025/15/21/image_22012025_15_21_30_6129.jpg', '/media/data/images/22012025/15/21/image_22012025_15_21_24_6780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/21/image_22012025_15_21_53_5291.jpg
/media/data/images/22012025/15/21/image_22012025_15_21_47_6511.jpg
/media/data/images/22012025/15/21/image_22012025_15_21_41_6205.jpg
/media/data/images/22012025/15/21/image_22012025_15_21_35_4607.jpg
/media/data/images/22012025/15/21/image_22012025_15_21_30_6129.jpg
/media/data/images/22012025/15/21/image_22012025_15_21_24_6780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612411","1330612429","1330612414","1330612408","1330612419","1330612424"],"photo_ids_order":["1330612408","1330612411","1330612414","1330612419","1330612424","1330612429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/12489bf819be06482b15f9f49e6a783b.jpg","text":"TemporaryFile(/tmp/multipartBody4442183659228835816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_47_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/22/f8d6bab328db8a36007727db9c363cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2632975143064625055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_24_6780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a83f1a2de9fad8667ceea7c3df1bcae3.jpg","text":"TemporaryFile(/tmp/multipartBody2832499271931455695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_41_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/22/c95bac62672b1a2fde3a3cd5e3114040.jpg","text":"TemporaryFile(/tmp/multipartBody7145623965527185476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_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/22/d3f3879ad1b167f03a546effa7de15a5.jpg","text":"TemporaryFile(/tmp/multipartBody7458198381690818213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_35_4607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b801e404045a08b3167acd5fcb470674.jpg","text":"TemporaryFile(/tmp/multipartBody5099743229221613022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555751712,"filename":"image_22012025_15_21_30_6129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612414","file1":"1330612411","file0":"1330612408","file4":"1330612424","file5":"1330612429","file3":"1330612419"},"map_files_photo_id_array":[{"photo_id":"1330612429","filename":"file5"},{"photo_id":"1330612414","filename":"file2"},{"photo_id":"1330612424","filename":"file4"},{"photo_id":"1330612411","filename":"file1"},{"photo_id":"1330612408","filename":"file0"},{"photo_id":"1330612419","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612411":["hashtag1","hashtag2"]},{"1330612429":["hashtag1","hashtag2"]},{"1330612414":["hashtag1","hashtag2"]},{"1330612408":["hashtag1","hashtag2"]},{"1330612419":["hashtag1","hashtag2"]},{"1330612424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612411, 1330612429, 1330612414, 1330612408, 1330612419, 1330612424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95811057090759 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:22:22.418146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/22/image_22012025_15_22_53_6444.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_46_5266.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_41_6491.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_35_5200.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_30_6120.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_24_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/22/image_22012025_15_22_53_6444.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_46_5266.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_41_6491.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_35_5200.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_30_6120.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_24_6526.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.635225296020508 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:22:42.227652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/22/image_22012025_15_22_53_6444.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_46_5266.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_41_6491.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_35_5200.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_30_6120.jpg', '/media/data/images/22012025/15/22/image_22012025_15_22_24_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/22/image_22012025_15_22_53_6444.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_46_5266.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_41_6491.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_35_5200.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_30_6120.jpg
/media/data/images/22012025/15/22/image_22012025_15_22_24_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":["1330612752","1330612748","1330612762","1330612759","1330612750","1330612756"],"photo_ids_order":["1330612748","1330612750","1330612752","1330612756","1330612759","1330612762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e9d09bd49a93f95a13acc2b1b1cbc64f.jpg","text":"TemporaryFile(/tmp/multipartBody8769441839993092631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_41_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/22/5a21ceda36b84f825171c2d415cca971.jpg","text":"TemporaryFile(/tmp/multipartBody3617345491215457128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_53_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/22/a00f466f0b36c2d37e51c2766b6cfba9.jpg","text":"TemporaryFile(/tmp/multipartBody1474361941057620141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_24_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/22/69514f6e468afb6db3129fb14cb7f9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7456409962032400205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_30_6120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad694cc08222e504c42ea30087d6d405.jpg","text":"TemporaryFile(/tmp/multipartBody4304448214772974191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_46_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/22/895af841d3564731fe4564f591665e7f.jpg","text":"TemporaryFile(/tmp/multipartBody8506722400714701029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555832208,"filename":"image_22012025_15_22_35_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612752","file1":"1330612750","file0":"1330612748","file4":"1330612759","file5":"1330612762","file3":"1330612756"},"map_files_photo_id_array":[{"photo_id":"1330612762","filename":"file5"},{"photo_id":"1330612752","filename":"file2"},{"photo_id":"1330612759","filename":"file4"},{"photo_id":"1330612750","filename":"file1"},{"photo_id":"1330612748","filename":"file0"},{"photo_id":"1330612756","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612752":["hashtag1","hashtag2"]},{"1330612748":["hashtag1","hashtag2"]},{"1330612762":["hashtag1","hashtag2"]},{"1330612759":["hashtag1","hashtag2"]},{"1330612750":["hashtag1","hashtag2"]},{"1330612756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612752, 1330612748, 1330612762, 1330612759, 1330612750, 1330612756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59445285797119 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:23:42.322278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/23/image_22012025_15_23_53_6308.jpg', '/media/data/images/22012025/15/23/image_22012025_15_23_47_6129.jpg', '/media/data/images/22012025/15/23/image_22012025_15_23_41_5217.jpg', '/media/data/images/22012025/15/23/image_22012025_15_23_35_6102.jpg', '/media/data/images/22012025/15/23/image_22012025_15_23_30_6590.jpg', '/media/data/images/22012025/15/23/image_22012025_15_23_23_5341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/23/image_22012025_15_23_53_6308.jpg
/media/data/images/22012025/15/23/image_22012025_15_23_47_6129.jpg
/media/data/images/22012025/15/23/image_22012025_15_23_41_5217.jpg
/media/data/images/22012025/15/23/image_22012025_15_23_35_6102.jpg
/media/data/images/22012025/15/23/image_22012025_15_23_30_6590.jpg
/media/data/images/22012025/15/23/image_22012025_15_23_23_5341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612801","1330612785","1330612790","1330612795","1330612798","1330612792"],"photo_ids_order":["1330612785","1330612790","1330612792","1330612795","1330612798","1330612801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/440bd31c439eb053a89fdba6974b5ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2741172664712961109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_23_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/22/bc7f41e328962aa549d146ba9411b862.jpg","text":"TemporaryFile(/tmp/multipartBody2978492691085258301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_53_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/22/342577127c80d190bb56fa0c648d5a11.jpg","text":"TemporaryFile(/tmp/multipartBody8172945373907449210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_47_6129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b313397a08869f1bc7643e5af79dad33.jpg","text":"TemporaryFile(/tmp/multipartBody6321752920994786182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_35_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e31219ed3359fcdbc03b2a30f0278dc.jpg","text":"TemporaryFile(/tmp/multipartBody8696094843354747984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_30_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/22/e7f559ddcf7b00ca8287c257c85e759b.jpg","text":"TemporaryFile(/tmp/multipartBody7962020694063141154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555890975,"filename":"image_22012025_15_23_41_5217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612792","file1":"1330612790","file0":"1330612785","file4":"1330612798","file5":"1330612801","file3":"1330612795"},"map_files_photo_id_array":[{"photo_id":"1330612801","filename":"file5"},{"photo_id":"1330612792","filename":"file2"},{"photo_id":"1330612798","filename":"file4"},{"photo_id":"1330612790","filename":"file1"},{"photo_id":"1330612785","filename":"file0"},{"photo_id":"1330612795","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612801":["hashtag1","hashtag2"]},{"1330612785":["hashtag1","hashtag2"]},{"1330612790":["hashtag1","hashtag2"]},{"1330612795":["hashtag1","hashtag2"]},{"1330612798":["hashtag1","hashtag2"]},{"1330612792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612801, 1330612785, 1330612790, 1330612795, 1330612798, 1330612792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65093231201172 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:24:42.497061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/24/image_22012025_15_24_53_5756.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_48_6440.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_41_5249.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_35_6453.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_29_6454.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_22_5260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/24/image_22012025_15_24_53_5756.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_48_6440.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_41_5249.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_35_6453.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_29_6454.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_22_5260.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.345763444900513 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:25:04.483672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/24/image_22012025_15_24_53_5756.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_48_6440.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_41_5249.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_35_6453.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_29_6454.jpg', '/media/data/images/22012025/15/24/image_22012025_15_24_22_5260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/24/image_22012025_15_24_53_5756.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_48_6440.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_41_5249.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_35_6453.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_29_6454.jpg
/media/data/images/22012025/15/24/image_22012025_15_24_22_5260.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612881","1330612865","1330612868","1330612850","1330612844","1330612838"],"photo_ids_order":["1330612838","1330612844","1330612850","1330612865","1330612868","1330612881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b52c79163daa82fd6180bb8d74287ea.jpg","text":"TemporaryFile(/tmp/multipartBody3544381550360732363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_22_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/22/2361992aca2c9c531789e69efbce3f84.jpg","text":"TemporaryFile(/tmp/multipartBody2771612169471505823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_35_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/22/db2084c876797721a38a1b7aff3f26cc.jpg","text":"TemporaryFile(/tmp/multipartBody6828526402294851556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_29_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/22/9be328bfe337a13f96f951e38ce2acc9.jpg","text":"TemporaryFile(/tmp/multipartBody3604289357189507805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_41_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/22/7cbc45a2eedb4e995764ba0338f313c1.jpg","text":"TemporaryFile(/tmp/multipartBody1421671899499669463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_48_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/22/9fa42cae522dff1df3fc3bc57c169b36.jpg","text":"TemporaryFile(/tmp/multipartBody7364766857518293017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737555975565,"filename":"image_22012025_15_24_53_5756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612850","file1":"1330612844","file0":"1330612838","file4":"1330612868","file5":"1330612881","file3":"1330612865"},"map_files_photo_id_array":[{"photo_id":"1330612881","filename":"file5"},{"photo_id":"1330612850","filename":"file2"},{"photo_id":"1330612868","filename":"file4"},{"photo_id":"1330612844","filename":"file1"},{"photo_id":"1330612838","filename":"file0"},{"photo_id":"1330612865","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612881":["hashtag1","hashtag2"]},{"1330612865":["hashtag1","hashtag2"]},{"1330612868":["hashtag1","hashtag2"]},{"1330612850":["hashtag1","hashtag2"]},{"1330612844":["hashtag1","hashtag2"]},{"1330612838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612881, 1330612865, 1330612868, 1330612850, 1330612844, 1330612838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.30756902694702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:26:03.108790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/25/image_22012025_15_25_54_7234.jpg', '/media/data/images/22012025/15/25/image_22012025_15_25_47_5440.jpg', '/media/data/images/22012025/15/25/image_22012025_15_25_41_6474.jpg', '/media/data/images/22012025/15/25/image_22012025_15_25_35_5241.jpg', '/media/data/images/22012025/15/25/image_22012025_15_25_29_6519.jpg', '/media/data/images/22012025/15/25/image_22012025_15_25_23_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/25/image_22012025_15_25_54_7234.jpg
/media/data/images/22012025/15/25/image_22012025_15_25_47_5440.jpg
/media/data/images/22012025/15/25/image_22012025_15_25_41_6474.jpg
/media/data/images/22012025/15/25/image_22012025_15_25_35_5241.jpg
/media/data/images/22012025/15/25/image_22012025_15_25_29_6519.jpg
/media/data/images/22012025/15/25/image_22012025_15_25_23_6467.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.199162244796753 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:26:21.820165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/26/image_22012025_15_26_53_5208.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_47_6421.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_41_6390.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_35_5204.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_29_6405.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_23_5606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/26/image_22012025_15_26_53_5208.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_47_6421.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_41_6390.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_35_5204.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_29_6405.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_23_5606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330612971","1330612974","1330612956","1330612950","1330612961","1330612966"],"photo_ids_order":["1330612950","1330612956","1330612961","1330612966","1330612971","1330612974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a16c0ea3d9d404168e04f253210af442.jpg","text":"TemporaryFile(/tmp/multipartBody8541395644534189641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_29_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/22/299423987c832bc480df1b237820596a.jpg","text":"TemporaryFile(/tmp/multipartBody7901211731705714331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_23_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2845114f1b959c75779af5e531e2bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody8933527925996592813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_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/22/9d0cc68d30e246a4d97e041741ca40b0.jpg","text":"TemporaryFile(/tmp/multipartBody841741610075594581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_53_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/22/49b70b7080b797e1b57b3481ef48dfa5.jpg","text":"TemporaryFile(/tmp/multipartBody6684202751435089599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_41_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/22/5c0bc7830eb9ec58bcbce5fc9f2b54e5.jpg","text":"TemporaryFile(/tmp/multipartBody7490235944300759520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556050789,"filename":"image_22012025_15_26_35_5204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330612961","file1":"1330612956","file0":"1330612950","file4":"1330612971","file5":"1330612974","file3":"1330612966"},"map_files_photo_id_array":[{"photo_id":"1330612974","filename":"file5"},{"photo_id":"1330612961","filename":"file2"},{"photo_id":"1330612971","filename":"file4"},{"photo_id":"1330612956","filename":"file1"},{"photo_id":"1330612950","filename":"file0"},{"photo_id":"1330612966","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330612971":["hashtag1","hashtag2"]},{"1330612974":["hashtag1","hashtag2"]},{"1330612956":["hashtag1","hashtag2"]},{"1330612950":["hashtag1","hashtag2"]},{"1330612961":["hashtag1","hashtag2"]},{"1330612966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330612971, 1330612974, 1330612956, 1330612950, 1330612961, 1330612966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.242923736572266 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:27:21.951541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/27/image_22012025_15_27_53_6467.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_47_6523.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_40_5281.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_35_5593.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_30_6188.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_23_6196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/27/image_22012025_15_27_53_6467.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_47_6523.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_40_5281.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_35_5593.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_30_6188.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_23_6196.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330613082","1330613078","1330613087","1330613092","1330613074","1330613070"],"photo_ids_order":["1330613070","1330613074","1330613078","1330613082","1330613087","1330613092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61accdba3525d2479a1d9a6208602c01.jpg","text":"TemporaryFile(/tmp/multipartBody6777774580913740768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_35_5593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/abe4bce7880ed4b8ec0efe79b628dec5.jpg","text":"TemporaryFile(/tmp/multipartBody4146897079735933341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_40_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/22/3332033f2dff5a9bec0a6b728f516d28.jpg","text":"TemporaryFile(/tmp/multipartBody3632256142055889432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_30_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/22/c7ddd9bdb5f67416dbe18544976d31e7.jpg","text":"TemporaryFile(/tmp/multipartBody6799084880375520581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_23_6196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f08a248c5f9b578a653a4bbe0ba6f41f.jpg","text":"TemporaryFile(/tmp/multipartBody8668588847681197513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_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/22/5ad88b5344300c01bbad66b48006c195.jpg","text":"TemporaryFile(/tmp/multipartBody9123263464433645152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556112965,"filename":"image_22012025_15_27_53_6467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613078","file1":"1330613074","file0":"1330613070","file4":"1330613087","file5":"1330613092","file3":"1330613082"},"map_files_photo_id_array":[{"photo_id":"1330613092","filename":"file5"},{"photo_id":"1330613078","filename":"file2"},{"photo_id":"1330613087","filename":"file4"},{"photo_id":"1330613074","filename":"file1"},{"photo_id":"1330613070","filename":"file0"},{"photo_id":"1330613082","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613082":["hashtag1","hashtag2"]},{"1330613078":["hashtag1","hashtag2"]},{"1330613087":["hashtag1","hashtag2"]},{"1330613092":["hashtag1","hashtag2"]},{"1330613074":["hashtag1","hashtag2"]},{"1330613070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613082, 1330613078, 1330613087, 1330613092, 1330613074, 1330613070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24409246444702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:28:22.185463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/28/image_22012025_15_28_53_5232.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_47_6480.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_41_6471.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_34_5061.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_29_6168.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_23_6608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/28/image_22012025_15_28_53_5232.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_47_6480.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_41_6471.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_34_5061.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_29_6168.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_23_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":["1330613145","1330613136","1330613162","1330613219","1330613141","1330613176"],"photo_ids_order":["1330613136","1330613141","1330613145","1330613162","1330613176","1330613219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d19ce021b100b689b4f92092284fff8a.jpg","text":"TemporaryFile(/tmp/multipartBody5763716226851275196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_41_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/22/a6b66ae7bb5b21e1b6c577d7c5c61e68.jpg","text":"TemporaryFile(/tmp/multipartBody1755946734119508932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_53_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/22/354f3182034dd8eca311a7152ce408e4.jpg","text":"TemporaryFile(/tmp/multipartBody6030586910773404806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_34_5061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ae8f7d0adc736886e96021fe0ae770c.jpg","text":"TemporaryFile(/tmp/multipartBody3619614843639031730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_23_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/22/0f9d7544219645e2dd04f46b60c0ff33.jpg","text":"TemporaryFile(/tmp/multipartBody5204737331643408280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_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/22/184bb99924b8231bcb480f560aac993e.jpg","text":"TemporaryFile(/tmp/multipartBody5948288570639231233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556176496,"filename":"image_22012025_15_28_29_6168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613145","file1":"1330613141","file0":"1330613136","file4":"1330613176","file5":"1330613219","file3":"1330613162"},"map_files_photo_id_array":[{"photo_id":"1330613219","filename":"file5"},{"photo_id":"1330613145","filename":"file2"},{"photo_id":"1330613176","filename":"file4"},{"photo_id":"1330613141","filename":"file1"},{"photo_id":"1330613136","filename":"file0"},{"photo_id":"1330613162","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613145":["hashtag1","hashtag2"]},{"1330613136":["hashtag1","hashtag2"]},{"1330613162":["hashtag1","hashtag2"]},{"1330613219":["hashtag1","hashtag2"]},{"1330613141":["hashtag1","hashtag2"]},{"1330613176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613145, 1330613136, 1330613162, 1330613219, 1330613141, 1330613176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.1144163608551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:29:22.426703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/29/image_22012025_15_29_52_5225.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_47_6496.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_41_5756.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_35_4950.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_30_7509.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_23_5328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/29/image_22012025_15_29_52_5225.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_47_6496.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_41_5756.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_35_4950.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_30_7509.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_23_5328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330613271","1330613274","1330613288","1330613285","1330613281","1330613277"],"photo_ids_order":["1330613271","1330613274","1330613277","1330613281","1330613285","1330613288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d9e6a5945d6d83c206bc53c42dee7c06.jpg","text":"TemporaryFile(/tmp/multipartBody8866876697386049047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_52_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/22/e8cb2d13fad94a282fdc0b5077693f89.jpg","text":"TemporaryFile(/tmp/multipartBody2473656083210419484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_47_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/22/2f1ec2dc5a035976eb2640a634d45dc7.jpg","text":"TemporaryFile(/tmp/multipartBody600102115050089261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_23_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/22/7b7693c62e83858079ee2e5595ebf352.jpg","text":"TemporaryFile(/tmp/multipartBody8089012301056720831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_30_7509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/186ba20846d65481a05b16c29a81559e.jpg","text":"TemporaryFile(/tmp/multipartBody1787211486293872943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_35_4950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/29753a8d444c520575434beb7da0532f.jpg","text":"TemporaryFile(/tmp/multipartBody6075892180729856378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556233145,"filename":"image_22012025_15_29_41_5756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613277","file1":"1330613274","file0":"1330613271","file4":"1330613285","file5":"1330613288","file3":"1330613281"},"map_files_photo_id_array":[{"photo_id":"1330613288","filename":"file5"},{"photo_id":"1330613277","filename":"file2"},{"photo_id":"1330613285","filename":"file4"},{"photo_id":"1330613274","filename":"file1"},{"photo_id":"1330613271","filename":"file0"},{"photo_id":"1330613281","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613271":["hashtag1","hashtag2"]},{"1330613274":["hashtag1","hashtag2"]},{"1330613288":["hashtag1","hashtag2"]},{"1330613285":["hashtag1","hashtag2"]},{"1330613281":["hashtag1","hashtag2"]},{"1330613277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613271, 1330613274, 1330613288, 1330613285, 1330613281, 1330613277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.07119607925415 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:30:22.524624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/30/image_22012025_15_30_53_6450.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_47_6444.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_40_5237.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_35_5479.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_30_6262.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_24_6503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/30/image_22012025_15_30_53_6450.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_47_6444.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_40_5237.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_35_5479.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_30_6262.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_24_6503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330613334","1330613313","1330613330","1330613348","1330613327","1330613344"],"photo_ids_order":["1330613313","1330613327","1330613330","1330613334","1330613344","1330613348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e0fafe5a43941bbec86a7aa10f3065b7.jpg","text":"TemporaryFile(/tmp/multipartBody7860095926107072522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_35_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/22/94bca534adf688408b9ce99cfbedd682.jpg","text":"TemporaryFile(/tmp/multipartBody5953513487364438679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_53_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/22/0ac8872302740967ffd2de843f6b7616.jpg","text":"TemporaryFile(/tmp/multipartBody778461414733790784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_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/22/4055c03cda3115ae58678766c6a52aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3771998738679589156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_24_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/22/431a15f69cfda175f6a2d0a2a7573e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4321299643685102179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_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/22/2cb2ea8e624e23a42edf5b04d8f66969.jpg","text":"TemporaryFile(/tmp/multipartBody7729032438125500653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556293655,"filename":"image_22012025_15_30_30_6262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613330","file1":"1330613327","file0":"1330613313","file4":"1330613344","file5":"1330613348","file3":"1330613334"},"map_files_photo_id_array":[{"photo_id":"1330613348","filename":"file5"},{"photo_id":"1330613330","filename":"file2"},{"photo_id":"1330613344","filename":"file4"},{"photo_id":"1330613327","filename":"file1"},{"photo_id":"1330613313","filename":"file0"},{"photo_id":"1330613334","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613334":["hashtag1","hashtag2"]},{"1330613313":["hashtag1","hashtag2"]},{"1330613330":["hashtag1","hashtag2"]},{"1330613348":["hashtag1","hashtag2"]},{"1330613327":["hashtag1","hashtag2"]},{"1330613344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613334, 1330613313, 1330613330, 1330613348, 1330613327, 1330613344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64272928237915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:31:22.636743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/31/image_22012025_15_31_53_6435.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_47_5264.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_41_6487.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_35_5863.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_30_6175.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_23_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/31/image_22012025_15_31_53_6435.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_47_5264.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_41_6487.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_35_5863.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_30_6175.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_23_6573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330613472","1330613445","1330613393","1330613396","1330613432","1330613469"],"photo_ids_order":["1330613393","1330613396","1330613432","1330613445","1330613469","1330613472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49e330a37d362df9e058199dd948aeda.jpg","text":"TemporaryFile(/tmp/multipartBody3154838360132838473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_23_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/22/3de2a9139cc96ff66bfb4725f85827a4.jpg","text":"TemporaryFile(/tmp/multipartBody7214284671074777222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_35_5863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d2c116514796cc691f09693e0d27977.jpg","text":"TemporaryFile(/tmp/multipartBody5811312886639468092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_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/22/0d34b198342231d7a64515385492eec2.jpg","text":"TemporaryFile(/tmp/multipartBody6867986448967097307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_47_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/22/220d22870fbb5527184a578b5001639a.jpg","text":"TemporaryFile(/tmp/multipartBody3770047865791570328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_41_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/22/2163bdc738d812cab9810b33d5fc39a1.jpg","text":"TemporaryFile(/tmp/multipartBody7384241212668106383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556357213,"filename":"image_22012025_15_31_30_6175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613432","file1":"1330613396","file0":"1330613393","file4":"1330613469","file5":"1330613472","file3":"1330613445"},"map_files_photo_id_array":[{"photo_id":"1330613472","filename":"file5"},{"photo_id":"1330613432","filename":"file2"},{"photo_id":"1330613469","filename":"file4"},{"photo_id":"1330613396","filename":"file1"},{"photo_id":"1330613393","filename":"file0"},{"photo_id":"1330613445","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613472":["hashtag1","hashtag2"]},{"1330613445":["hashtag1","hashtag2"]},{"1330613393":["hashtag1","hashtag2"]},{"1330613396":["hashtag1","hashtag2"]},{"1330613432":["hashtag1","hashtag2"]},{"1330613469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613472, 1330613445, 1330613393, 1330613396, 1330613432, 1330613469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.30798840522766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:32:22.775509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/32/image_22012025_15_32_53_5223.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_47_6463.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_41_6409.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_35_5012.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_30_6421.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_24_6438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/32/image_22012025_15_32_53_5223.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_47_6463.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_41_6409.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_35_5012.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_30_6421.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_24_6438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330613550","1330613646","1330613890","1330614133","1330614136","1330614130"],"photo_ids_order":["1330613550","1330613646","1330613890","1330614130","1330614133","1330614136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17d90aea61ca0e0b27a962727400944f.jpg","text":"TemporaryFile(/tmp/multipartBody8686380761862325982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_53_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/22/e0dfbc53bcd8eeec144c129c70f67816.jpg","text":"TemporaryFile(/tmp/multipartBody94820199881637872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_47_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/22/b655d07523fd5ca0914604eae8597ae8.jpg","text":"TemporaryFile(/tmp/multipartBody364654350737235016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_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/22/d506065bd423ff7b7e36b2ca292bab61.jpg","text":"TemporaryFile(/tmp/multipartBody5942266776936720295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_30_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/22/d9b799d366c67048b589e2511b75bc6f.jpg","text":"TemporaryFile(/tmp/multipartBody559779356995263723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_24_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/22/e4b58025abf1bb7c5b1801899cdec916.jpg","text":"TemporaryFile(/tmp/multipartBody3825734127148333965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556419711,"filename":"image_22012025_15_32_35_5012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330613890","file1":"1330613646","file0":"1330613550","file4":"1330614133","file5":"1330614136","file3":"1330614130"},"map_files_photo_id_array":[{"photo_id":"1330614136","filename":"file5"},{"photo_id":"1330613890","filename":"file2"},{"photo_id":"1330614133","filename":"file4"},{"photo_id":"1330613646","filename":"file1"},{"photo_id":"1330613550","filename":"file0"},{"photo_id":"1330614130","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330613550":["hashtag1","hashtag2"]},{"1330613646":["hashtag1","hashtag2"]},{"1330613890":["hashtag1","hashtag2"]},{"1330614133":["hashtag1","hashtag2"]},{"1330614136":["hashtag1","hashtag2"]},{"1330614130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330613550, 1330613646, 1330613890, 1330614133, 1330614136, 1330614130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.00960898399353 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:33:22.022209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/33/image_22012025_15_33_53_6475.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_47_5285.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_41_6169.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_35_6474.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_29_6245.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_23_5225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/33/image_22012025_15_33_53_6475.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_47_5285.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_41_6169.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_35_6474.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_29_6245.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_23_5225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614398","1330614402","1330614203","1330614358","1330614154","1330614354"],"photo_ids_order":["1330614154","1330614203","1330614354","1330614358","1330614398","1330614402"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6ea0780130230c313a01609b7c44121d.jpg","text":"TemporaryFile(/tmp/multipartBody8498339728176516267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_29_6245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc563a58cdbe7cc1d34a48d49d4cdc04.jpg","text":"TemporaryFile(/tmp/multipartBody4880343760085023310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_23_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/22/89be04c66a6ba62ab890b8d1b483ec88.jpg","text":"TemporaryFile(/tmp/multipartBody2177018238600464414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_47_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/22/fac08dc02b0c8139f33aa1661b75ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody4312659011606513674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_35_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/22/06be6c6bc3b721770c5a945c39ffdfb7.jpg","text":"TemporaryFile(/tmp/multipartBody3965442561994038127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_53_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/22/cfe499fae630a098d257e0d936aaa3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4439639459674154869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556477812,"filename":"image_22012025_15_33_41_6169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614354","file1":"1330614203","file0":"1330614154","file4":"1330614398","file5":"1330614402","file3":"1330614358"},"map_files_photo_id_array":[{"photo_id":"1330614402","filename":"file5"},{"photo_id":"1330614354","filename":"file2"},{"photo_id":"1330614398","filename":"file4"},{"photo_id":"1330614203","filename":"file1"},{"photo_id":"1330614154","filename":"file0"},{"photo_id":"1330614358","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614398":["hashtag1","hashtag2"]},{"1330614402":["hashtag1","hashtag2"]},{"1330614203":["hashtag1","hashtag2"]},{"1330614358":["hashtag1","hashtag2"]},{"1330614154":["hashtag1","hashtag2"]},{"1330614354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614398, 1330614402, 1330614203, 1330614358, 1330614154, 1330614354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.17699909210205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:34:22.063973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/34/image_22012025_15_34_53_6459.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_46_5238.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_41_6716.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_34_4442.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_30_6315.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_24_6738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/34/image_22012025_15_34_53_6459.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_46_5238.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_41_6716.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_34_4442.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_30_6315.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_24_6738.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.781940460205078 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:34:42.194276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/34/image_22012025_15_34_53_6459.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_46_5238.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_41_6716.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_34_4442.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_30_6315.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_24_6738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/34/image_22012025_15_34_53_6459.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_46_5238.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_41_6716.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_34_4442.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_30_6315.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_24_6738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614494","1330614488","1330614481","1330614484","1330614478","1330614511"],"photo_ids_order":["1330614478","1330614481","1330614484","1330614488","1330614494","1330614511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17510d85d2f0fffd28a91bdf1dbbb6d2.jpg","text":"TemporaryFile(/tmp/multipartBody8205134964185380968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_30_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/22/0fff06c8e4edf6185939f1d04c21a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3368988527242083832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_34_4442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/546fe2af8792003e43ef90460afdf836.jpg","text":"TemporaryFile(/tmp/multipartBody6578771169548967532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_46_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/22/1dfdfcdcfc3250112489eb1f0ce3660b.jpg","text":"TemporaryFile(/tmp/multipartBody8184171689325421112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_41_6716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96f524e381c6ad84f61aee0da0f92837.jpg","text":"TemporaryFile(/tmp/multipartBody2238515608303984037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_53_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/22/64cc63a0920faf9190a7931053d4692a.jpg","text":"TemporaryFile(/tmp/multipartBody6717550998091787150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556551800,"filename":"image_22012025_15_34_24_6738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614484","file1":"1330614481","file0":"1330614478","file4":"1330614494","file5":"1330614511","file3":"1330614488"},"map_files_photo_id_array":[{"photo_id":"1330614511","filename":"file5"},{"photo_id":"1330614484","filename":"file2"},{"photo_id":"1330614494","filename":"file4"},{"photo_id":"1330614481","filename":"file1"},{"photo_id":"1330614478","filename":"file0"},{"photo_id":"1330614488","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614494":["hashtag1","hashtag2"]},{"1330614488":["hashtag1","hashtag2"]},{"1330614481":["hashtag1","hashtag2"]},{"1330614484":["hashtag1","hashtag2"]},{"1330614478":["hashtag1","hashtag2"]},{"1330614511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614494, 1330614488, 1330614481, 1330614484, 1330614478, 1330614511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.082741498947144 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:35:42.559405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/35/image_22012025_15_35_16_5417.jpg', '/media/data/images/22012025/15/35/image_22012025_15_35_11_6014.jpg', '/media/data/images/22012025/15/35/image_22012025_15_35_05_5732.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_59_6456.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_17_6210.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_11_6215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/35/image_22012025_15_35_16_5417.jpg
/media/data/images/22012025/15/35/image_22012025_15_35_11_6014.jpg
/media/data/images/22012025/15/35/image_22012025_15_35_05_5732.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_59_6456.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_17_6210.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_11_6215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614639","1330614643","1330614646","1330614625","1330614651","1330614648"],"photo_ids_order":["1330614625","1330614639","1330614643","1330614646","1330614648","1330614651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/72316645ed80f6e8d6138891a87eed09.jpg","text":"TemporaryFile(/tmp/multipartBody1874344047756688707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_35_11_6014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a29eaf6b9c9c04344bf77bd8739dfe4c.jpg","text":"TemporaryFile(/tmp/multipartBody8721755000449803058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_35_05_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/400073cc00b915de543e2895df849349.jpg","text":"TemporaryFile(/tmp/multipartBody5299869052926289850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_34_59_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/22/1e0731cc6f2a36ffd9615f1a4020cee6.jpg","text":"TemporaryFile(/tmp/multipartBody4125290077684387225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_35_16_5417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f63dd6cbd57652f69868e39111b15689.jpg","text":"TemporaryFile(/tmp/multipartBody9013267785032754470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_34_11_6215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44ecad61f1192ab87570afbb2d58d308.jpg","text":"TemporaryFile(/tmp/multipartBody2499719734072355197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556613120,"filename":"image_22012025_15_34_17_6210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614643","file1":"1330614639","file0":"1330614625","file4":"1330614648","file5":"1330614651","file3":"1330614646"},"map_files_photo_id_array":[{"photo_id":"1330614651","filename":"file5"},{"photo_id":"1330614643","filename":"file2"},{"photo_id":"1330614648","filename":"file4"},{"photo_id":"1330614639","filename":"file1"},{"photo_id":"1330614625","filename":"file0"},{"photo_id":"1330614646","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614639":["hashtag1","hashtag2"]},{"1330614643":["hashtag1","hashtag2"]},{"1330614646":["hashtag1","hashtag2"]},{"1330614625":["hashtag1","hashtag2"]},{"1330614651":["hashtag1","hashtag2"]},{"1330614648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614639, 1330614643, 1330614646, 1330614625, 1330614651, 1330614648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02114272117615 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:36:42.391243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/35/image_22012025_15_35_41_5442.jpg', '/media/data/images/22012025/15/34/image_22012025_15_34_05_5982.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_58_5247.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_17_6897.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_11_5764.jpg', '/media/data/images/22012025/15/33/image_22012025_15_33_05_5578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/35/image_22012025_15_35_41_5442.jpg
/media/data/images/22012025/15/34/image_22012025_15_34_05_5982.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_58_5247.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_17_6897.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_11_5764.jpg
/media/data/images/22012025/15/33/image_22012025_15_33_05_5578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614705","1330614748","1330614715","1330614712","1330614709","1330614744"],"photo_ids_order":["1330614705","1330614709","1330614712","1330614715","1330614744","1330614748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/34d220124f631a31b44851026155ad3e.jpg","text":"TemporaryFile(/tmp/multipartBody2112234694311829995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_35_41_5442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54f1371c92a2e06def65e9de4a3ed236.jpg","text":"TemporaryFile(/tmp/multipartBody2226094333737174856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_33_05_5578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/95abab85bd1016514f24051c23de7fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3564896350271597509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_33_17_6897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60af93db0b258b55b1cd06bdf91662ec.jpg","text":"TemporaryFile(/tmp/multipartBody1009296398538508733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_33_58_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/22/53f828885fb25ffd9fe8bcde2fa4e4ed.jpg","text":"TemporaryFile(/tmp/multipartBody3126909752618311128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_34_05_5982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bf74872053c7e51b8f6a4e778f56b02c.jpg","text":"TemporaryFile(/tmp/multipartBody6662321390152871157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556671923,"filename":"image_22012025_15_33_11_5764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614712","file1":"1330614709","file0":"1330614705","file4":"1330614744","file5":"1330614748","file3":"1330614715"},"map_files_photo_id_array":[{"photo_id":"1330614748","filename":"file5"},{"photo_id":"1330614712","filename":"file2"},{"photo_id":"1330614744","filename":"file4"},{"photo_id":"1330614709","filename":"file1"},{"photo_id":"1330614705","filename":"file0"},{"photo_id":"1330614715","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614705":["hashtag1","hashtag2"]},{"1330614748":["hashtag1","hashtag2"]},{"1330614715":["hashtag1","hashtag2"]},{"1330614712":["hashtag1","hashtag2"]},{"1330614709":["hashtag1","hashtag2"]},{"1330614744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614705, 1330614748, 1330614715, 1330614712, 1330614709, 1330614744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44968318939209 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:37:42.650402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/37/image_22012025_15_37_47_6111.jpg', '/media/data/images/22012025/15/36/image_22012025_15_36_47_5088.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_59_6489.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_17_6186.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_11_4956.jpg', '/media/data/images/22012025/15/32/image_22012025_15_32_06_7169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/37/image_22012025_15_37_47_6111.jpg
/media/data/images/22012025/15/36/image_22012025_15_36_47_5088.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_59_6489.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_17_6186.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_11_4956.jpg
/media/data/images/22012025/15/32/image_22012025_15_32_06_7169.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614816","1330614845","1330614787","1330614853","1330614792","1330614849"],"photo_ids_order":["1330614787","1330614792","1330614816","1330614845","1330614849","1330614853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ccfc9b2032926f64b6dfbc42b98d23b.jpg","text":"TemporaryFile(/tmp/multipartBody1219194542364999741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_32_59_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/22/4cf32a98162b81c8f60746a62895f270.jpg","text":"TemporaryFile(/tmp/multipartBody4441627908364536687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_32_17_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/22/6a15bdf5a4fc7d150434628fcc451fb8.jpg","text":"TemporaryFile(/tmp/multipartBody5116194085021569971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_37_47_6111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d1ca795aed1f0e0b9b5d77a1dd58e9cd.jpg","text":"TemporaryFile(/tmp/multipartBody969695754252336532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_32_06_7169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a5f97e36c75712b4f5817331f675a660.jpg","text":"TemporaryFile(/tmp/multipartBody6515249689092300013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_36_47_5088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aeefaee8767b1482fe9a4cd9b28b165f.jpg","text":"TemporaryFile(/tmp/multipartBody8173125221351522041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556738809,"filename":"image_22012025_15_32_11_4956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614816","file1":"1330614792","file0":"1330614787","file4":"1330614849","file5":"1330614853","file3":"1330614845"},"map_files_photo_id_array":[{"photo_id":"1330614853","filename":"file5"},{"photo_id":"1330614816","filename":"file2"},{"photo_id":"1330614849","filename":"file4"},{"photo_id":"1330614792","filename":"file1"},{"photo_id":"1330614787","filename":"file0"},{"photo_id":"1330614845","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614816":["hashtag1","hashtag2"]},{"1330614845":["hashtag1","hashtag2"]},{"1330614787":["hashtag1","hashtag2"]},{"1330614853":["hashtag1","hashtag2"]},{"1330614792":["hashtag1","hashtag2"]},{"1330614849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614816, 1330614845, 1330614787, 1330614853, 1330614792, 1330614849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.79571485519409 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:38:42.982480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg', '/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_05_6693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg
/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_05_6693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.115528345108032 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 15:39:04.817881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg', '/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_05_6693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg
/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_05_6693.jpg
2025-01-22 15:39:05.049324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/39/image_22012025_15_39_54_6672.jpg', '/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg', '/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg', '/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/39/image_22012025_15_39_54_6672.jpg
/media/data/images/22012025/15/38/image_22012025_15_38_23_5479.jpg
/media/data/images/22012025/15/37/image_22012025_15_37_53_6019.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_58_5203.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_16_5412.jpg
/media/data/images/22012025/15/31/image_22012025_15_31_11_5699.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":["1330614929","1330614934","1330614936","1330614945","1330614939","1330614924"],"photo_ids_order":["1330614924","1330614929","1330614934","1330614936","1330614939","1330614945"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f17ff81622f70bc960cba99411019e9.jpg","text":"TemporaryFile(/tmp/multipartBody2099538024069264398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_38_23_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/22/9ab30fc387fdaa3634bbda53f0f00163.jpg","text":"TemporaryFile(/tmp/multipartBody2885984648100278886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_37_53_6019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d1fee95f9db8f80fa4be2b853d8b350.jpg","text":"TemporaryFile(/tmp/multipartBody6776545613647730314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_31_58_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/22/b162c3acbccb80ea67e0d56d4c83f8db.jpg","text":"TemporaryFile(/tmp/multipartBody5655010767507571326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_31_11_5699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04c41ec908b93102dba98a589bcd8350.jpg","text":"TemporaryFile(/tmp/multipartBody3393176115093701745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_31_16_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/32126c6dd75cebb3eb76e2a524db8677.jpg","text":"TemporaryFile(/tmp/multipartBody3595538224221663689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556841011,"filename":"image_22012025_15_39_54_6672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614934","file1":"1330614929","file0":"1330614924","file4":"1330614939","file5":"1330614945","file3":"1330614936"},"map_files_photo_id_array":[{"photo_id":"1330614945","filename":"file5"},{"photo_id":"1330614934","filename":"file2"},{"photo_id":"1330614939","filename":"file4"},{"photo_id":"1330614929","filename":"file1"},{"photo_id":"1330614924","filename":"file0"},{"photo_id":"1330614936","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614929":["hashtag1","hashtag2"]},{"1330614934":["hashtag1","hashtag2"]},{"1330614936":["hashtag1","hashtag2"]},{"1330614945":["hashtag1","hashtag2"]},{"1330614939":["hashtag1","hashtag2"]},{"1330614924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614929, 1330614934, 1330614936, 1330614945, 1330614939, 1330614924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.55022954940796 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330614962","1330614932","1330614952","1330614940","1330614943","1330614937"],"photo_ids_order":["1330614932","1330614937","1330614940","1330614943","1330614952","1330614962"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ccc82a9570e83b1f8541c131a8f6d985.jpg","text":"TemporaryFile(/tmp/multipartBody6762285959767913579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_31_05_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/22/4f98fa9c4179c077b921b35e91a78545.jpg","text":"TemporaryFile(/tmp/multipartBody6903945868422910837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_38_23_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/22/d76fee6000fc529a0345106e47cfa71e.jpg","text":"TemporaryFile(/tmp/multipartBody6490648005785440726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_31_11_5699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/685c4919b0c26b4ae736d79e297a2592.jpg","text":"TemporaryFile(/tmp/multipartBody8218966674292759210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_31_58_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/22/e08324c4692661c00724e489b5617262.jpg","text":"TemporaryFile(/tmp/multipartBody896813597456199560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_31_16_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7b51edf819d9f77f9f4a6d98649eb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3709701438872529915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556848693,"filename":"image_22012025_15_37_53_6019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330614940","file1":"1330614937","file0":"1330614932","file4":"1330614952","file5":"1330614962","file3":"1330614943"},"map_files_photo_id_array":[{"photo_id":"1330614962","filename":"file5"},{"photo_id":"1330614940","filename":"file2"},{"photo_id":"1330614952","filename":"file4"},{"photo_id":"1330614937","filename":"file1"},{"photo_id":"1330614932","filename":"file0"},{"photo_id":"1330614943","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330614962":["hashtag1","hashtag2"]},{"1330614932":["hashtag1","hashtag2"]},{"1330614952":["hashtag1","hashtag2"]},{"1330614940":["hashtag1","hashtag2"]},{"1330614943":["hashtag1","hashtag2"]},{"1330614937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330614962, 1330614932, 1330614952, 1330614940, 1330614943, 1330614937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.78980565071106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:40:42.616794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/30/image_22012025_15_30_58_5241.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_17_5718.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_11_6201.jpg', '/media/data/images/22012025/15/30/image_22012025_15_30_05_6129.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_59_6497.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_17_6514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/30/image_22012025_15_30_58_5241.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_17_5718.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_11_6201.jpg
/media/data/images/22012025/15/30/image_22012025_15_30_05_6129.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_59_6497.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_17_6514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330615027","1330615053","1330615077","1330615056","1330615050","1330615079"],"photo_ids_order":["1330615027","1330615050","1330615053","1330615056","1330615077","1330615079"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7db689dd7c597f71c37c6117307a11c9.jpg","text":"TemporaryFile(/tmp/multipartBody4962162347316307171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_30_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/22/6d567b9fded8e5491662aa9937b8760a.jpg","text":"TemporaryFile(/tmp/multipartBody3511301782831590624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_30_11_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/22/bddab60945412a6a1770143ae15d8679.jpg","text":"TemporaryFile(/tmp/multipartBody5279787267743214454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_29_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/22/07d7be7ab680e25da86120b01cee4e15.jpg","text":"TemporaryFile(/tmp/multipartBody4758959460653205720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_30_05_6129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ba84fcd5d77d639c36f4ac0813cb4685.jpg","text":"TemporaryFile(/tmp/multipartBody5958704062872753482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_30_17_5718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/409c9b389a1c8cbc7dc8fd83ba93e69d.jpg","text":"TemporaryFile(/tmp/multipartBody6586758795284953178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556917299,"filename":"image_22012025_15_29_17_6514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330615053","file1":"1330615050","file0":"1330615027","file4":"1330615077","file5":"1330615079","file3":"1330615056"},"map_files_photo_id_array":[{"photo_id":"1330615079","filename":"file5"},{"photo_id":"1330615053","filename":"file2"},{"photo_id":"1330615077","filename":"file4"},{"photo_id":"1330615050","filename":"file1"},{"photo_id":"1330615027","filename":"file0"},{"photo_id":"1330615056","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330615027":["hashtag1","hashtag2"]},{"1330615053":["hashtag1","hashtag2"]},{"1330615077":["hashtag1","hashtag2"]},{"1330615056":["hashtag1","hashtag2"]},{"1330615050":["hashtag1","hashtag2"]},{"1330615079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330615027, 1330615053, 1330615077, 1330615056, 1330615050, 1330615079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.96742057800293 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:41:42.377022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/41/image_22012025_15_41_17_5858.jpg', '/media/data/images/22012025/15/38/image_22012025_15_38_40_5454.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_11_5967.jpg', '/media/data/images/22012025/15/29/image_22012025_15_29_05_5529.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_59_6436.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_17_5693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/41/image_22012025_15_41_17_5858.jpg
/media/data/images/22012025/15/38/image_22012025_15_38_40_5454.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_11_5967.jpg
/media/data/images/22012025/15/29/image_22012025_15_29_05_5529.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_59_6436.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_17_5693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330615250","1330615244","1330615253","1330615256","1330615303","1330615246"],"photo_ids_order":["1330615244","1330615246","1330615250","1330615253","1330615256","1330615303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/af95645a84913a2cdbe184b338d5a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2791443367812917186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_29_11_5967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0805690e61f74858a0257f343ff62826.jpg","text":"TemporaryFile(/tmp/multipartBody2618857528768043369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_41_17_5858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/51ac93e521b8000ccb8d572b2cf02169.jpg","text":"TemporaryFile(/tmp/multipartBody5650742860873722463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_29_05_5529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/612e23b54934da3b0240feb8db959396.jpg","text":"TemporaryFile(/tmp/multipartBody4309308421329064571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_28_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/22/5fdb3831fb6e676b3f31588108eab03f.jpg","text":"TemporaryFile(/tmp/multipartBody3130685954296825144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_28_17_5693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cc2ec67e91e85a8bed0a5f5cb3e5cb25.jpg","text":"TemporaryFile(/tmp/multipartBody1442467408811129494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737556982448,"filename":"image_22012025_15_38_40_5454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330615250","file1":"1330615246","file0":"1330615244","file4":"1330615256","file5":"1330615303","file3":"1330615253"},"map_files_photo_id_array":[{"photo_id":"1330615303","filename":"file5"},{"photo_id":"1330615250","filename":"file2"},{"photo_id":"1330615256","filename":"file4"},{"photo_id":"1330615246","filename":"file1"},{"photo_id":"1330615244","filename":"file0"},{"photo_id":"1330615253","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330615250":["hashtag1","hashtag2"]},{"1330615244":["hashtag1","hashtag2"]},{"1330615253":["hashtag1","hashtag2"]},{"1330615256":["hashtag1","hashtag2"]},{"1330615303":["hashtag1","hashtag2"]},{"1330615246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330615250, 1330615244, 1330615253, 1330615256, 1330615303, 1330615246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.828457832336426 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:42:42.611204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/28/image_22012025_15_28_11_6173.jpg', '/media/data/images/22012025/15/28/image_22012025_15_28_05_5988.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_59_5285.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_17_6081.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_11_5382.jpg', '/media/data/images/22012025/15/27/image_22012025_15_27_06_6560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/28/image_22012025_15_28_11_6173.jpg
/media/data/images/22012025/15/28/image_22012025_15_28_05_5988.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_59_5285.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_17_6081.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_11_5382.jpg
/media/data/images/22012025/15/27/image_22012025_15_27_06_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":["1330615370","1330615373","1330615363","1330615357","1330615488","1330615350"],"photo_ids_order":["1330615350","1330615357","1330615363","1330615370","1330615373","1330615488"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65a5d25696e97242bb1cff73766446f1.jpg","text":"TemporaryFile(/tmp/multipartBody2986107028990435416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_27_17_6081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/78f62c38eb07438148dac0dde1e4debc.jpg","text":"TemporaryFile(/tmp/multipartBody7295396550651348505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_27_11_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/22/fce20ecb7ab4b244694fb502397374fc.jpg","text":"TemporaryFile(/tmp/multipartBody2534009281776048992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_27_59_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/22/73517e0f1d1e95704e82cdb4a837bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody4223183675018355770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_28_05_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5f0bd6fba06d08d69ba562cceb68d7b0.jpg","text":"TemporaryFile(/tmp/multipartBody880251309825727191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_27_06_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/22/3ad43d2413d089866c5d5e63fbc36923.jpg","text":"TemporaryFile(/tmp/multipartBody7870172142695838678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557038302,"filename":"image_22012025_15_28_11_6173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330615363","file1":"1330615357","file0":"1330615350","file4":"1330615373","file5":"1330615488","file3":"1330615370"},"map_files_photo_id_array":[{"photo_id":"1330615488","filename":"file5"},{"photo_id":"1330615363","filename":"file2"},{"photo_id":"1330615373","filename":"file4"},{"photo_id":"1330615357","filename":"file1"},{"photo_id":"1330615350","filename":"file0"},{"photo_id":"1330615370","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330615370":["hashtag1","hashtag2"]},{"1330615373":["hashtag1","hashtag2"]},{"1330615363":["hashtag1","hashtag2"]},{"1330615357":["hashtag1","hashtag2"]},{"1330615488":["hashtag1","hashtag2"]},{"1330615350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330615370, 1330615373, 1330615363, 1330615357, 1330615488, 1330615350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.89725947380066 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:43:42.766633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/43/image_22012025_15_43_53_4623.jpg', '/media/data/images/22012025/15/43/image_22012025_15_43_48_7389.jpg', '/media/data/images/22012025/15/43/image_22012025_15_43_40_5251.jpg', '/media/data/images/22012025/15/43/image_22012025_15_43_35_6638.jpg', '/media/data/images/22012025/15/41/image_22012025_15_41_35_5413.jpg', '/media/data/images/22012025/15/26/image_22012025_15_26_59_6486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/43/image_22012025_15_43_53_4623.jpg
/media/data/images/22012025/15/43/image_22012025_15_43_48_7389.jpg
/media/data/images/22012025/15/43/image_22012025_15_43_40_5251.jpg
/media/data/images/22012025/15/43/image_22012025_15_43_35_6638.jpg
/media/data/images/22012025/15/41/image_22012025_15_41_35_5413.jpg
/media/data/images/22012025/15/26/image_22012025_15_26_59_6486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330615835","1330615625","1330615732","1330616052","1330615935","1330615539"],"photo_ids_order":["1330615539","1330615625","1330615732","1330615835","1330615935","1330616052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0fe258ab44be55dca3021f624e04d247.jpg","text":"TemporaryFile(/tmp/multipartBody6098025490477731088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_43_35_6638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cec27d064dbea8d2401525c95ba0a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5509383832150661002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_43_48_7389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4179f883d6c745983209e0c7965c6f08.jpg","text":"TemporaryFile(/tmp/multipartBody2359779253913749634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_43_40_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/22/028e6a656822ce5b578376de529d8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody3672231067865239462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_26_59_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/22/06746beef2519023821e0cf517856794.jpg","text":"TemporaryFile(/tmp/multipartBody5589288787385531486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_41_35_5413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4248d560c935db35f02affa2da405e78.jpg","text":"TemporaryFile(/tmp/multipartBody2785240973867967104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557095930,"filename":"image_22012025_15_43_53_4623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330615732","file1":"1330615625","file0":"1330615539","file4":"1330615935","file5":"1330616052","file3":"1330615835"},"map_files_photo_id_array":[{"photo_id":"1330616052","filename":"file5"},{"photo_id":"1330615732","filename":"file2"},{"photo_id":"1330615935","filename":"file4"},{"photo_id":"1330615625","filename":"file1"},{"photo_id":"1330615539","filename":"file0"},{"photo_id":"1330615835","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330615835":["hashtag1","hashtag2"]},{"1330615625":["hashtag1","hashtag2"]},{"1330615732":["hashtag1","hashtag2"]},{"1330616052":["hashtag1","hashtag2"]},{"1330615935":["hashtag1","hashtag2"]},{"1330615539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330615835, 1330615625, 1330615732, 1330616052, 1330615935, 1330615539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.00812005996704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:44:42.107955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/44/image_22012025_15_44_53_4595.jpg', '/media/data/images/22012025/15/44/image_22012025_15_44_48_6422.jpg', '/media/data/images/22012025/15/44/image_22012025_15_44_41_6479.jpg', '/media/data/images/22012025/15/44/image_22012025_15_44_35_6538.jpg', '/media/data/images/22012025/15/44/image_22012025_15_44_28_5250.jpg', '/media/data/images/22012025/15/44/image_22012025_15_44_23_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/44/image_22012025_15_44_53_4595.jpg
/media/data/images/22012025/15/44/image_22012025_15_44_48_6422.jpg
/media/data/images/22012025/15/44/image_22012025_15_44_41_6479.jpg
/media/data/images/22012025/15/44/image_22012025_15_44_35_6538.jpg
/media/data/images/22012025/15/44/image_22012025_15_44_28_5250.jpg
/media/data/images/22012025/15/44/image_22012025_15_44_23_6496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330616284","1330616287","1330616229","1330616223","1330616267","1330616264"],"photo_ids_order":["1330616223","1330616229","1330616264","1330616267","1330616284","1330616287"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f1692df234a04ba943dd7ed84dfe1c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1137231646312153059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_28_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/22/1f8f0d219e0424d33b4e24f12d09f21c.jpg","text":"TemporaryFile(/tmp/multipartBody7497027431058271679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_23_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/22/0f58ffbe22b1999782711bb2d09cff31.jpg","text":"TemporaryFile(/tmp/multipartBody3155029497153707994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_48_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/22/87c386879b9a04dbc2e75d9603e758fc.jpg","text":"TemporaryFile(/tmp/multipartBody7284934982640962668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_53_4595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/116e54fb7628b889b721e7e948ba0cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2650809688712816887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_35_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/22/7a61cefcb2149eabc44442270566adbb.jpg","text":"TemporaryFile(/tmp/multipartBody210825620142193510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557154896,"filename":"image_22012025_15_44_41_6479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330616264","file1":"1330616229","file0":"1330616223","file4":"1330616284","file5":"1330616287","file3":"1330616267"},"map_files_photo_id_array":[{"photo_id":"1330616287","filename":"file5"},{"photo_id":"1330616264","filename":"file2"},{"photo_id":"1330616284","filename":"file4"},{"photo_id":"1330616229","filename":"file1"},{"photo_id":"1330616223","filename":"file0"},{"photo_id":"1330616267","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330616284":["hashtag1","hashtag2"]},{"1330616287":["hashtag1","hashtag2"]},{"1330616229":["hashtag1","hashtag2"]},{"1330616223":["hashtag1","hashtag2"]},{"1330616267":["hashtag1","hashtag2"]},{"1330616264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330616284, 1330616287, 1330616229, 1330616223, 1330616267, 1330616264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02646780014038 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:45:42.150085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/45/image_22012025_15_45_54_6290.jpg', '/media/data/images/22012025/15/45/image_22012025_15_45_48_6754.jpg', '/media/data/images/22012025/15/45/image_22012025_15_45_41_5256.jpg', '/media/data/images/22012025/15/45/image_22012025_15_45_35_6461.jpg', '/media/data/images/22012025/15/45/image_22012025_15_45_29_6501.jpg', '/media/data/images/22012025/15/45/image_22012025_15_45_22_5198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/45/image_22012025_15_45_54_6290.jpg
/media/data/images/22012025/15/45/image_22012025_15_45_48_6754.jpg
/media/data/images/22012025/15/45/image_22012025_15_45_41_5256.jpg
/media/data/images/22012025/15/45/image_22012025_15_45_35_6461.jpg
/media/data/images/22012025/15/45/image_22012025_15_45_29_6501.jpg
/media/data/images/22012025/15/45/image_22012025_15_45_22_5198.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330616432","1330616446","1330616461","1330616440","1330616475","1330616466"],"photo_ids_order":["1330616432","1330616440","1330616446","1330616461","1330616466","1330616475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2399e5b555cce3e12898c10a7d69759b.jpg","text":"TemporaryFile(/tmp/multipartBody4864093646379731432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_54_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/22/c6fa45554981e3a2cec5b87048499f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2402143839810096603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_41_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/22/93f50914f59e86e5bc198aca729e07a1.jpg","text":"TemporaryFile(/tmp/multipartBody9167448403961275236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_35_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/22/4ebde20ad1b48c835230129b78314331.jpg","text":"TemporaryFile(/tmp/multipartBody5849814438333291814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_48_6754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/296de31539491b84f20360132f96adbe.jpg","text":"TemporaryFile(/tmp/multipartBody1249700088904304969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_22_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/22/ec1d58f45043c9daff7e98ebde6d3f72.jpg","text":"TemporaryFile(/tmp/multipartBody2508768920876111828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557216070,"filename":"image_22012025_15_45_29_6501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330616446","file1":"1330616440","file0":"1330616432","file4":"1330616466","file5":"1330616475","file3":"1330616461"},"map_files_photo_id_array":[{"photo_id":"1330616475","filename":"file5"},{"photo_id":"1330616446","filename":"file2"},{"photo_id":"1330616466","filename":"file4"},{"photo_id":"1330616440","filename":"file1"},{"photo_id":"1330616432","filename":"file0"},{"photo_id":"1330616461","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330616432":["hashtag1","hashtag2"]},{"1330616446":["hashtag1","hashtag2"]},{"1330616461":["hashtag1","hashtag2"]},{"1330616440":["hashtag1","hashtag2"]},{"1330616475":["hashtag1","hashtag2"]},{"1330616466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330616432, 1330616446, 1330616461, 1330616440, 1330616475, 1330616466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.9665892124176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:46:42.268380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/46/image_22012025_15_46_54_6268.jpg', '/media/data/images/22012025/15/46/image_22012025_15_46_47_6241.jpg', '/media/data/images/22012025/15/46/image_22012025_15_46_41_5271.jpg', '/media/data/images/22012025/15/46/image_22012025_15_46_36_6496.jpg', '/media/data/images/22012025/15/46/image_22012025_15_46_29_6527.jpg', '/media/data/images/22012025/15/46/image_22012025_15_46_22_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/46/image_22012025_15_46_54_6268.jpg
/media/data/images/22012025/15/46/image_22012025_15_46_47_6241.jpg
/media/data/images/22012025/15/46/image_22012025_15_46_41_5271.jpg
/media/data/images/22012025/15/46/image_22012025_15_46_36_6496.jpg
/media/data/images/22012025/15/46/image_22012025_15_46_29_6527.jpg
/media/data/images/22012025/15/46/image_22012025_15_46_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":["1330616563","1330616542","1330616551","1330616545","1330616559","1330616555"],"photo_ids_order":["1330616542","1330616545","1330616551","1330616555","1330616559","1330616563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ce2250bc7b33d9364b4b7bed6c0de34.jpg","text":"TemporaryFile(/tmp/multipartBody1375765442142605418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_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/22/85395c9c80ec200a2eee706011a43313.jpg","text":"TemporaryFile(/tmp/multipartBody8578668965176459592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_54_6268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c961200f071618c84f3cb501266f95c.jpg","text":"TemporaryFile(/tmp/multipartBody7707020688353897307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_41_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/22/b3e7624a53da1be47bfe32aa72e0a563.jpg","text":"TemporaryFile(/tmp/multipartBody1480940869175889107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_47_6241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/55a67f9c9d82993ac67ecb3758369c1f.jpg","text":"TemporaryFile(/tmp/multipartBody218385424592420233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_29_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/22/d187e834b107df292d8063b3b2dc167e.jpg","text":"TemporaryFile(/tmp/multipartBody8896704360987095524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557277517,"filename":"image_22012025_15_46_36_6496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330616551","file1":"1330616545","file0":"1330616542","file4":"1330616559","file5":"1330616563","file3":"1330616555"},"map_files_photo_id_array":[{"photo_id":"1330616563","filename":"file5"},{"photo_id":"1330616551","filename":"file2"},{"photo_id":"1330616559","filename":"file4"},{"photo_id":"1330616545","filename":"file1"},{"photo_id":"1330616542","filename":"file0"},{"photo_id":"1330616555","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330616563":["hashtag1","hashtag2"]},{"1330616542":["hashtag1","hashtag2"]},{"1330616551":["hashtag1","hashtag2"]},{"1330616545":["hashtag1","hashtag2"]},{"1330616559":["hashtag1","hashtag2"]},{"1330616555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330616563, 1330616542, 1330616551, 1330616545, 1330616559, 1330616555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.06733751296997 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:47:42.690754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/47/image_22012025_15_47_54_5562.jpg', '/media/data/images/22012025/15/47/image_22012025_15_47_48_6831.jpg', '/media/data/images/22012025/15/47/image_22012025_15_47_41_5292.jpg', '/media/data/images/22012025/15/47/image_22012025_15_47_35_6474.jpg', '/media/data/images/22012025/15/47/image_22012025_15_47_29_6503.jpg', '/media/data/images/22012025/15/47/image_22012025_15_47_22_5263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/47/image_22012025_15_47_54_5562.jpg
/media/data/images/22012025/15/47/image_22012025_15_47_48_6831.jpg
/media/data/images/22012025/15/47/image_22012025_15_47_41_5292.jpg
/media/data/images/22012025/15/47/image_22012025_15_47_35_6474.jpg
/media/data/images/22012025/15/47/image_22012025_15_47_29_6503.jpg
/media/data/images/22012025/15/47/image_22012025_15_47_22_5263.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330616702","1330616683","1330616697","1330616679","1330616699","1330616642"],"photo_ids_order":["1330616642","1330616679","1330616683","1330616697","1330616699","1330616702"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1551b0e883c74fe9268a1426572af2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3138742459969962745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_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/22/0392d1f8ce5f97416eea8986a41275e9.jpg","text":"TemporaryFile(/tmp/multipartBody1929930531600419643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_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/22/d337577075ab2157161c952c256440ba.jpg","text":"TemporaryFile(/tmp/multipartBody4706581437900898500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_35_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/22/61e3e0371d940ea52518206ec974092f.jpg","text":"TemporaryFile(/tmp/multipartBody3622335975837637745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_48_6831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38bb2920960c1fd7a39983042510636c.jpg","text":"TemporaryFile(/tmp/multipartBody1048258051323242492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_29_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/22/a0891f82c29d099ebbd77314695d8922.jpg","text":"TemporaryFile(/tmp/multipartBody6158686331640988164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557362371,"filename":"image_22012025_15_47_54_5562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330616683","file1":"1330616679","file0":"1330616642","file4":"1330616699","file5":"1330616702","file3":"1330616697"},"map_files_photo_id_array":[{"photo_id":"1330616702","filename":"file5"},{"photo_id":"1330616683","filename":"file2"},{"photo_id":"1330616699","filename":"file4"},{"photo_id":"1330616679","filename":"file1"},{"photo_id":"1330616642","filename":"file0"},{"photo_id":"1330616697","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330616702":["hashtag1","hashtag2"]},{"1330616683":["hashtag1","hashtag2"]},{"1330616697":["hashtag1","hashtag2"]},{"1330616679":["hashtag1","hashtag2"]},{"1330616699":["hashtag1","hashtag2"]},{"1330616642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330616702, 1330616683, 1330616697, 1330616679, 1330616699, 1330616642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.03851795196533 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 15:49:04.696424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/48/image_22012025_15_48_53_6388.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_47_5556.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_41_6684.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_35_5415.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_29_6667.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_23_5370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/48/image_22012025_15_48_53_6388.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_47_5556.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_41_6684.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_35_5415.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_29_6667.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_23_5370.jpg
2025-01-22 15:49:04.846152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/48/image_22012025_15_48_53_6388.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_47_5556.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_41_6684.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_35_5415.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_29_6667.jpg', '/media/data/images/22012025/15/48/image_22012025_15_48_23_5370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/48/image_22012025_15_48_53_6388.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_47_5556.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_41_6684.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_35_5415.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_29_6667.jpg
/media/data/images/22012025/15/48/image_22012025_15_48_23_5370.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":["1330617559","1330617547","1330617555","1330617537","1330617542","1330617551"],"photo_ids_order":["1330617537","1330617542","1330617547","1330617551","1330617555","1330617559"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de09608c1bf10f3970c538376d1471c2.jpg","text":"TemporaryFile(/tmp/multipartBody3763248611703445929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_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/22/253b876344585102af4799998c1555e1.jpg","text":"TemporaryFile(/tmp/multipartBody6859169870829814156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_41_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0572af926040a2648c54fc59f5d9b920.jpg","text":"TemporaryFile(/tmp/multipartBody8858362901816177507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_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/22/3d205f11149b8850af46484aa94c1b81.jpg","text":"TemporaryFile(/tmp/multipartBody2610715844903020658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_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/22/ba3e0d44ce6097a3f6a6485d5bed52fb.jpg","text":"TemporaryFile(/tmp/multipartBody7406586257002532172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_47_5556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f4968426ece0d7877d6025710f1cde70.jpg","text":"TemporaryFile(/tmp/multipartBody6598677322088879170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557441269,"filename":"image_22012025_15_48_35_5415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330617547","file1":"1330617542","file0":"1330617537","file4":"1330617555","file5":"1330617559","file3":"1330617551"},"map_files_photo_id_array":[{"photo_id":"1330617559","filename":"file5"},{"photo_id":"1330617547","filename":"file2"},{"photo_id":"1330617555","filename":"file4"},{"photo_id":"1330617542","filename":"file1"},{"photo_id":"1330617537","filename":"file0"},{"photo_id":"1330617551","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330617559":["hashtag1","hashtag2"]},{"1330617547":["hashtag1","hashtag2"]},{"1330617555":["hashtag1","hashtag2"]},{"1330617537":["hashtag1","hashtag2"]},{"1330617542":["hashtag1","hashtag2"]},{"1330617551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330617559, 1330617547, 1330617555, 1330617537, 1330617542, 1330617551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.16892218589783 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330617754","1330617541","1330617550","1330617558","1330617546","1330617554"],"photo_ids_order":["1330617541","1330617546","1330617550","1330617554","1330617558","1330617754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68d8bf4ed2b0911714e620ab7eb76f33.jpg","text":"TemporaryFile(/tmp/multipartBody6730584569365937021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_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/22/9e8bc4aed031885a646cfbb1130981c5.jpg","text":"TemporaryFile(/tmp/multipartBody1722139577920070193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_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/22/783ebc7c1992e8e9b736e81e4d3f2f64.jpg","text":"TemporaryFile(/tmp/multipartBody2055530727135854062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_41_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09ee3add64035b42e252d49f6f03fa16.jpg","text":"TemporaryFile(/tmp/multipartBody3984190648158813436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_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/22/644fbc98a65b2693099300cb58d48f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7150580975509187274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_47_5556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/953df51208c715d7ed5385e52ea8cc96.jpg","text":"TemporaryFile(/tmp/multipartBody6581594185056139663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557446578,"filename":"image_22012025_15_48_35_5415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330617550","file1":"1330617546","file0":"1330617541","file4":"1330617558","file5":"1330617754","file3":"1330617554"},"map_files_photo_id_array":[{"photo_id":"1330617754","filename":"file5"},{"photo_id":"1330617550","filename":"file2"},{"photo_id":"1330617558","filename":"file4"},{"photo_id":"1330617546","filename":"file1"},{"photo_id":"1330617541","filename":"file0"},{"photo_id":"1330617554","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330617754":["hashtag1","hashtag2"]},{"1330617541":["hashtag1","hashtag2"]},{"1330617550":["hashtag1","hashtag2"]},{"1330617558":["hashtag1","hashtag2"]},{"1330617546":["hashtag1","hashtag2"]},{"1330617554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330617754, 1330617541, 1330617550, 1330617558, 1330617546, 1330617554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.53777647018433 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:50:22.421949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/50/image_22012025_15_50_53_5396.jpg', '/media/data/images/22012025/15/50/image_22012025_15_50_47_5382.jpg', '/media/data/images/22012025/15/50/image_22012025_15_50_42_6447.jpg', '/media/data/images/22012025/15/50/image_22012025_15_50_36_5660.jpg', '/media/data/images/22012025/15/50/image_22012025_15_50_30_5731.jpg', '/media/data/images/22012025/15/50/image_22012025_15_50_25_6257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/50/image_22012025_15_50_53_5396.jpg
/media/data/images/22012025/15/50/image_22012025_15_50_47_5382.jpg
/media/data/images/22012025/15/50/image_22012025_15_50_42_6447.jpg
/media/data/images/22012025/15/50/image_22012025_15_50_36_5660.jpg
/media/data/images/22012025/15/50/image_22012025_15_50_30_5731.jpg
/media/data/images/22012025/15/50/image_22012025_15_50_25_6257.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330617874","1330617868","1330617864","1330617872","1330617854","1330617859"],"photo_ids_order":["1330617854","1330617859","1330617864","1330617868","1330617872","1330617874"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f44e2bae5c205ce1a1c445f0891ed400.jpg","text":"TemporaryFile(/tmp/multipartBody1514000192838168561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_25_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/22/b4ef84eec464e67fcf9c16a268e48024.jpg","text":"TemporaryFile(/tmp/multipartBody6171225875375486906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_36_5660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2e627f6c3234aceb48ae87cf2122baef.jpg","text":"TemporaryFile(/tmp/multipartBody7529758153834064113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_42_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/22/037a9c5f60bfe964dcacdc395fa097a4.jpg","text":"TemporaryFile(/tmp/multipartBody7721294930424862502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_30_5731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a2325712057345777be2ec6b4be513d.jpg","text":"TemporaryFile(/tmp/multipartBody6373127178443779290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_53_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/58f2671dfe264896c6fa2d51db3eb266.jpg","text":"TemporaryFile(/tmp/multipartBody7839813515689013599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557502858,"filename":"image_22012025_15_50_47_5382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330617864","file1":"1330617859","file0":"1330617854","file4":"1330617872","file5":"1330617874","file3":"1330617868"},"map_files_photo_id_array":[{"photo_id":"1330617874","filename":"file5"},{"photo_id":"1330617864","filename":"file2"},{"photo_id":"1330617872","filename":"file4"},{"photo_id":"1330617859","filename":"file1"},{"photo_id":"1330617854","filename":"file0"},{"photo_id":"1330617868","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330617874":["hashtag1","hashtag2"]},{"1330617868":["hashtag1","hashtag2"]},{"1330617864":["hashtag1","hashtag2"]},{"1330617872":["hashtag1","hashtag2"]},{"1330617854":["hashtag1","hashtag2"]},{"1330617859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330617874, 1330617868, 1330617864, 1330617872, 1330617854, 1330617859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.254804849624634 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:51:22.623355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/51/image_22012025_15_51_53_5267.jpg', '/media/data/images/22012025/15/51/image_22012025_15_51_47_6077.jpg', '/media/data/images/22012025/15/51/image_22012025_15_51_42_6256.jpg', '/media/data/images/22012025/15/51/image_22012025_15_51_36_5638.jpg', '/media/data/images/22012025/15/51/image_22012025_15_51_30_6326.jpg', '/media/data/images/22012025/15/51/image_22012025_15_51_24_6781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/51/image_22012025_15_51_53_5267.jpg
/media/data/images/22012025/15/51/image_22012025_15_51_47_6077.jpg
/media/data/images/22012025/15/51/image_22012025_15_51_42_6256.jpg
/media/data/images/22012025/15/51/image_22012025_15_51_36_5638.jpg
/media/data/images/22012025/15/51/image_22012025_15_51_30_6326.jpg
/media/data/images/22012025/15/51/image_22012025_15_51_24_6781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330617992","1330618016","1330618010","1330618013","1330618007","1330617988"],"photo_ids_order":["1330617988","1330617992","1330618007","1330618010","1330618013","1330618016"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/794d8746401b452a45c99e7d64e67146.jpg","text":"TemporaryFile(/tmp/multipartBody4003872307763825569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_47_6077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2175ace475189e822388ea7e6597464e.jpg","text":"TemporaryFile(/tmp/multipartBody1629331297201452737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_24_6781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/27e5661b3c3712fb6d5a16c0c271e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody352690689701556041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_36_5638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3624628f7dd662c33849ff04c1dddab3.jpg","text":"TemporaryFile(/tmp/multipartBody8843592276300668053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_30_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/22/e9fb598edc9998bb8b92a9a6b767467b.jpg","text":"TemporaryFile(/tmp/multipartBody1384233062272950544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_42_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/22/a2e017f1a34017f2ec22aed838ec8626.jpg","text":"TemporaryFile(/tmp/multipartBody6277342097304057863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557551951,"filename":"image_22012025_15_51_53_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618007","file1":"1330617992","file0":"1330617988","file4":"1330618013","file5":"1330618016","file3":"1330618010"},"map_files_photo_id_array":[{"photo_id":"1330618016","filename":"file5"},{"photo_id":"1330618007","filename":"file2"},{"photo_id":"1330618013","filename":"file4"},{"photo_id":"1330617992","filename":"file1"},{"photo_id":"1330617988","filename":"file0"},{"photo_id":"1330618010","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330617992":["hashtag1","hashtag2"]},{"1330618016":["hashtag1","hashtag2"]},{"1330618010":["hashtag1","hashtag2"]},{"1330618013":["hashtag1","hashtag2"]},{"1330618007":["hashtag1","hashtag2"]},{"1330617988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330617992, 1330618016, 1330618010, 1330618013, 1330618007, 1330617988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65536046028137 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:52:22.646560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/52/image_22012025_15_52_53_6488.jpg', '/media/data/images/22012025/15/52/image_22012025_15_52_46_5260.jpg', '/media/data/images/22012025/15/52/image_22012025_15_52_41_6519.jpg', '/media/data/images/22012025/15/52/image_22012025_15_52_35_5369.jpg', '/media/data/images/22012025/15/52/image_22012025_15_52_30_5930.jpg', '/media/data/images/22012025/15/52/image_22012025_15_52_23_6639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/52/image_22012025_15_52_53_6488.jpg
/media/data/images/22012025/15/52/image_22012025_15_52_46_5260.jpg
/media/data/images/22012025/15/52/image_22012025_15_52_41_6519.jpg
/media/data/images/22012025/15/52/image_22012025_15_52_35_5369.jpg
/media/data/images/22012025/15/52/image_22012025_15_52_30_5930.jpg
/media/data/images/22012025/15/52/image_22012025_15_52_23_6639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618161","1330618174","1330618168","1330618171","1330618165","1330618144"],"photo_ids_order":["1330618144","1330618161","1330618165","1330618168","1330618171","1330618174"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d96370074db673a9bd426e09c66e2aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8998795582006356231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_46_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/22/b8cee4ebda3dc7fee88ab324dddad0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6578136799992963843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_23_6639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35d31779ae71a23f5caf0b668fcdca3c.jpg","text":"TemporaryFile(/tmp/multipartBody4977381349421628078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_35_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/22/fd9e79bb26bcd3b0aa16b0ebe33ff18b.jpg","text":"TemporaryFile(/tmp/multipartBody6960277736136700621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_30_5930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d793805a28cd05f246b8a94b2111c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody399845362247378580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_41_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/22/ac2782fc9cca214b4d6347782820f28a.jpg","text":"TemporaryFile(/tmp/multipartBody7092946075487467920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557612711,"filename":"image_22012025_15_52_53_6488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618165","file1":"1330618161","file0":"1330618144","file4":"1330618171","file5":"1330618174","file3":"1330618168"},"map_files_photo_id_array":[{"photo_id":"1330618174","filename":"file5"},{"photo_id":"1330618165","filename":"file2"},{"photo_id":"1330618171","filename":"file4"},{"photo_id":"1330618161","filename":"file1"},{"photo_id":"1330618144","filename":"file0"},{"photo_id":"1330618168","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618161":["hashtag1","hashtag2"]},{"1330618174":["hashtag1","hashtag2"]},{"1330618168":["hashtag1","hashtag2"]},{"1330618171":["hashtag1","hashtag2"]},{"1330618165":["hashtag1","hashtag2"]},{"1330618144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618161, 1330618174, 1330618168, 1330618171, 1330618165, 1330618144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77437663078308 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:53:22.915964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/53/image_22012025_15_53_53_6284.jpg', '/media/data/images/22012025/15/53/image_22012025_15_53_46_5349.jpg', '/media/data/images/22012025/15/53/image_22012025_15_53_41_6530.jpg', '/media/data/images/22012025/15/53/image_22012025_15_53_35_6020.jpg', '/media/data/images/22012025/15/53/image_22012025_15_53_29_6031.jpg', '/media/data/images/22012025/15/53/image_22012025_15_53_23_5303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/53/image_22012025_15_53_53_6284.jpg
/media/data/images/22012025/15/53/image_22012025_15_53_46_5349.jpg
/media/data/images/22012025/15/53/image_22012025_15_53_41_6530.jpg
/media/data/images/22012025/15/53/image_22012025_15_53_35_6020.jpg
/media/data/images/22012025/15/53/image_22012025_15_53_29_6031.jpg
/media/data/images/22012025/15/53/image_22012025_15_53_23_5303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618216","1330618235","1330618208","1330618223","1330618237","1330618219"],"photo_ids_order":["1330618208","1330618216","1330618219","1330618223","1330618235","1330618237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b9a7fe706c6167f2450cc9dbb726152.jpg","text":"TemporaryFile(/tmp/multipartBody6028770278803271498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_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/22/fac28aad6fa90ca4036964f474a4891c.jpg","text":"TemporaryFile(/tmp/multipartBody3544129684930041060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_29_6031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f102241430fca205b976b3971de2c59c.jpg","text":"TemporaryFile(/tmp/multipartBody2649267751895738292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_53_6284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/40ae5a8ceda4ba52a150e4476739612a.jpg","text":"TemporaryFile(/tmp/multipartBody2131042488241823708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_35_6020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad78e0757e41f90ac82775ddad92df4d.jpg","text":"TemporaryFile(/tmp/multipartBody4457060045906319350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_23_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/22/fc3b1201cfb1036f5aa61f43cb46a65f.jpg","text":"TemporaryFile(/tmp/multipartBody7531795817083574659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557674091,"filename":"image_22012025_15_53_41_6530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618219","file1":"1330618216","file0":"1330618208","file4":"1330618235","file5":"1330618237","file3":"1330618223"},"map_files_photo_id_array":[{"photo_id":"1330618237","filename":"file5"},{"photo_id":"1330618219","filename":"file2"},{"photo_id":"1330618235","filename":"file4"},{"photo_id":"1330618216","filename":"file1"},{"photo_id":"1330618208","filename":"file0"},{"photo_id":"1330618223","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618216":["hashtag1","hashtag2"]},{"1330618235":["hashtag1","hashtag2"]},{"1330618208":["hashtag1","hashtag2"]},{"1330618223":["hashtag1","hashtag2"]},{"1330618237":["hashtag1","hashtag2"]},{"1330618219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618216, 1330618235, 1330618208, 1330618223, 1330618237, 1330618219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.227580308914185 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:54:22.086210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/54/image_22012025_15_54_53_6481.jpg', '/media/data/images/22012025/15/54/image_22012025_15_54_47_5276.jpg', '/media/data/images/22012025/15/54/image_22012025_15_54_41_6498.jpg', '/media/data/images/22012025/15/54/image_22012025_15_54_35_5967.jpg', '/media/data/images/22012025/15/54/image_22012025_15_54_29_5635.jpg', '/media/data/images/22012025/15/54/image_22012025_15_54_24_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/54/image_22012025_15_54_53_6481.jpg
/media/data/images/22012025/15/54/image_22012025_15_54_47_5276.jpg
/media/data/images/22012025/15/54/image_22012025_15_54_41_6498.jpg
/media/data/images/22012025/15/54/image_22012025_15_54_35_5967.jpg
/media/data/images/22012025/15/54/image_22012025_15_54_29_5635.jpg
/media/data/images/22012025/15/54/image_22012025_15_54_24_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":["1330618315","1330618272","1330618266","1330618320","1330618310","1330618318"],"photo_ids_order":["1330618266","1330618272","1330618310","1330618315","1330618318","1330618320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d5f179b6949adbcac864ea2645b68077.jpg","text":"TemporaryFile(/tmp/multipartBody1264250574963411399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_35_5967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4e3357ce31d1b414bdd23b5a6b827d64.jpg","text":"TemporaryFile(/tmp/multipartBody2343521525013961571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_47_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/22/7300117dedda8c37af068a2ba0342283.jpg","text":"TemporaryFile(/tmp/multipartBody8355712055638029326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_53_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/22/4fdcbbf8d9aa3174572d908a6af15037.jpg","text":"TemporaryFile(/tmp/multipartBody5627754373784698338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_24_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/22/56d93156cef28a35b0010779ce3a7630.jpg","text":"TemporaryFile(/tmp/multipartBody91560104027314938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_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/22/b920f55093fa40fdb5565cf8337a7e77.jpg","text":"TemporaryFile(/tmp/multipartBody4741180280166380140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557735301,"filename":"image_22012025_15_54_29_5635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618310","file1":"1330618272","file0":"1330618266","file4":"1330618318","file5":"1330618320","file3":"1330618315"},"map_files_photo_id_array":[{"photo_id":"1330618320","filename":"file5"},{"photo_id":"1330618310","filename":"file2"},{"photo_id":"1330618318","filename":"file4"},{"photo_id":"1330618272","filename":"file1"},{"photo_id":"1330618266","filename":"file0"},{"photo_id":"1330618315","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618315":["hashtag1","hashtag2"]},{"1330618272":["hashtag1","hashtag2"]},{"1330618266":["hashtag1","hashtag2"]},{"1330618320":["hashtag1","hashtag2"]},{"1330618310":["hashtag1","hashtag2"]},{"1330618318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618315, 1330618272, 1330618266, 1330618320, 1330618310, 1330618318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.76543641090393 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:55:22.164433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/55/image_22012025_15_55_53_6496.jpg', '/media/data/images/22012025/15/55/image_22012025_15_55_47_5358.jpg', '/media/data/images/22012025/15/55/image_22012025_15_55_41_5281.jpg', '/media/data/images/22012025/15/55/image_22012025_15_55_36_6490.jpg', '/media/data/images/22012025/15/55/image_22012025_15_55_30_6802.jpg', '/media/data/images/22012025/15/55/image_22012025_15_55_23_5372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/55/image_22012025_15_55_53_6496.jpg
/media/data/images/22012025/15/55/image_22012025_15_55_47_5358.jpg
/media/data/images/22012025/15/55/image_22012025_15_55_41_5281.jpg
/media/data/images/22012025/15/55/image_22012025_15_55_36_6490.jpg
/media/data/images/22012025/15/55/image_22012025_15_55_30_6802.jpg
/media/data/images/22012025/15/55/image_22012025_15_55_23_5372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618333","1330618365","1330618356","1330618338","1330618343","1330618360"],"photo_ids_order":["1330618333","1330618338","1330618343","1330618356","1330618360","1330618365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c1fcdf0d4495bb7f10885f80246dee7.jpg","text":"TemporaryFile(/tmp/multipartBody5322540373751615545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_53_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/22/2d18d9eeee2811ccde91c2722200c618.jpg","text":"TemporaryFile(/tmp/multipartBody5002356286818243155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_23_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/22/482ea136bb131640f3e4cbcdc8e49638.jpg","text":"TemporaryFile(/tmp/multipartBody4930960266222554919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_36_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/22/67e6f7f9821f0d8d9714b04d83854468.jpg","text":"TemporaryFile(/tmp/multipartBody8737091629573374144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_47_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/22/3b6f16f374a4915f734f31ee981b0afb.jpg","text":"TemporaryFile(/tmp/multipartBody6478901608779451248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_41_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/22/9d4456ec28f31780df810de73c5f56d1.jpg","text":"TemporaryFile(/tmp/multipartBody3919405172172154227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557799034,"filename":"image_22012025_15_55_30_6802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618343","file1":"1330618338","file0":"1330618333","file4":"1330618360","file5":"1330618365","file3":"1330618356"},"map_files_photo_id_array":[{"photo_id":"1330618365","filename":"file5"},{"photo_id":"1330618343","filename":"file2"},{"photo_id":"1330618360","filename":"file4"},{"photo_id":"1330618338","filename":"file1"},{"photo_id":"1330618333","filename":"file0"},{"photo_id":"1330618356","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618333":["hashtag1","hashtag2"]},{"1330618365":["hashtag1","hashtag2"]},{"1330618356":["hashtag1","hashtag2"]},{"1330618338":["hashtag1","hashtag2"]},{"1330618343":["hashtag1","hashtag2"]},{"1330618360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618333, 1330618365, 1330618356, 1330618338, 1330618343, 1330618360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.274786710739136 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:56:22.275669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/56/image_22012025_15_56_53_6506.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_46_5289.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_41_5175.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_36_7280.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_29_5318.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_23_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/56/image_22012025_15_56_53_6506.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_46_5289.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_41_5175.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_36_7280.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_29_5318.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_23_6591.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.93412709236145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:56:42.298487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/56/image_22012025_15_56_53_6506.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_46_5289.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_41_5175.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_36_7280.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_29_5318.jpg', '/media/data/images/22012025/15/56/image_22012025_15_56_23_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/56/image_22012025_15_56_53_6506.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_46_5289.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_41_5175.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_36_7280.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_29_5318.jpg
/media/data/images/22012025/15/56/image_22012025_15_56_23_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":["1330618408","1330618427","1330618399","1330618429","1330618423","1330618417"],"photo_ids_order":["1330618399","1330618408","1330618417","1330618423","1330618427","1330618429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3af3a9fd0149557e1c61bce55cd22d17.jpg","text":"TemporaryFile(/tmp/multipartBody5400764735711971191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_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/22/6f0032d5d30683b0be7cbdd9a21f3c38.jpg","text":"TemporaryFile(/tmp/multipartBody5552432761743287597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_29_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/22/57dca9c185c0b469f8b08486fa84d506.jpg","text":"TemporaryFile(/tmp/multipartBody7937097313507787282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_53_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/22/941973aa4c1a9b4a5545e18cd8162a45.jpg","text":"TemporaryFile(/tmp/multipartBody4747906346397495011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_23_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/22/7e910676038d5cc04b83c22f01fc25ef.jpg","text":"TemporaryFile(/tmp/multipartBody6960543447004172597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_36_7280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ba7d3e401e794925d43e68fc29378332.jpg","text":"TemporaryFile(/tmp/multipartBody8286365373021707463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737557877961,"filename":"image_22012025_15_56_41_5175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618417","file1":"1330618408","file0":"1330618399","file4":"1330618427","file5":"1330618429","file3":"1330618423"},"map_files_photo_id_array":[{"photo_id":"1330618429","filename":"file5"},{"photo_id":"1330618417","filename":"file2"},{"photo_id":"1330618427","filename":"file4"},{"photo_id":"1330618408","filename":"file1"},{"photo_id":"1330618399","filename":"file0"},{"photo_id":"1330618423","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618408":["hashtag1","hashtag2"]},{"1330618427":["hashtag1","hashtag2"]},{"1330618399":["hashtag1","hashtag2"]},{"1330618429":["hashtag1","hashtag2"]},{"1330618423":["hashtag1","hashtag2"]},{"1330618417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618408, 1330618427, 1330618399, 1330618429, 1330618423, 1330618417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.45445156097412 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 15:57:42.612812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/57/image_22012025_15_57_53_5604.jpg', '/media/data/images/22012025/15/57/image_22012025_15_57_48_6604.jpg', '/media/data/images/22012025/15/57/image_22012025_15_57_41_5431.jpg', '/media/data/images/22012025/15/57/image_22012025_15_57_35_6204.jpg', '/media/data/images/22012025/15/57/image_22012025_15_57_30_5544.jpg', '/media/data/images/22012025/15/57/image_22012025_15_57_24_6641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/57/image_22012025_15_57_53_5604.jpg
/media/data/images/22012025/15/57/image_22012025_15_57_48_6604.jpg
/media/data/images/22012025/15/57/image_22012025_15_57_41_5431.jpg
/media/data/images/22012025/15/57/image_22012025_15_57_35_6204.jpg
/media/data/images/22012025/15/57/image_22012025_15_57_30_5544.jpg
/media/data/images/22012025/15/57/image_22012025_15_57_24_6641.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-22 15:59:05.087628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/58/image_22012025_15_58_53_5022.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_48_7333.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_41_5404.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_35_6689.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_28_5400.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_23_6666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/58/image_22012025_15_58_53_5022.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_48_7333.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_41_5404.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_35_6689.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_28_5400.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_23_6666.jpg
2025-01-22 15:59:05.457496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/15/58/image_22012025_15_58_53_5022.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_48_7333.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_41_5404.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_35_6689.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_28_5400.jpg', '/media/data/images/22012025/15/58/image_22012025_15_58_23_6666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/15/58/image_22012025_15_58_53_5022.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_48_7333.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_41_5404.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_35_6689.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_28_5400.jpg
/media/data/images/22012025/15/58/image_22012025_15_58_23_6666.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":["1330618677","1330618656","1330618635","1330618673","1330618681","1330618684"],"photo_ids_order":["1330618635","1330618656","1330618673","1330618677","1330618681","1330618684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/50fed6baac372adab04e56ebf2cce855.jpg","text":"TemporaryFile(/tmp/multipartBody1864681986980219539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_35_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a60389b73d34422bfaa2ede1b570d19.jpg","text":"TemporaryFile(/tmp/multipartBody8419205084914478929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_48_7333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a9d65f667bc8a417c88bc3a6f7877b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2838803341396068460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_53_5022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d650523408e43b8a31673a65a1b3b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2263183704688955861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_41_5404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0c23cf9d1249fec1c041db34554791e6.jpg","text":"TemporaryFile(/tmp/multipartBody2463219992346643683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_28_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/22/d173034534ca5b700f8ce8d78e515ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5767306326794742595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558049226,"filename":"image_22012025_15_58_23_6666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618673","file1":"1330618656","file0":"1330618635","file4":"1330618681","file5":"1330618684","file3":"1330618677"},"map_files_photo_id_array":[{"photo_id":"1330618684","filename":"file5"},{"photo_id":"1330618673","filename":"file2"},{"photo_id":"1330618681","filename":"file4"},{"photo_id":"1330618656","filename":"file1"},{"photo_id":"1330618635","filename":"file0"},{"photo_id":"1330618677","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618677":["hashtag1","hashtag2"]},{"1330618656":["hashtag1","hashtag2"]},{"1330618635":["hashtag1","hashtag2"]},{"1330618673":["hashtag1","hashtag2"]},{"1330618681":["hashtag1","hashtag2"]},{"1330618684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618677, 1330618656, 1330618635, 1330618673, 1330618681, 1330618684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.69675636291504 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618674","1330618713","1330618682","1330618685","1330618678","1330618687"],"photo_ids_order":["1330618674","1330618678","1330618682","1330618685","1330618687","1330618713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c6846e8190125e3c2e824c4abc3a9030.jpg","text":"TemporaryFile(/tmp/multipartBody7606404048307184763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_53_5022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad2a9f958e94af0725d37f702ac68010.jpg","text":"TemporaryFile(/tmp/multipartBody228801755749408126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_23_6666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a49f94c30bff2a0efe71f796b30642e1.jpg","text":"TemporaryFile(/tmp/multipartBody2568855335861874028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_41_5404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cbdae3816c238d641153df4fe63839ad.jpg","text":"TemporaryFile(/tmp/multipartBody5023974848153385087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_35_6689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4681da4b8f7c187bbe1dadce80d1970d.jpg","text":"TemporaryFile(/tmp/multipartBody3334110759635074748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_48_7333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/be7f1ad565f8791e59b5eb2987190fba.jpg","text":"TemporaryFile(/tmp/multipartBody2071384001099878668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558060212,"filename":"image_22012025_15_58_28_5400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618682","file1":"1330618678","file0":"1330618674","file4":"1330618687","file5":"1330618713","file3":"1330618685"},"map_files_photo_id_array":[{"photo_id":"1330618713","filename":"file5"},{"photo_id":"1330618682","filename":"file2"},{"photo_id":"1330618687","filename":"file4"},{"photo_id":"1330618678","filename":"file1"},{"photo_id":"1330618674","filename":"file0"},{"photo_id":"1330618685","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618674":["hashtag1","hashtag2"]},{"1330618713":["hashtag1","hashtag2"]},{"1330618682":["hashtag1","hashtag2"]},{"1330618685":["hashtag1","hashtag2"]},{"1330618678":["hashtag1","hashtag2"]},{"1330618687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618674, 1330618713, 1330618682, 1330618685, 1330618678, 1330618687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.56872701644897 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:00:42.656836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/00/image_22012025_16_00_53_4928.jpg', '/media/data/images/22012025/16/00/image_22012025_16_00_49_6548.jpg', '/media/data/images/22012025/16/00/image_22012025_16_00_42_6366.jpg', '/media/data/images/22012025/16/00/image_22012025_16_00_36_5930.jpg', '/media/data/images/22012025/16/00/image_22012025_16_00_30_5903.jpg', '/media/data/images/22012025/16/00/image_22012025_16_00_24_6852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/00/image_22012025_16_00_53_4928.jpg
/media/data/images/22012025/16/00/image_22012025_16_00_49_6548.jpg
/media/data/images/22012025/16/00/image_22012025_16_00_42_6366.jpg
/media/data/images/22012025/16/00/image_22012025_16_00_36_5930.jpg
/media/data/images/22012025/16/00/image_22012025_16_00_30_5903.jpg
/media/data/images/22012025/16/00/image_22012025_16_00_24_6852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618743","1330618746","1330618750","1330618738","1330618741","1330618735"],"photo_ids_order":["1330618735","1330618738","1330618741","1330618743","1330618746","1330618750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/528941978aa5217a5588766f8a787e38.jpg","text":"TemporaryFile(/tmp/multipartBody2175864673615031620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_36_5930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4e33d98c97c45c966536faf950541fb.jpg","text":"TemporaryFile(/tmp/multipartBody757790188461956129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_30_5903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a799122d9b062c02cf4c1c8bcfefcf3c.jpg","text":"TemporaryFile(/tmp/multipartBody2539904409314192312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_24_6852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e32e4a40565317de34aeb3de4e63e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2238449814820338031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_49_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/22/380ba4799cfa291649594bf7cc3c4ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6505694713889668545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_42_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/22/d940e8474d873e8cfac733017b21ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody5577236574679291783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558121290,"filename":"image_22012025_16_00_53_4928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618741","file1":"1330618738","file0":"1330618735","file4":"1330618746","file5":"1330618750","file3":"1330618743"},"map_files_photo_id_array":[{"photo_id":"1330618750","filename":"file5"},{"photo_id":"1330618741","filename":"file2"},{"photo_id":"1330618746","filename":"file4"},{"photo_id":"1330618738","filename":"file1"},{"photo_id":"1330618735","filename":"file0"},{"photo_id":"1330618743","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618743":["hashtag1","hashtag2"]},{"1330618746":["hashtag1","hashtag2"]},{"1330618750":["hashtag1","hashtag2"]},{"1330618738":["hashtag1","hashtag2"]},{"1330618741":["hashtag1","hashtag2"]},{"1330618735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618743, 1330618746, 1330618750, 1330618738, 1330618741, 1330618735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15479612350464 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:01:42.893994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/01/image_22012025_16_01_54_6608.jpg', '/media/data/images/22012025/16/01/image_22012025_16_01_47_5828.jpg', '/media/data/images/22012025/16/01/image_22012025_16_01_41_5521.jpg', '/media/data/images/22012025/16/01/image_22012025_16_01_35_6700.jpg', '/media/data/images/22012025/16/01/image_22012025_16_01_29_5419.jpg', '/media/data/images/22012025/16/01/image_22012025_16_01_23_6691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/01/image_22012025_16_01_54_6608.jpg
/media/data/images/22012025/16/01/image_22012025_16_01_47_5828.jpg
/media/data/images/22012025/16/01/image_22012025_16_01_41_5521.jpg
/media/data/images/22012025/16/01/image_22012025_16_01_35_6700.jpg
/media/data/images/22012025/16/01/image_22012025_16_01_29_5419.jpg
/media/data/images/22012025/16/01/image_22012025_16_01_23_6691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618869","1330618827","1330618865","1330618847","1330618838","1330618852"],"photo_ids_order":["1330618827","1330618838","1330618847","1330618852","1330618865","1330618869"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f19076c47add3b25245823da3b0fffcb.jpg","text":"TemporaryFile(/tmp/multipartBody4717276860954532348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_23_6691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/85ea76dab872d1ac71e6304c1411a456.jpg","text":"TemporaryFile(/tmp/multipartBody431175129107390589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_54_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/22/8057b429154ad45e4017f7bb8d28a146.jpg","text":"TemporaryFile(/tmp/multipartBody5451067268348151262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_29_5419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc4213dd9e609c4b622e95642cbbed62.jpg","text":"TemporaryFile(/tmp/multipartBody1473681057553595985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_41_5521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8d7598f259d1f63f0895efd4e12685a.jpg","text":"TemporaryFile(/tmp/multipartBody4882226960066103123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_47_5828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2807421c9e6a7ebe899b4f1111af4eef.jpg","text":"TemporaryFile(/tmp/multipartBody1824249706295103553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558195471,"filename":"image_22012025_16_01_35_6700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618847","file1":"1330618838","file0":"1330618827","file4":"1330618865","file5":"1330618869","file3":"1330618852"},"map_files_photo_id_array":[{"photo_id":"1330618869","filename":"file5"},{"photo_id":"1330618847","filename":"file2"},{"photo_id":"1330618865","filename":"file4"},{"photo_id":"1330618838","filename":"file1"},{"photo_id":"1330618827","filename":"file0"},{"photo_id":"1330618852","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618869":["hashtag1","hashtag2"]},{"1330618827":["hashtag1","hashtag2"]},{"1330618865":["hashtag1","hashtag2"]},{"1330618847":["hashtag1","hashtag2"]},{"1330618838":["hashtag1","hashtag2"]},{"1330618852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618869, 1330618827, 1330618865, 1330618847, 1330618838, 1330618852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.57596039772034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:03:04.627866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/02/image_22012025_16_02_53_5082.jpg', '/media/data/images/22012025/16/02/image_22012025_16_02_48_6617.jpg', '/media/data/images/22012025/16/02/image_22012025_16_02_41_5362.jpg', '/media/data/images/22012025/16/02/image_22012025_16_02_36_6640.jpg', '/media/data/images/22012025/16/02/image_22012025_16_02_29_5417.jpg', '/media/data/images/22012025/16/02/image_22012025_16_02_23_6676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/02/image_22012025_16_02_53_5082.jpg
/media/data/images/22012025/16/02/image_22012025_16_02_48_6617.jpg
/media/data/images/22012025/16/02/image_22012025_16_02_41_5362.jpg
/media/data/images/22012025/16/02/image_22012025_16_02_36_6640.jpg
/media/data/images/22012025/16/02/image_22012025_16_02_29_5417.jpg
/media/data/images/22012025/16/02/image_22012025_16_02_23_6676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330618920","1330618902","1330618973","1330618891","1330618888","1330618896"],"photo_ids_order":["1330618888","1330618891","1330618896","1330618902","1330618920","1330618973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02a693693ea6d09a7900775513c8cc8f.jpg","text":"TemporaryFile(/tmp/multipartBody763518624042596872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_29_5417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7507138c8d81fb1695f17eca3136f336.jpg","text":"TemporaryFile(/tmp/multipartBody8853157476168106304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_36_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd85bf77fa0092bae7491ccda79d8e29.jpg","text":"TemporaryFile(/tmp/multipartBody6707503372716560329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_23_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/22/5b6bb1612ad44499a1d18797998906ed.jpg","text":"TemporaryFile(/tmp/multipartBody111151706677382390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_48_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/22/159c07eef79c345822a8f9fa40d3a25a.jpg","text":"TemporaryFile(/tmp/multipartBody1088991109213459382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_53_5082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3567e0f4eeacb13048cc46d1a7467c29.jpg","text":"TemporaryFile(/tmp/multipartBody5551775386259140118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558266985,"filename":"image_22012025_16_02_41_5362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330618896","file1":"1330618891","file0":"1330618888","file4":"1330618920","file5":"1330618973","file3":"1330618902"},"map_files_photo_id_array":[{"photo_id":"1330618973","filename":"file5"},{"photo_id":"1330618896","filename":"file2"},{"photo_id":"1330618920","filename":"file4"},{"photo_id":"1330618891","filename":"file1"},{"photo_id":"1330618888","filename":"file0"},{"photo_id":"1330618902","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330618920":["hashtag1","hashtag2"]},{"1330618902":["hashtag1","hashtag2"]},{"1330618973":["hashtag1","hashtag2"]},{"1330618891":["hashtag1","hashtag2"]},{"1330618888":["hashtag1","hashtag2"]},{"1330618896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330618920, 1330618902, 1330618973, 1330618891, 1330618888, 1330618896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.4667181968689 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 16:04:04.908460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/03/image_22012025_16_03_47_6737.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_40_5419.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_35_6633.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_28_5403.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_23_6226.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_17_4836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/03/image_22012025_16_03_47_6737.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_40_5419.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_35_6633.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_28_5403.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_23_6226.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_17_4836.jpg
2025-01-22 16:04:05.132829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/04/image_22012025_16_04_06_6285.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_47_6737.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_40_5419.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_35_6633.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_28_5403.jpg', '/media/data/images/22012025/16/03/image_22012025_16_03_23_6226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/04/image_22012025_16_04_06_6285.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_47_6737.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_40_5419.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_35_6633.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_28_5403.jpg
/media/data/images/22012025/16/03/image_22012025_16_03_23_6226.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":["1330619409","1330619366","1330619414","1330619417","1330619389","1330619404"],"photo_ids_order":["1330619366","1330619389","1330619404","1330619409","1330619414","1330619417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a85966ad92cc9b8252b60e3384e50e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5326697403784507988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_03_35_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/85a2b422a29830815994ad26b7585edc.jpg","text":"TemporaryFile(/tmp/multipartBody6339760887070074099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_04_06_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/22/2b4b4a4db86d1582aadd68359cc8abd4.jpg","text":"TemporaryFile(/tmp/multipartBody1062884804281217148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_03_28_5403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ee497fbd3e6f60577e546e3dd82a930.jpg","text":"TemporaryFile(/tmp/multipartBody8996996055140079932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_03_23_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/22/c7ad120cf70dcd1a9801e5190964da7f.jpg","text":"TemporaryFile(/tmp/multipartBody704455223977774116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_03_47_6737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44f9f4c7e9fd60f896c6475a316aa0fa.jpg","text":"TemporaryFile(/tmp/multipartBody6107706200684246856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558368679,"filename":"image_22012025_16_03_40_5419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330619404","file1":"1330619389","file0":"1330619366","file4":"1330619414","file5":"1330619417","file3":"1330619409"},"map_files_photo_id_array":[{"photo_id":"1330619417","filename":"file5"},{"photo_id":"1330619404","filename":"file2"},{"photo_id":"1330619414","filename":"file4"},{"photo_id":"1330619389","filename":"file1"},{"photo_id":"1330619366","filename":"file0"},{"photo_id":"1330619409","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330619409":["hashtag1","hashtag2"]},{"1330619366":["hashtag1","hashtag2"]},{"1330619414":["hashtag1","hashtag2"]},{"1330619417":["hashtag1","hashtag2"]},{"1330619389":["hashtag1","hashtag2"]},{"1330619404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330619409, 1330619366, 1330619414, 1330619417, 1330619389, 1330619404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.12270855903625 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330619406","1330619415","1330619403","1330619387","1330619420","1330619411"],"photo_ids_order":["1330619387","1330619403","1330619406","1330619411","1330619415","1330619420"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4310d8c92b753ceb65692c435afd2172.jpg","text":"TemporaryFile(/tmp/multipartBody4679443833216969351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_35_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bfba5476adff036319121f29690d4065.jpg","text":"TemporaryFile(/tmp/multipartBody2024942632676209230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_23_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/22/dead06480248ec90a9768ae94fe14446.jpg","text":"TemporaryFile(/tmp/multipartBody5871812939630793259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_40_5419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a16c9e5f734bda3e012bc741ddf13a35.jpg","text":"TemporaryFile(/tmp/multipartBody8680978482737087410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_47_6737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e890e9669ee8710b8a80cc52bda2e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5489156243279713040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_17_4836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed1d25b4f166255ded7f64506383e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7099067772171963194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558371726,"filename":"image_22012025_16_03_28_5403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330619406","file1":"1330619403","file0":"1330619387","file4":"1330619415","file5":"1330619420","file3":"1330619411"},"map_files_photo_id_array":[{"photo_id":"1330619420","filename":"file5"},{"photo_id":"1330619406","filename":"file2"},{"photo_id":"1330619415","filename":"file4"},{"photo_id":"1330619403","filename":"file1"},{"photo_id":"1330619387","filename":"file0"},{"photo_id":"1330619411","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330619406":["hashtag1","hashtag2"]},{"1330619415":["hashtag1","hashtag2"]},{"1330619403":["hashtag1","hashtag2"]},{"1330619387":["hashtag1","hashtag2"]},{"1330619420":["hashtag1","hashtag2"]},{"1330619411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330619406, 1330619415, 1330619403, 1330619387, 1330619420, 1330619411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.78386282920837 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:06:03.827152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/05/image_22012025_16_05_48_5236.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_43_7142.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_35_5157.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_30_5331.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_25_7408.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_12_7033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/05/image_22012025_16_05_48_5236.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_43_7142.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_35_5157.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_30_5331.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_25_7408.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_12_7033.jpg
 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.361530780792236 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:07:03.903810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/06/image_22012025_16_06_53_6632.jpg', '/media/data/images/22012025/16/06/image_22012025_16_06_47_5481.jpg', '/media/data/images/22012025/16/06/image_22012025_16_06_41_6742.jpg', '/media/data/images/22012025/16/06/image_22012025_16_06_35_5538.jpg', '/media/data/images/22012025/16/06/image_22012025_16_06_06_5974.jpg', '/media/data/images/22012025/16/05/image_22012025_16_05_55_6972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/06/image_22012025_16_06_53_6632.jpg
/media/data/images/22012025/16/06/image_22012025_16_06_47_5481.jpg
/media/data/images/22012025/16/06/image_22012025_16_06_41_6742.jpg
/media/data/images/22012025/16/06/image_22012025_16_06_35_5538.jpg
/media/data/images/22012025/16/06/image_22012025_16_06_06_5974.jpg
/media/data/images/22012025/16/05/image_22012025_16_05_55_6972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330619577","1330619559","1330619579","1330619564","1330619555","1330619581"],"photo_ids_order":["1330619555","1330619559","1330619564","1330619577","1330619579","1330619581"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/744e8636002246d1cc068ab3364c1926.jpg","text":"TemporaryFile(/tmp/multipartBody5224596938692722488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_06_35_5538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30426a857c961c99ea352c3bbde853e1.jpg","text":"TemporaryFile(/tmp/multipartBody4198125727534149251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_06_47_5481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8160c947bfdb203b803f34ab03c0b242.jpg","text":"TemporaryFile(/tmp/multipartBody1014680827568842420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_06_06_5974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b17f751c4a37195bd578532e072b06b.jpg","text":"TemporaryFile(/tmp/multipartBody6608164825990556059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_06_41_6742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/acda15470dbcca6b72bfb2e9ffec6cba.jpg","text":"TemporaryFile(/tmp/multipartBody3031006967341942683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_06_53_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/22/3ba9c118f26c1db93ee576585f0ba9c0.jpg","text":"TemporaryFile(/tmp/multipartBody3155110554073063708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558517325,"filename":"image_22012025_16_05_55_6972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330619564","file1":"1330619559","file0":"1330619555","file4":"1330619579","file5":"1330619581","file3":"1330619577"},"map_files_photo_id_array":[{"photo_id":"1330619581","filename":"file5"},{"photo_id":"1330619564","filename":"file2"},{"photo_id":"1330619579","filename":"file4"},{"photo_id":"1330619559","filename":"file1"},{"photo_id":"1330619555","filename":"file0"},{"photo_id":"1330619577","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330619577":["hashtag1","hashtag2"]},{"1330619559":["hashtag1","hashtag2"]},{"1330619579":["hashtag1","hashtag2"]},{"1330619564":["hashtag1","hashtag2"]},{"1330619555":["hashtag1","hashtag2"]},{"1330619581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330619577, 1330619559, 1330619579, 1330619564, 1330619555, 1330619581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.12052154541016 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:08:22.444454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/08/image_22012025_16_08_53_5306.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_47_6548.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_41_4841.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_36_6170.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_30_5762.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_24_6744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/08/image_22012025_16_08_53_5306.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_47_6548.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_41_4841.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_36_6170.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_30_5762.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_24_6744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330619625","1330619613","1330619630","1330619621","1330619617","1330619611"],"photo_ids_order":["1330619611","1330619613","1330619617","1330619621","1330619625","1330619630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b9865feb31892a4ffd9ff953a55dc534.jpg","text":"TemporaryFile(/tmp/multipartBody1274382492722356494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_30_5762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a1261abf98ebfb1f3935d889dd83871.jpg","text":"TemporaryFile(/tmp/multipartBody6169318839140661309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_47_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/22/72ccf0fa5b0db97e2c819495b9a17bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4887072073682140749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_24_6744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/29365865d7c87cb1f01fa8b177465225.jpg","text":"TemporaryFile(/tmp/multipartBody9106299317463499221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_36_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/22/b3b21a06dbaed176bf8a7cfd0b853080.jpg","text":"TemporaryFile(/tmp/multipartBody7670293551021035611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_41_4841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/daf83d8807df402a3df142865186ef1f.jpg","text":"TemporaryFile(/tmp/multipartBody5969623623240779882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558580615,"filename":"image_22012025_16_08_53_5306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330619617","file1":"1330619613","file0":"1330619611","file4":"1330619625","file5":"1330619630","file3":"1330619621"},"map_files_photo_id_array":[{"photo_id":"1330619630","filename":"file5"},{"photo_id":"1330619617","filename":"file2"},{"photo_id":"1330619625","filename":"file4"},{"photo_id":"1330619613","filename":"file1"},{"photo_id":"1330619611","filename":"file0"},{"photo_id":"1330619621","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330619625":["hashtag1","hashtag2"]},{"1330619613":["hashtag1","hashtag2"]},{"1330619630":["hashtag1","hashtag2"]},{"1330619621":["hashtag1","hashtag2"]},{"1330619617":["hashtag1","hashtag2"]},{"1330619611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330619625, 1330619613, 1330619630, 1330619621, 1330619617, 1330619611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.16842603683472 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:09:22.615643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/09/image_22012025_16_09_41_6404.jpg', '/media/data/images/22012025/16/09/image_22012025_16_09_05_5682.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_59_6529.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_18_6764.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_11_5127.jpg', '/media/data/images/22012025/16/08/image_22012025_16_08_06_6127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/09/image_22012025_16_09_41_6404.jpg
/media/data/images/22012025/16/09/image_22012025_16_09_05_5682.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_59_6529.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_18_6764.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_11_5127.jpg
/media/data/images/22012025/16/08/image_22012025_16_08_06_6127.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330620438","1330620755","1330620749","1330620758","1330620752","1330620746"],"photo_ids_order":["1330620438","1330620746","1330620749","1330620752","1330620755","1330620758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd4463d2239fe845d35130d1c09aca30.jpg","text":"TemporaryFile(/tmp/multipartBody1523510113584839671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_09_41_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/22/531fdd051f79aaf23ed690ce88d109d0.jpg","text":"TemporaryFile(/tmp/multipartBody9074150638485882622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_08_11_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/22/ae64fe9eb12e26da20aad8295584108e.jpg","text":"TemporaryFile(/tmp/multipartBody2823982429947277141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_08_59_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/22/6efe7b2301ceb01e45daefafeb36d634.jpg","text":"TemporaryFile(/tmp/multipartBody2157347503695309387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_08_06_6127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8077b5a9ba109cabeefa1fcbc9816685.jpg","text":"TemporaryFile(/tmp/multipartBody673612938050348847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_08_18_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/22/1818923a59680100a499b279208a8ef0.jpg","text":"TemporaryFile(/tmp/multipartBody153275681519155790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558643097,"filename":"image_22012025_16_09_05_5682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330620749","file1":"1330620746","file0":"1330620438","file4":"1330620755","file5":"1330620758","file3":"1330620752"},"map_files_photo_id_array":[{"photo_id":"1330620758","filename":"file5"},{"photo_id":"1330620749","filename":"file2"},{"photo_id":"1330620755","filename":"file4"},{"photo_id":"1330620746","filename":"file1"},{"photo_id":"1330620438","filename":"file0"},{"photo_id":"1330620752","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330620438":["hashtag1","hashtag2"]},{"1330620755":["hashtag1","hashtag2"]},{"1330620749":["hashtag1","hashtag2"]},{"1330620758":["hashtag1","hashtag2"]},{"1330620752":["hashtag1","hashtag2"]},{"1330620746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330620438, 1330620755, 1330620749, 1330620758, 1330620752, 1330620746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.374507904052734 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:10:22.001418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg', '/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg
/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.470363140106201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:10:42.111465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg', '/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg
/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.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: 23.36004376411438 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:11:22.339791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/11/image_22012025_16_11_41_5458.jpg', '/media/data/images/22012025/16/11/image_22012025_16_11_35_5581.jpg', '/media/data/images/22012025/16/11/image_22012025_16_11_30_6710.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_23_5517.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/11/image_22012025_16_11_41_5458.jpg
/media/data/images/22012025/16/11/image_22012025_16_11_35_5581.jpg
/media/data/images/22012025/16/11/image_22012025_16_11_30_6710.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_42_6535.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_23_5517.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_17_5908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330621598","1330621667","1330621658","1330621654","1330621596","1330621662"],"photo_ids_order":["1330621596","1330621598","1330621654","1330621658","1330621662","1330621667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7a376d08a18c822e88c274ba4b55dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6557804117813157403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_11_35_5581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/957e6506fa187862d56de06bd9b2a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody9014631873789676315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_10_17_5908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/719c65a3677525e9073ae5cd85092b77.jpg","text":"TemporaryFile(/tmp/multipartBody751894655375991684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_10_42_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/22/4dd21fe1ca032ffe5ff779376aba19fa.jpg","text":"TemporaryFile(/tmp/multipartBody6747172931650974097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_11_30_6710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c10819b8ae644f041e697169408e6dc.jpg","text":"TemporaryFile(/tmp/multipartBody6849374441327675694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_11_41_5458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/998db49c1dddacb75958bbce413532b9.jpg","text":"TemporaryFile(/tmp/multipartBody5359720518210586404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558776917,"filename":"image_22012025_16_10_23_5517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330621654","file1":"1330621598","file0":"1330621596","file4":"1330621662","file5":"1330621667","file3":"1330621658"},"map_files_photo_id_array":[{"photo_id":"1330621667","filename":"file5"},{"photo_id":"1330621654","filename":"file2"},{"photo_id":"1330621662","filename":"file4"},{"photo_id":"1330621598","filename":"file1"},{"photo_id":"1330621596","filename":"file0"},{"photo_id":"1330621658","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330621598":["hashtag1","hashtag2"]},{"1330621667":["hashtag1","hashtag2"]},{"1330621658":["hashtag1","hashtag2"]},{"1330621654":["hashtag1","hashtag2"]},{"1330621596":["hashtag1","hashtag2"]},{"1330621662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330621598, 1330621667, 1330621658, 1330621654, 1330621596, 1330621662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.69147109985352 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:12:42.675889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/12/image_22012025_16_12_12_7363.jpg', '/media/data/images/22012025/16/11/image_22012025_16_11_54_6603.jpg', '/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg', '/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/12/image_22012025_16_12_12_7363.jpg
/media/data/images/22012025/16/11/image_22012025_16_11_54_6603.jpg
/media/data/images/22012025/16/10/image_22012025_16_10_06_7045.jpg
/media/data/images/22012025/16/09/image_22012025_16_09_47_5551.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_59_6536.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_53_5651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330622027","1330621983","1330622040","1330622034","1330622037","1330621980"],"photo_ids_order":["1330621980","1330621983","1330622027","1330622034","1330622037","1330622040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49508012aae58ce91bc72e0648a368df.jpg","text":"TemporaryFile(/tmp/multipartBody5786813890847453319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_10_06_7045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b395173686558ff679301ac1504e5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7582370078695173622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_11_54_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/22/7f09f31ce15d101fe2d7ba87f76ebbd8.jpg","text":"TemporaryFile(/tmp/multipartBody5621678596063649037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_07_53_5651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a28c0bff5fdd5ade8230eb17896ce54.jpg","text":"TemporaryFile(/tmp/multipartBody2491780508106131519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_09_47_5551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a26dd95924fb0d57d554aebc84b6f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7229261722189433899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_07_59_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/22/0f5d0791f382c0614b7bf38e77ad41ae.jpg","text":"TemporaryFile(/tmp/multipartBody6978895068719589395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558850438,"filename":"image_22012025_16_12_12_7363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330622027","file1":"1330621983","file0":"1330621980","file4":"1330622037","file5":"1330622040","file3":"1330622034"},"map_files_photo_id_array":[{"photo_id":"1330622040","filename":"file5"},{"photo_id":"1330622027","filename":"file2"},{"photo_id":"1330622037","filename":"file4"},{"photo_id":"1330621983","filename":"file1"},{"photo_id":"1330621980","filename":"file0"},{"photo_id":"1330622034","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330622027":["hashtag1","hashtag2"]},{"1330621983":["hashtag1","hashtag2"]},{"1330622040":["hashtag1","hashtag2"]},{"1330622034":["hashtag1","hashtag2"]},{"1330622037":["hashtag1","hashtag2"]},{"1330621980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330622027, 1330621983, 1330622040, 1330622034, 1330622037, 1330621980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.84381723403931 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 16:14:04.446940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/13/image_22012025_16_13_23_5400.jpg', '/media/data/images/22012025/16/13/image_22012025_16_13_17_7025.jpg', '/media/data/images/22012025/16/13/image_22012025_16_13_04_5789.jpg', '/media/data/images/22012025/16/12/image_22012025_16_12_48_6787.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_47_6362.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_41_4607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/13/image_22012025_16_13_23_5400.jpg
/media/data/images/22012025/16/13/image_22012025_16_13_17_7025.jpg
/media/data/images/22012025/16/13/image_22012025_16_13_04_5789.jpg
/media/data/images/22012025/16/12/image_22012025_16_12_48_6787.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_47_6362.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_41_4607.jpg
2025-01-22 16:14:04.611685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/13/image_22012025_16_13_23_5400.jpg', '/media/data/images/22012025/16/13/image_22012025_16_13_17_7025.jpg', '/media/data/images/22012025/16/13/image_22012025_16_13_04_5789.jpg', '/media/data/images/22012025/16/12/image_22012025_16_12_48_6787.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_47_6362.jpg', '/media/data/images/22012025/16/07/image_22012025_16_07_41_4607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/13/image_22012025_16_13_23_5400.jpg
/media/data/images/22012025/16/13/image_22012025_16_13_17_7025.jpg
/media/data/images/22012025/16/13/image_22012025_16_13_04_5789.jpg
/media/data/images/22012025/16/12/image_22012025_16_12_48_6787.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_47_6362.jpg
/media/data/images/22012025/16/07/image_22012025_16_07_41_4607.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: 50.88109564781189 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":["1330622465","1330622470","1330622500","1330622475","1330622478","1330622544"],"photo_ids_order":["1330622465","1330622470","1330622475","1330622478","1330622500","1330622544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d45dcdc8f1c58aab6ce04c7c8ebf2e6.jpg","text":"TemporaryFile(/tmp/multipartBody3611056131545550068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_13_23_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/22/e32fc30d6ed730308d952d69e3e9f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody4438841630724485100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_13_17_7025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9755219a5a9b2de8208108b330df50fd.jpg","text":"TemporaryFile(/tmp/multipartBody4625722384198605547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_07_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/22/db1cb35021e9076c0c3000201f074c6d.jpg","text":"TemporaryFile(/tmp/multipartBody943838029438882357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_13_04_5789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0aad7a0f26b8b0cdeb0e6b20c1fed8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7509779652474811849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_12_48_6787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c661009ecd2796d9964162367c9cfb0f.jpg","text":"TemporaryFile(/tmp/multipartBody8196173002393423950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737558947353,"filename":"image_22012025_16_07_41_4607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330622475","file1":"1330622470","file0":"1330622465","file4":"1330622500","file5":"1330622544","file3":"1330622478"},"map_files_photo_id_array":[{"photo_id":"1330622544","filename":"file5"},{"photo_id":"1330622475","filename":"file2"},{"photo_id":"1330622500","filename":"file4"},{"photo_id":"1330622470","filename":"file1"},{"photo_id":"1330622465","filename":"file0"},{"photo_id":"1330622478","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330622465":["hashtag1","hashtag2"]},{"1330622470":["hashtag1","hashtag2"]},{"1330622500":["hashtag1","hashtag2"]},{"1330622475":["hashtag1","hashtag2"]},{"1330622478":["hashtag1","hashtag2"]},{"1330622544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330622465, 1330622470, 1330622500, 1330622475, 1330622478, 1330622544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.99727988243103 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:15:42.434276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/15/image_22012025_16_15_54_6716.jpg', '/media/data/images/22012025/16/15/image_22012025_16_15_47_5969.jpg', '/media/data/images/22012025/16/15/image_22012025_16_15_41_4715.jpg', '/media/data/images/22012025/16/15/image_22012025_16_15_36_6191.jpg', '/media/data/images/22012025/16/15/image_22012025_16_15_30_6598.jpg', '/media/data/images/22012025/16/15/image_22012025_16_15_23_6588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/15/image_22012025_16_15_54_6716.jpg
/media/data/images/22012025/16/15/image_22012025_16_15_47_5969.jpg
/media/data/images/22012025/16/15/image_22012025_16_15_41_4715.jpg
/media/data/images/22012025/16/15/image_22012025_16_15_36_6191.jpg
/media/data/images/22012025/16/15/image_22012025_16_15_30_6598.jpg
/media/data/images/22012025/16/15/image_22012025_16_15_23_6588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330622600","1330622603","1330622606","1330622614","1330622598","1330622594"],"photo_ids_order":["1330622594","1330622598","1330622600","1330622603","1330622606","1330622614"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ef0bb4c31b7c16264cdfbbefc370ced.jpg","text":"TemporaryFile(/tmp/multipartBody1313903351441608990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_41_4715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e560306e6f5b0a2c9147ce0d3ee47e5.jpg","text":"TemporaryFile(/tmp/multipartBody6994308656139566742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_36_6191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc2c6972ae0b113e82649d26d042347e.jpg","text":"TemporaryFile(/tmp/multipartBody6474340074659864134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_30_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/22/54da14714ed5dda0ab3e3c50575b889e.jpg","text":"TemporaryFile(/tmp/multipartBody6535205972655536828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_23_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/22/66e37d3613ad156d8f1ab1ba0847fd9d.jpg","text":"TemporaryFile(/tmp/multipartBody1780208412679337308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_47_5969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/824ccfe91bdad71321c2f6f3395ca505.jpg","text":"TemporaryFile(/tmp/multipartBody5925429618552639287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559010037,"filename":"image_22012025_16_15_54_6716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330622600","file1":"1330622598","file0":"1330622594","file4":"1330622606","file5":"1330622614","file3":"1330622603"},"map_files_photo_id_array":[{"photo_id":"1330622614","filename":"file5"},{"photo_id":"1330622600","filename":"file2"},{"photo_id":"1330622606","filename":"file4"},{"photo_id":"1330622598","filename":"file1"},{"photo_id":"1330622594","filename":"file0"},{"photo_id":"1330622603","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330622600":["hashtag1","hashtag2"]},{"1330622603":["hashtag1","hashtag2"]},{"1330622606":["hashtag1","hashtag2"]},{"1330622614":["hashtag1","hashtag2"]},{"1330622598":["hashtag1","hashtag2"]},{"1330622594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330622600, 1330622603, 1330622606, 1330622614, 1330622598, 1330622594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88795232772827 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:16:42.686491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/16/image_22012025_16_16_53_6485.jpg', '/media/data/images/22012025/16/16/image_22012025_16_16_47_5984.jpg', '/media/data/images/22012025/16/16/image_22012025_16_16_41_6451.jpg', '/media/data/images/22012025/16/16/image_22012025_16_16_34_5281.jpg', '/media/data/images/22012025/16/16/image_22012025_16_16_29_6575.jpg', '/media/data/images/22012025/16/16/image_22012025_16_16_23_5243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/16/image_22012025_16_16_53_6485.jpg
/media/data/images/22012025/16/16/image_22012025_16_16_47_5984.jpg
/media/data/images/22012025/16/16/image_22012025_16_16_41_6451.jpg
/media/data/images/22012025/16/16/image_22012025_16_16_34_5281.jpg
/media/data/images/22012025/16/16/image_22012025_16_16_29_6575.jpg
/media/data/images/22012025/16/16/image_22012025_16_16_23_5243.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330622811","1330622807","1330622816","1330622815","1330622803","1330622814"],"photo_ids_order":["1330622803","1330622807","1330622811","1330622814","1330622815","1330622816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/442177055340edf055b606e127ca07e4.jpg","text":"TemporaryFile(/tmp/multipartBody6410635300239862380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_41_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/22/0671bebdc2c3606275397cd0031afe70.jpg","text":"TemporaryFile(/tmp/multipartBody5391237511998651998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_47_5984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1f22b7c313dba889312a8262e7881625.jpg","text":"TemporaryFile(/tmp/multipartBody2681984727714974784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_23_5243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f25252ef48eede174be2d35514b878b6.jpg","text":"TemporaryFile(/tmp/multipartBody5430382458901548373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_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/22/2fe96c12215378d138e98f6682893482.jpg","text":"TemporaryFile(/tmp/multipartBody1761691024934247324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_53_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/22/bec243c416692226a73bfc66de9915f9.jpg","text":"TemporaryFile(/tmp/multipartBody2083701227285789377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559076074,"filename":"image_22012025_16_16_34_5281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330622811","file1":"1330622807","file0":"1330622803","file4":"1330622815","file5":"1330622816","file3":"1330622814"},"map_files_photo_id_array":[{"photo_id":"1330622816","filename":"file5"},{"photo_id":"1330622811","filename":"file2"},{"photo_id":"1330622815","filename":"file4"},{"photo_id":"1330622807","filename":"file1"},{"photo_id":"1330622803","filename":"file0"},{"photo_id":"1330622814","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330622811":["hashtag1","hashtag2"]},{"1330622807":["hashtag1","hashtag2"]},{"1330622816":["hashtag1","hashtag2"]},{"1330622815":["hashtag1","hashtag2"]},{"1330622803":["hashtag1","hashtag2"]},{"1330622814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330622811, 1330622807, 1330622816, 1330622815, 1330622803, 1330622814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.319817543029785 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:17:42.861212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/17/image_22012025_16_17_53_4885.jpg', '/media/data/images/22012025/16/17/image_22012025_16_17_48_6405.jpg', '/media/data/images/22012025/16/17/image_22012025_16_17_41_6509.jpg', '/media/data/images/22012025/16/17/image_22012025_16_17_35_5282.jpg', '/media/data/images/22012025/16/17/image_22012025_16_17_29_6477.jpg', '/media/data/images/22012025/16/17/image_22012025_16_17_23_6502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/17/image_22012025_16_17_53_4885.jpg
/media/data/images/22012025/16/17/image_22012025_16_17_48_6405.jpg
/media/data/images/22012025/16/17/image_22012025_16_17_41_6509.jpg
/media/data/images/22012025/16/17/image_22012025_16_17_35_5282.jpg
/media/data/images/22012025/16/17/image_22012025_16_17_29_6477.jpg
/media/data/images/22012025/16/17/image_22012025_16_17_23_6502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623082","1330623085","1330623079","1330623088","1330623084","1330623086"],"photo_ids_order":["1330623079","1330623082","1330623084","1330623085","1330623086","1330623088"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b552f3bad0fc63df4a74e53d1e873fd.jpg","text":"TemporaryFile(/tmp/multipartBody8391224733107257635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_48_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/22/2d5df07f5549eea260a2742dac498df5.jpg","text":"TemporaryFile(/tmp/multipartBody256569609513940474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_35_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/22/7636caee518916294baac778a2e59be1.jpg","text":"TemporaryFile(/tmp/multipartBody6518592449525522853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_53_4885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ae42cc247223462c77cf7e3f437647a.jpg","text":"TemporaryFile(/tmp/multipartBody6883925057485800282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_23_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/22/953691559b4e33f3e14acbc17e4cc144.jpg","text":"TemporaryFile(/tmp/multipartBody7655988477148899929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_41_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/22/65f53ac78473742ee8c79f9c29e17bfd.jpg","text":"TemporaryFile(/tmp/multipartBody978552351165436288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559143459,"filename":"image_22012025_16_17_29_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623084","file1":"1330623082","file0":"1330623079","file4":"1330623086","file5":"1330623088","file3":"1330623085"},"map_files_photo_id_array":[{"photo_id":"1330623088","filename":"file5"},{"photo_id":"1330623084","filename":"file2"},{"photo_id":"1330623086","filename":"file4"},{"photo_id":"1330623082","filename":"file1"},{"photo_id":"1330623079","filename":"file0"},{"photo_id":"1330623085","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623082":["hashtag1","hashtag2"]},{"1330623085":["hashtag1","hashtag2"]},{"1330623079":["hashtag1","hashtag2"]},{"1330623088":["hashtag1","hashtag2"]},{"1330623084":["hashtag1","hashtag2"]},{"1330623086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623082, 1330623085, 1330623079, 1330623088, 1330623084, 1330623086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.78142547607422 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:18:42.176646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/18/image_22012025_16_18_53_5187.jpg', '/media/data/images/22012025/16/18/image_22012025_16_18_47_6951.jpg', '/media/data/images/22012025/16/18/image_22012025_16_18_40_5281.jpg', '/media/data/images/22012025/16/18/image_22012025_16_18_35_6604.jpg', '/media/data/images/22012025/16/18/image_22012025_16_18_29_5111.jpg', '/media/data/images/22012025/16/18/image_22012025_16_18_23_6513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/18/image_22012025_16_18_53_5187.jpg
/media/data/images/22012025/16/18/image_22012025_16_18_47_6951.jpg
/media/data/images/22012025/16/18/image_22012025_16_18_40_5281.jpg
/media/data/images/22012025/16/18/image_22012025_16_18_35_6604.jpg
/media/data/images/22012025/16/18/image_22012025_16_18_29_5111.jpg
/media/data/images/22012025/16/18/image_22012025_16_18_23_6513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623131","1330623125","1330623113","1330623136","1330623121","1330623117"],"photo_ids_order":["1330623113","1330623117","1330623121","1330623125","1330623131","1330623136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6ffe8eb736bdea096c06ecc2c8309f79.jpg","text":"TemporaryFile(/tmp/multipartBody1543941344310437326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_29_5111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdba14ef35a027f6c01de904724be1a1.jpg","text":"TemporaryFile(/tmp/multipartBody6386809187374531052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_35_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/22/c423c66086aa3f0cd5c812d3b0c0822a.jpg","text":"TemporaryFile(/tmp/multipartBody3035936935344606634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_53_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/22/f40762f9b1ed1b27c7e235fc6710dfdc.jpg","text":"TemporaryFile(/tmp/multipartBody5139507959263383992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_23_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/22/9fb9844310f1bdf115e12b0b7f8f5f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3094879041287187119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_40_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/22/9c4126b5750c2cbb51622db4b0d77cb2.jpg","text":"TemporaryFile(/tmp/multipartBody7279147703432349264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559198552,"filename":"image_22012025_16_18_47_6951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623121","file1":"1330623117","file0":"1330623113","file4":"1330623131","file5":"1330623136","file3":"1330623125"},"map_files_photo_id_array":[{"photo_id":"1330623136","filename":"file5"},{"photo_id":"1330623121","filename":"file2"},{"photo_id":"1330623131","filename":"file4"},{"photo_id":"1330623117","filename":"file1"},{"photo_id":"1330623113","filename":"file0"},{"photo_id":"1330623125","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623131":["hashtag1","hashtag2"]},{"1330623125":["hashtag1","hashtag2"]},{"1330623113":["hashtag1","hashtag2"]},{"1330623136":["hashtag1","hashtag2"]},{"1330623121":["hashtag1","hashtag2"]},{"1330623117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623131, 1330623125, 1330623113, 1330623136, 1330623121, 1330623117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.73035144805908 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:19:42.227412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/19/image_22012025_16_19_54_5972.jpg', '/media/data/images/22012025/16/19/image_22012025_16_19_48_5683.jpg', '/media/data/images/22012025/16/19/image_22012025_16_19_42_6535.jpg', '/media/data/images/22012025/16/19/image_22012025_16_19_35_6507.jpg', '/media/data/images/22012025/16/19/image_22012025_16_19_28_5246.jpg', '/media/data/images/22012025/16/19/image_22012025_16_19_23_6456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/19/image_22012025_16_19_54_5972.jpg
/media/data/images/22012025/16/19/image_22012025_16_19_48_5683.jpg
/media/data/images/22012025/16/19/image_22012025_16_19_42_6535.jpg
/media/data/images/22012025/16/19/image_22012025_16_19_35_6507.jpg
/media/data/images/22012025/16/19/image_22012025_16_19_28_5246.jpg
/media/data/images/22012025/16/19/image_22012025_16_19_23_6456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623326","1330623158","1330623154","1330623357","1330623321","1330623330"],"photo_ids_order":["1330623154","1330623158","1330623321","1330623326","1330623330","1330623357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a238a5ec11f8c6dfe120761bd3c0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody4868112240729470962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_35_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/22/ca10afe3f52b81e64b939718ff1791be.jpg","text":"TemporaryFile(/tmp/multipartBody7986807132300065015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_48_5683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/45f0c361e25f190ef0f40854702dbad8.jpg","text":"TemporaryFile(/tmp/multipartBody5136739859477075793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_54_5972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e6c41a902d1ea2ec23a45664eac267d.jpg","text":"TemporaryFile(/tmp/multipartBody163998937086071273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_23_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/22/44ba01a1f2a5aef5b1217ff5adef931b.jpg","text":"TemporaryFile(/tmp/multipartBody708023870510851080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_42_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/22/bb92b245cbc1f7a2fe2aede3d9983569.jpg","text":"TemporaryFile(/tmp/multipartBody3662179056457563707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559253930,"filename":"image_22012025_16_19_28_5246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623321","file1":"1330623158","file0":"1330623154","file4":"1330623330","file5":"1330623357","file3":"1330623326"},"map_files_photo_id_array":[{"photo_id":"1330623357","filename":"file5"},{"photo_id":"1330623321","filename":"file2"},{"photo_id":"1330623330","filename":"file4"},{"photo_id":"1330623158","filename":"file1"},{"photo_id":"1330623154","filename":"file0"},{"photo_id":"1330623326","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623326":["hashtag1","hashtag2"]},{"1330623158":["hashtag1","hashtag2"]},{"1330623154":["hashtag1","hashtag2"]},{"1330623357":["hashtag1","hashtag2"]},{"1330623321":["hashtag1","hashtag2"]},{"1330623330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623326, 1330623158, 1330623154, 1330623357, 1330623321, 1330623330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.58409857749939 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:20:42.539941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/20/image_22012025_16_20_53_5942.jpg', '/media/data/images/22012025/16/20/image_22012025_16_20_47_6323.jpg', '/media/data/images/22012025/16/20/image_22012025_16_20_41_5326.jpg', '/media/data/images/22012025/16/20/image_22012025_16_20_35_6533.jpg', '/media/data/images/22012025/16/20/image_22012025_16_20_29_6524.jpg', '/media/data/images/22012025/16/20/image_22012025_16_20_22_5336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/20/image_22012025_16_20_53_5942.jpg
/media/data/images/22012025/16/20/image_22012025_16_20_47_6323.jpg
/media/data/images/22012025/16/20/image_22012025_16_20_41_5326.jpg
/media/data/images/22012025/16/20/image_22012025_16_20_35_6533.jpg
/media/data/images/22012025/16/20/image_22012025_16_20_29_6524.jpg
/media/data/images/22012025/16/20/image_22012025_16_20_22_5336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623410","1330623404","1330623388","1330623400","1330623395","1330623386"],"photo_ids_order":["1330623386","1330623388","1330623395","1330623400","1330623404","1330623410"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48bb6c95d1c3782343d49af7f36845b9.jpg","text":"TemporaryFile(/tmp/multipartBody4074829352938559664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_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/22/c72f768622f09e6cce0c8cd6125dac88.jpg","text":"TemporaryFile(/tmp/multipartBody1954531048913720863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_29_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/22/f2e6314f64025463d4da4893153ae796.jpg","text":"TemporaryFile(/tmp/multipartBody8505736169694163561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_47_6323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/40d8a1d11875e3c5cc1bc9996b120005.jpg","text":"TemporaryFile(/tmp/multipartBody6802054957968302014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_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/22/cc1cb61a1b9ef343913977e920e185fa.jpg","text":"TemporaryFile(/tmp/multipartBody4238271980371289952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_41_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/22/3a8e24409385749cdb962b5f11350663.jpg","text":"TemporaryFile(/tmp/multipartBody5010793829852650688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559317215,"filename":"image_22012025_16_20_53_5942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623395","file1":"1330623388","file0":"1330623386","file4":"1330623404","file5":"1330623410","file3":"1330623400"},"map_files_photo_id_array":[{"photo_id":"1330623410","filename":"file5"},{"photo_id":"1330623395","filename":"file2"},{"photo_id":"1330623404","filename":"file4"},{"photo_id":"1330623388","filename":"file1"},{"photo_id":"1330623386","filename":"file0"},{"photo_id":"1330623400","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623410":["hashtag1","hashtag2"]},{"1330623404":["hashtag1","hashtag2"]},{"1330623388":["hashtag1","hashtag2"]},{"1330623400":["hashtag1","hashtag2"]},{"1330623395":["hashtag1","hashtag2"]},{"1330623386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623410, 1330623404, 1330623388, 1330623400, 1330623395, 1330623386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.759000301361084 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:21:42.502632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/21/image_22012025_16_21_53_5091.jpg', '/media/data/images/22012025/16/21/image_22012025_16_21_47_6102.jpg', '/media/data/images/22012025/16/21/image_22012025_16_21_41_6588.jpg', '/media/data/images/22012025/16/21/image_22012025_16_21_35_5315.jpg', '/media/data/images/22012025/16/21/image_22012025_16_21_29_6471.jpg', '/media/data/images/22012025/16/21/image_22012025_16_21_23_6445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/21/image_22012025_16_21_53_5091.jpg
/media/data/images/22012025/16/21/image_22012025_16_21_47_6102.jpg
/media/data/images/22012025/16/21/image_22012025_16_21_41_6588.jpg
/media/data/images/22012025/16/21/image_22012025_16_21_35_5315.jpg
/media/data/images/22012025/16/21/image_22012025_16_21_29_6471.jpg
/media/data/images/22012025/16/21/image_22012025_16_21_23_6445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623452","1330623448","1330623520","1330623457","1330623522","1330623444"],"photo_ids_order":["1330623444","1330623448","1330623452","1330623457","1330623520","1330623522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3167f9709bc605fa2e1b51e107e33c11.jpg","text":"TemporaryFile(/tmp/multipartBody335667730740965733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_41_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/22/3dd881b2954bc6b09425986860223991.jpg","text":"TemporaryFile(/tmp/multipartBody3257592315925983749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_47_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8772f4059196c0dcf835182835c8464.jpg","text":"TemporaryFile(/tmp/multipartBody4952405772215445693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_29_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/22/e3e7d4e2f0573a216dd60861b626a322.jpg","text":"TemporaryFile(/tmp/multipartBody2532445362226162917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_35_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/22/968d509fdabf44a2f1ea8c8810205ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3287209524820949156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_23_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/22/e0908d30a5d015e781aca05af56bb9ad.jpg","text":"TemporaryFile(/tmp/multipartBody494569704353999009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559372697,"filename":"image_22012025_16_21_53_5091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623452","file1":"1330623448","file0":"1330623444","file4":"1330623520","file5":"1330623522","file3":"1330623457"},"map_files_photo_id_array":[{"photo_id":"1330623522","filename":"file5"},{"photo_id":"1330623452","filename":"file2"},{"photo_id":"1330623520","filename":"file4"},{"photo_id":"1330623448","filename":"file1"},{"photo_id":"1330623444","filename":"file0"},{"photo_id":"1330623457","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623452":["hashtag1","hashtag2"]},{"1330623448":["hashtag1","hashtag2"]},{"1330623520":["hashtag1","hashtag2"]},{"1330623457":["hashtag1","hashtag2"]},{"1330623522":["hashtag1","hashtag2"]},{"1330623444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623452, 1330623448, 1330623520, 1330623457, 1330623522, 1330623444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58286380767822 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:22:42.587364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/22/image_22012025_16_22_53_5641.jpg', '/media/data/images/22012025/16/22/image_22012025_16_22_48_6228.jpg', '/media/data/images/22012025/16/22/image_22012025_16_22_41_6506.jpg', '/media/data/images/22012025/16/22/image_22012025_16_22_34_5257.jpg', '/media/data/images/22012025/16/22/image_22012025_16_22_29_6440.jpg', '/media/data/images/22012025/16/22/image_22012025_16_22_23_5405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/22/image_22012025_16_22_53_5641.jpg
/media/data/images/22012025/16/22/image_22012025_16_22_48_6228.jpg
/media/data/images/22012025/16/22/image_22012025_16_22_41_6506.jpg
/media/data/images/22012025/16/22/image_22012025_16_22_34_5257.jpg
/media/data/images/22012025/16/22/image_22012025_16_22_29_6440.jpg
/media/data/images/22012025/16/22/image_22012025_16_22_23_5405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330623944","1330623787","1330623826","1330623930","1330623785","1330624022"],"photo_ids_order":["1330623785","1330623787","1330623826","1330623930","1330623944","1330624022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b5b3b5991c8d3ad3001701019299fa0.jpg","text":"TemporaryFile(/tmp/multipartBody6071613232360717144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_29_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/22/a889d27f81fdb2bb1ff0cad5ff564a85.jpg","text":"TemporaryFile(/tmp/multipartBody427158986154124624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_48_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/22/af4bab5b02e04d0024c00b4817163414.jpg","text":"TemporaryFile(/tmp/multipartBody6209199921709778697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_41_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/22/b112d533c0c5de08943d063ad1ef351a.jpg","text":"TemporaryFile(/tmp/multipartBody4637029884444755102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_34_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/22/62d2cd6773012164df8435da3e596f46.jpg","text":"TemporaryFile(/tmp/multipartBody2957542650439425710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_53_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5f76ae963fa9a6fa89e35f840b455de5.jpg","text":"TemporaryFile(/tmp/multipartBody2226896664258982527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559433412,"filename":"image_22012025_16_22_23_5405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330623826","file1":"1330623787","file0":"1330623785","file4":"1330623944","file5":"1330624022","file3":"1330623930"},"map_files_photo_id_array":[{"photo_id":"1330624022","filename":"file5"},{"photo_id":"1330623826","filename":"file2"},{"photo_id":"1330623944","filename":"file4"},{"photo_id":"1330623787","filename":"file1"},{"photo_id":"1330623785","filename":"file0"},{"photo_id":"1330623930","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330623944":["hashtag1","hashtag2"]},{"1330623787":["hashtag1","hashtag2"]},{"1330623826":["hashtag1","hashtag2"]},{"1330623930":["hashtag1","hashtag2"]},{"1330623785":["hashtag1","hashtag2"]},{"1330624022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330623944, 1330623787, 1330623826, 1330623930, 1330623785, 1330624022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08341908454895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:23:42.735926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/23/image_22012025_16_23_53_6439.jpg', '/media/data/images/22012025/16/23/image_22012025_16_23_46_5632.jpg', '/media/data/images/22012025/16/23/image_22012025_16_23_41_6509.jpg', '/media/data/images/22012025/16/23/image_22012025_16_23_34_5250.jpg', '/media/data/images/22012025/16/23/image_22012025_16_23_29_6579.jpg', '/media/data/images/22012025/16/23/image_22012025_16_23_23_5244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/23/image_22012025_16_23_53_6439.jpg
/media/data/images/22012025/16/23/image_22012025_16_23_46_5632.jpg
/media/data/images/22012025/16/23/image_22012025_16_23_41_6509.jpg
/media/data/images/22012025/16/23/image_22012025_16_23_34_5250.jpg
/media/data/images/22012025/16/23/image_22012025_16_23_29_6579.jpg
/media/data/images/22012025/16/23/image_22012025_16_23_23_5244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624093","1330624104","1330624107","1330624097","1330624091","1330624100"],"photo_ids_order":["1330624091","1330624093","1330624097","1330624100","1330624104","1330624107"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70b2ea5e39e9a9fc89d57397958993b4.jpg","text":"TemporaryFile(/tmp/multipartBody7048208066668965379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_23_46_5632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11d08613ab53e53fff61495b1408b023.jpg","text":"TemporaryFile(/tmp/multipartBody7070689231752290456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_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/22/e7fa3bdd1afca52385fc266b06975df9.jpg","text":"TemporaryFile(/tmp/multipartBody8910529256418000460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_23_23_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/22/cb8070cc385f348010f0d7425680d920.jpg","text":"TemporaryFile(/tmp/multipartBody3688568945787214082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_23_41_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/22/5133b110c365308fb0f86f7ff2074f87.jpg","text":"TemporaryFile(/tmp/multipartBody4711614523164988288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_23_53_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/22/a116fa1ec92838451de7a5be9204859a.jpg","text":"TemporaryFile(/tmp/multipartBody8241903466793255135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559494937,"filename":"image_22012025_16_23_34_5250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624097","file1":"1330624093","file0":"1330624091","file4":"1330624104","file5":"1330624107","file3":"1330624100"},"map_files_photo_id_array":[{"photo_id":"1330624107","filename":"file5"},{"photo_id":"1330624097","filename":"file2"},{"photo_id":"1330624104","filename":"file4"},{"photo_id":"1330624093","filename":"file1"},{"photo_id":"1330624091","filename":"file0"},{"photo_id":"1330624100","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624093":["hashtag1","hashtag2"]},{"1330624104":["hashtag1","hashtag2"]},{"1330624107":["hashtag1","hashtag2"]},{"1330624097":["hashtag1","hashtag2"]},{"1330624091":["hashtag1","hashtag2"]},{"1330624100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624093, 1330624104, 1330624107, 1330624097, 1330624091, 1330624100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18160152435303 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:24:42.002326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/24/image_22012025_16_24_53_5918.jpg', '/media/data/images/22012025/16/24/image_22012025_16_24_47_5889.jpg', '/media/data/images/22012025/16/24/image_22012025_16_24_41_6564.jpg', '/media/data/images/22012025/16/24/image_22012025_16_24_35_5276.jpg', '/media/data/images/22012025/16/24/image_22012025_16_24_29_6557.jpg', '/media/data/images/22012025/16/24/image_22012025_16_24_23_5252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/24/image_22012025_16_24_53_5918.jpg
/media/data/images/22012025/16/24/image_22012025_16_24_47_5889.jpg
/media/data/images/22012025/16/24/image_22012025_16_24_41_6564.jpg
/media/data/images/22012025/16/24/image_22012025_16_24_35_5276.jpg
/media/data/images/22012025/16/24/image_22012025_16_24_29_6557.jpg
/media/data/images/22012025/16/24/image_22012025_16_24_23_5252.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624156","1330624143","1330624151","1330624139","1330624133","1330624136"],"photo_ids_order":["1330624133","1330624136","1330624139","1330624143","1330624151","1330624156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e465e5467f0dda48851c32f9f76bc695.jpg","text":"TemporaryFile(/tmp/multipartBody7027530600162582589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_23_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/22/6bab7262cd1bc0e40162587d0fb84c10.jpg","text":"TemporaryFile(/tmp/multipartBody3811097140505125291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_35_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/22/5a34e014a9f192fd9006aaa8ecbd3874.jpg","text":"TemporaryFile(/tmp/multipartBody4134238295452951462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_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/22/25d2c2618a27d9385423efe407cd72f3.jpg","text":"TemporaryFile(/tmp/multipartBody6926137624003028216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_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/22/701eb9e4445dd36a7972716cb54cfb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2342602287918918777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_53_5918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da18d058cf4c1589b6f2971695741175.jpg","text":"TemporaryFile(/tmp/multipartBody1740859410205294622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559554639,"filename":"image_22012025_16_24_47_5889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624139","file1":"1330624136","file0":"1330624133","file4":"1330624151","file5":"1330624156","file3":"1330624143"},"map_files_photo_id_array":[{"photo_id":"1330624156","filename":"file5"},{"photo_id":"1330624139","filename":"file2"},{"photo_id":"1330624151","filename":"file4"},{"photo_id":"1330624136","filename":"file1"},{"photo_id":"1330624133","filename":"file0"},{"photo_id":"1330624143","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624156":["hashtag1","hashtag2"]},{"1330624143":["hashtag1","hashtag2"]},{"1330624151":["hashtag1","hashtag2"]},{"1330624139":["hashtag1","hashtag2"]},{"1330624133":["hashtag1","hashtag2"]},{"1330624136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624156, 1330624143, 1330624151, 1330624139, 1330624133, 1330624136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.23743152618408 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:25:42.177716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/25/image_22012025_16_25_54_7671.jpg', '/media/data/images/22012025/16/25/image_22012025_16_25_47_4995.jpg', '/media/data/images/22012025/16/25/image_22012025_16_25_41_6450.jpg', '/media/data/images/22012025/16/25/image_22012025_16_25_35_6488.jpg', '/media/data/images/22012025/16/25/image_22012025_16_25_28_5270.jpg', '/media/data/images/22012025/16/25/image_22012025_16_25_23_6508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/25/image_22012025_16_25_54_7671.jpg
/media/data/images/22012025/16/25/image_22012025_16_25_47_4995.jpg
/media/data/images/22012025/16/25/image_22012025_16_25_41_6450.jpg
/media/data/images/22012025/16/25/image_22012025_16_25_35_6488.jpg
/media/data/images/22012025/16/25/image_22012025_16_25_28_5270.jpg
/media/data/images/22012025/16/25/image_22012025_16_25_23_6508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624252","1330624225","1330624248","1330624221","1330624187","1330624190"],"photo_ids_order":["1330624187","1330624190","1330624221","1330624225","1330624248","1330624252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/796f4e8e21c3962561a936dbd37eeefb.jpg","text":"TemporaryFile(/tmp/multipartBody4033397251762232128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_23_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/22/b4e4265eb71478ffd8322e6e4ae0d883.jpg","text":"TemporaryFile(/tmp/multipartBody5617105646550438200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_35_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/22/960446392e25a9737090791bfb5386b6.jpg","text":"TemporaryFile(/tmp/multipartBody376544137653200560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_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/22/7e8a6597924938f646254505878011c8.jpg","text":"TemporaryFile(/tmp/multipartBody8050317937716080771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_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/22/ac22c4a6115c25c677911e02f3861188.jpg","text":"TemporaryFile(/tmp/multipartBody8710067090134424921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_54_7671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03f2cfbf6a8a400816ad8e6049276892.jpg","text":"TemporaryFile(/tmp/multipartBody75289776957976734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559616672,"filename":"image_22012025_16_25_47_4995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624221","file1":"1330624190","file0":"1330624187","file4":"1330624248","file5":"1330624252","file3":"1330624225"},"map_files_photo_id_array":[{"photo_id":"1330624252","filename":"file5"},{"photo_id":"1330624221","filename":"file2"},{"photo_id":"1330624248","filename":"file4"},{"photo_id":"1330624190","filename":"file1"},{"photo_id":"1330624187","filename":"file0"},{"photo_id":"1330624225","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624252":["hashtag1","hashtag2"]},{"1330624225":["hashtag1","hashtag2"]},{"1330624248":["hashtag1","hashtag2"]},{"1330624221":["hashtag1","hashtag2"]},{"1330624187":["hashtag1","hashtag2"]},{"1330624190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624252, 1330624225, 1330624248, 1330624221, 1330624187, 1330624190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.91972517967224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:26:42.251113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/26/image_22012025_16_26_54_6187.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_48_7092.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_41_5289.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_35_6522.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_29_6548.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_22_5099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/26/image_22012025_16_26_54_6187.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_48_7092.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_41_5289.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_35_6522.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_29_6548.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_22_5099.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.66830563545227 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:27:04.242324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/26/image_22012025_16_26_54_6187.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_48_7092.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_41_5289.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_35_6522.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_29_6548.jpg', '/media/data/images/22012025/16/26/image_22012025_16_26_22_5099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/26/image_22012025_16_26_54_6187.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_48_7092.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_41_5289.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_35_6522.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_29_6548.jpg
/media/data/images/22012025/16/26/image_22012025_16_26_22_5099.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624540","1330624543","1330624537","1330624525","1330624548","1330624533"],"photo_ids_order":["1330624525","1330624533","1330624537","1330624540","1330624543","1330624548"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/585f3cb749c127606f1ae24e0137e50b.jpg","text":"TemporaryFile(/tmp/multipartBody2788792761297821133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_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/22/2c89d3f0cf03c867f827bff688dcec98.jpg","text":"TemporaryFile(/tmp/multipartBody7053553117618129524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_29_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/22/3cba35e2d48213d0629e2a950899ea4c.jpg","text":"TemporaryFile(/tmp/multipartBody1890372060369235350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_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/22/d4b5e84befca4e187a29e9c35552a52c.jpg","text":"TemporaryFile(/tmp/multipartBody5209098701737932238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_54_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/22/adf2ddd30915438a60cf448152533aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3578901512273051713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_22_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/22/33465691832a9bfe455f6b1f5f946ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1476366349823046811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559699451,"filename":"image_22012025_16_26_48_7092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624537","file1":"1330624533","file0":"1330624525","file4":"1330624543","file5":"1330624548","file3":"1330624540"},"map_files_photo_id_array":[{"photo_id":"1330624548","filename":"file5"},{"photo_id":"1330624537","filename":"file2"},{"photo_id":"1330624543","filename":"file4"},{"photo_id":"1330624533","filename":"file1"},{"photo_id":"1330624525","filename":"file0"},{"photo_id":"1330624540","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624540":["hashtag1","hashtag2"]},{"1330624543":["hashtag1","hashtag2"]},{"1330624537":["hashtag1","hashtag2"]},{"1330624525":["hashtag1","hashtag2"]},{"1330624548":["hashtag1","hashtag2"]},{"1330624533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624540, 1330624543, 1330624537, 1330624525, 1330624548, 1330624533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.60091280937195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:28:03.623386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/27/image_22012025_16_27_54_6274.jpg', '/media/data/images/22012025/16/27/image_22012025_16_27_48_6788.jpg', '/media/data/images/22012025/16/27/image_22012025_16_27_41_5275.jpg', '/media/data/images/22012025/16/27/image_22012025_16_27_35_6492.jpg', '/media/data/images/22012025/16/27/image_22012025_16_27_29_6454.jpg', '/media/data/images/22012025/16/27/image_22012025_16_27_22_5190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/27/image_22012025_16_27_54_6274.jpg
/media/data/images/22012025/16/27/image_22012025_16_27_48_6788.jpg
/media/data/images/22012025/16/27/image_22012025_16_27_41_5275.jpg
/media/data/images/22012025/16/27/image_22012025_16_27_35_6492.jpg
/media/data/images/22012025/16/27/image_22012025_16_27_29_6454.jpg
/media/data/images/22012025/16/27/image_22012025_16_27_22_5190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624579","1330624581","1330624584","1330624578","1330624571","1330624574"],"photo_ids_order":["1330624571","1330624574","1330624578","1330624579","1330624581","1330624584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/003ba18e9258c1037a1ae984b545548c.jpg","text":"TemporaryFile(/tmp/multipartBody1800836851942477651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_35_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/22/792dae089c3afd982805534421084865.jpg","text":"TemporaryFile(/tmp/multipartBody2926125397095913126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_29_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/22/ae9cdad8bc6b400193163991cf35d543.jpg","text":"TemporaryFile(/tmp/multipartBody8456748227918958060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_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/22/34dc593e3c88d4607d8f3dbd2234808e.jpg","text":"TemporaryFile(/tmp/multipartBody3039080002973196827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_41_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/22/954b64d6cc0d3e0aad13a0a74bdb2612.jpg","text":"TemporaryFile(/tmp/multipartBody1291731325277787889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_54_6274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6aa86d4fb757fa1f1f819e2adaa6cc55.jpg","text":"TemporaryFile(/tmp/multipartBody3954529485690063153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559756779,"filename":"image_22012025_16_27_48_6788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624578","file1":"1330624574","file0":"1330624571","file4":"1330624581","file5":"1330624584","file3":"1330624579"},"map_files_photo_id_array":[{"photo_id":"1330624584","filename":"file5"},{"photo_id":"1330624578","filename":"file2"},{"photo_id":"1330624581","filename":"file4"},{"photo_id":"1330624574","filename":"file1"},{"photo_id":"1330624571","filename":"file0"},{"photo_id":"1330624579","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624579":["hashtag1","hashtag2"]},{"1330624581":["hashtag1","hashtag2"]},{"1330624584":["hashtag1","hashtag2"]},{"1330624578":["hashtag1","hashtag2"]},{"1330624571":["hashtag1","hashtag2"]},{"1330624574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624579, 1330624581, 1330624584, 1330624578, 1330624571, 1330624574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.7179057598114 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 16:29:05.596104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/28/image_22012025_16_28_53_6489.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_47_6483.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_40_5273.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_35_6472.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_29_5275.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_23_6290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/28/image_22012025_16_28_53_6489.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_47_6483.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_40_5273.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_35_6472.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_29_5275.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_23_6290.jpg
2025-01-22 16:29:05.792990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/28/image_22012025_16_28_53_6489.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_47_6483.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_40_5273.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_35_6472.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_29_5275.jpg', '/media/data/images/22012025/16/28/image_22012025_16_28_23_6290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/28/image_22012025_16_28_53_6489.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_47_6483.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_40_5273.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_35_6472.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_29_5275.jpg
/media/data/images/22012025/16/28/image_22012025_16_28_23_6290.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":["1330624684","1330624666","1330624671","1330624695","1330624725","1330624715"],"photo_ids_order":["1330624666","1330624671","1330624684","1330624695","1330624715","1330624725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7f52a91759e12b4a9d8b1751bafc96ac.jpg","text":"TemporaryFile(/tmp/multipartBody8424322262358479168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_40_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9bfa2cfc5c8e8aae606c86210475c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4891051249772078808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_53_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/22/5b96fbb67ae4b4eee2be899fa784bec6.jpg","text":"TemporaryFile(/tmp/multipartBody1618021796099037291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_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/22/b3b465af62504e9144ce296c2113f543.jpg","text":"TemporaryFile(/tmp/multipartBody5259396565344561266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_35_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/22/d57a5f7c587c1b069ca1d60f9ad5ccdc.jpg","text":"TemporaryFile(/tmp/multipartBody7035604046571682502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_23_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/22/7d46e08f67b78e8861d8dad2a9a92d82.jpg","text":"TemporaryFile(/tmp/multipartBody8820171648148397582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833300,"filename":"image_22012025_16_28_29_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624684","file1":"1330624671","file0":"1330624666","file4":"1330624715","file5":"1330624725","file3":"1330624695"},"map_files_photo_id_array":[{"photo_id":"1330624725","filename":"file5"},{"photo_id":"1330624684","filename":"file2"},{"photo_id":"1330624715","filename":"file4"},{"photo_id":"1330624671","filename":"file1"},{"photo_id":"1330624666","filename":"file0"},{"photo_id":"1330624695","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624684":["hashtag1","hashtag2"]},{"1330624666":["hashtag1","hashtag2"]},{"1330624671":["hashtag1","hashtag2"]},{"1330624695":["hashtag1","hashtag2"]},{"1330624725":["hashtag1","hashtag2"]},{"1330624715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624684, 1330624666, 1330624671, 1330624695, 1330624725, 1330624715)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624672","1330624726","1330624711","1330624717","1330624685","1330624667"],"photo_ids_order":["1330624667","1330624672","1330624685","1330624711","1330624717","1330624726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a23f79991fa58f8ad9651464c61ffe24.jpg","text":"TemporaryFile(/tmp/multipartBody3848298298768379443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_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/22/9c50193f4e72c48efdf4732824103acd.jpg","text":"TemporaryFile(/tmp/multipartBody5666298788375429781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_23_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/22/5afb9d2f1ecbdea7d5e773a069d32312.jpg","text":"TemporaryFile(/tmp/multipartBody8005713536390308837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_35_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/22/3cd9b10096e823e375c5d7f12fea4ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1894090230999815076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_29_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/22/723e6fb620a85ff17d0d030b760892b9.jpg","text":"TemporaryFile(/tmp/multipartBody7188574820014030299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_40_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b9286307d08717b06c562e9376dd8329.jpg","text":"TemporaryFile(/tmp/multipartBody3058856387273258570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559833949,"filename":"image_22012025_16_28_53_6489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624685","file1":"1330624672","file0":"1330624667","file4":"1330624717","file5":"1330624726","file3":"1330624711"},"map_files_photo_id_array":[{"photo_id":"1330624726","filename":"file5"},{"photo_id":"1330624685","filename":"file2"},{"photo_id":"1330624717","filename":"file4"},{"photo_id":"1330624672","filename":"file1"},{"photo_id":"1330624667","filename":"file0"},{"photo_id":"1330624711","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624672":["hashtag1","hashtag2"]},{"1330624726":["hashtag1","hashtag2"]},{"1330624711":["hashtag1","hashtag2"]},{"1330624717":["hashtag1","hashtag2"]},{"1330624685":["hashtag1","hashtag2"]},{"1330624667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624672, 1330624726, 1330624711, 1330624717, 1330624685, 1330624667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.76288151741028 secondes ---
uploaded 6 photos
time to upload: 61.98035430908203 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:30:21.831517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/30/image_22012025_16_30_53_6531.jpg', '/media/data/images/22012025/16/30/image_22012025_16_30_47_6511.jpg', '/media/data/images/22012025/16/30/image_22012025_16_30_40_5309.jpg', '/media/data/images/22012025/16/30/image_22012025_16_30_35_5395.jpg', '/media/data/images/22012025/16/30/image_22012025_16_30_30_7057.jpg', '/media/data/images/22012025/16/30/image_22012025_16_30_23_5553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/30/image_22012025_16_30_53_6531.jpg
/media/data/images/22012025/16/30/image_22012025_16_30_47_6511.jpg
/media/data/images/22012025/16/30/image_22012025_16_30_40_5309.jpg
/media/data/images/22012025/16/30/image_22012025_16_30_35_5395.jpg
/media/data/images/22012025/16/30/image_22012025_16_30_30_7057.jpg
/media/data/images/22012025/16/30/image_22012025_16_30_23_5553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624879","1330624872","1330624880","1330624877","1330624868","1330624847"],"photo_ids_order":["1330624847","1330624868","1330624872","1330624877","1330624879","1330624880"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76de3fb4e3e6e908909f811d7c676651.jpg","text":"TemporaryFile(/tmp/multipartBody4279646132503557454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_30_7057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0c1001fed8123701aa594ca789dd51d7.jpg","text":"TemporaryFile(/tmp/multipartBody6834608862976012606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_40_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/22/a205f3b6fd840797cf2a3bcf05f30c93.jpg","text":"TemporaryFile(/tmp/multipartBody3360959377792446849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_23_5553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bf37da78f483ccc2aaf2dda2090f3903.jpg","text":"TemporaryFile(/tmp/multipartBody7786726247938650676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_35_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/22/28743570dd2df93ec29fd3977685d337.jpg","text":"TemporaryFile(/tmp/multipartBody4539860504946284903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_47_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/22/f7692a580f9262982a1bf29deba3e522.jpg","text":"TemporaryFile(/tmp/multipartBody7243153209861405652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559899114,"filename":"image_22012025_16_30_53_6531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624872","file1":"1330624868","file0":"1330624847","file4":"1330624879","file5":"1330624880","file3":"1330624877"},"map_files_photo_id_array":[{"photo_id":"1330624880","filename":"file5"},{"photo_id":"1330624872","filename":"file2"},{"photo_id":"1330624879","filename":"file4"},{"photo_id":"1330624868","filename":"file1"},{"photo_id":"1330624847","filename":"file0"},{"photo_id":"1330624877","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624879":["hashtag1","hashtag2"]},{"1330624872":["hashtag1","hashtag2"]},{"1330624880":["hashtag1","hashtag2"]},{"1330624877":["hashtag1","hashtag2"]},{"1330624868":["hashtag1","hashtag2"]},{"1330624847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624879, 1330624872, 1330624880, 1330624877, 1330624868, 1330624847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.361769676208496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:31:22.105220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/31/image_22012025_16_31_53_5427.jpg', '/media/data/images/22012025/16/31/image_22012025_16_31_47_6735.jpg', '/media/data/images/22012025/16/31/image_22012025_16_31_40_5219.jpg', '/media/data/images/22012025/16/31/image_22012025_16_31_36_5522.jpg', '/media/data/images/22012025/16/31/image_22012025_16_31_30_6111.jpg', '/media/data/images/22012025/16/31/image_22012025_16_31_24_7166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/31/image_22012025_16_31_53_5427.jpg
/media/data/images/22012025/16/31/image_22012025_16_31_47_6735.jpg
/media/data/images/22012025/16/31/image_22012025_16_31_40_5219.jpg
/media/data/images/22012025/16/31/image_22012025_16_31_36_5522.jpg
/media/data/images/22012025/16/31/image_22012025_16_31_30_6111.jpg
/media/data/images/22012025/16/31/image_22012025_16_31_24_7166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330624948","1330624942","1330624945","1330624955","1330624952","1330624949"],"photo_ids_order":["1330624942","1330624945","1330624948","1330624949","1330624952","1330624955"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3245e2665df231a845e4bc968fcb66a5.jpg","text":"TemporaryFile(/tmp/multipartBody8861191479563735341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_40_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/22/0970add9d7e24ca893b9afd87cf93a17.jpg","text":"TemporaryFile(/tmp/multipartBody5466773404489245643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_53_5427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e05b5d24824e2d9345281b5eaa4bdc68.jpg","text":"TemporaryFile(/tmp/multipartBody5778379362363173396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_47_6735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea9b35fc7e53fdcad43f363651a9338e.jpg","text":"TemporaryFile(/tmp/multipartBody3077526236413571546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_24_7166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/642e454f72533684678040909f234964.jpg","text":"TemporaryFile(/tmp/multipartBody1256155878269012355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_30_6111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/db40e8f405cd904182bbbaa2bc67683d.jpg","text":"TemporaryFile(/tmp/multipartBody2292550228050359985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737559974198,"filename":"image_22012025_16_31_36_5522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330624948","file1":"1330624945","file0":"1330624942","file4":"1330624952","file5":"1330624955","file3":"1330624949"},"map_files_photo_id_array":[{"photo_id":"1330624955","filename":"file5"},{"photo_id":"1330624948","filename":"file2"},{"photo_id":"1330624952","filename":"file4"},{"photo_id":"1330624945","filename":"file1"},{"photo_id":"1330624942","filename":"file0"},{"photo_id":"1330624949","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330624948":["hashtag1","hashtag2"]},{"1330624942":["hashtag1","hashtag2"]},{"1330624945":["hashtag1","hashtag2"]},{"1330624955":["hashtag1","hashtag2"]},{"1330624952":["hashtag1","hashtag2"]},{"1330624949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330624948, 1330624942, 1330624945, 1330624955, 1330624952, 1330624949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.39585065841675 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:32:42.595675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/32/image_22012025_16_32_54_4935.jpg', '/media/data/images/22012025/16/32/image_22012025_16_32_48_6696.jpg', '/media/data/images/22012025/16/32/image_22012025_16_32_41_7035.jpg', '/media/data/images/22012025/16/32/image_22012025_16_32_34_5040.jpg', '/media/data/images/22012025/16/32/image_22012025_16_32_30_5812.jpg', '/media/data/images/22012025/16/32/image_22012025_16_32_24_7003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/32/image_22012025_16_32_54_4935.jpg
/media/data/images/22012025/16/32/image_22012025_16_32_48_6696.jpg
/media/data/images/22012025/16/32/image_22012025_16_32_41_7035.jpg
/media/data/images/22012025/16/32/image_22012025_16_32_34_5040.jpg
/media/data/images/22012025/16/32/image_22012025_16_32_30_5812.jpg
/media/data/images/22012025/16/32/image_22012025_16_32_24_7003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330625007","1330625018","1330624997","1330625012","1330625000","1330625003"],"photo_ids_order":["1330624997","1330625000","1330625003","1330625007","1330625012","1330625018"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/deaaa9a27542e5d912bf9d429025319a.jpg","text":"TemporaryFile(/tmp/multipartBody223464438124678310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_34_5040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02858a9787dd834fe20364c0c49697d8.jpg","text":"TemporaryFile(/tmp/multipartBody8305463089180872602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_24_7003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4c30d3e89c753400ab25f1dbf07f17cd.jpg","text":"TemporaryFile(/tmp/multipartBody7032686309320497914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_54_4935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0c7f9b5bd90b3eb5de770f7cadeba1d4.jpg","text":"TemporaryFile(/tmp/multipartBody1213901840939462030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_30_5812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c06b37f16e970fe69d26c3af2cd3b4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8888666897917308122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_48_6696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a8cf80f459374bcc82f6acb5dde6d175.jpg","text":"TemporaryFile(/tmp/multipartBody8756722239198540058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560068622,"filename":"image_22012025_16_32_41_7035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625003","file1":"1330625000","file0":"1330624997","file4":"1330625012","file5":"1330625018","file3":"1330625007"},"map_files_photo_id_array":[{"photo_id":"1330625018","filename":"file5"},{"photo_id":"1330625003","filename":"file2"},{"photo_id":"1330625012","filename":"file4"},{"photo_id":"1330625000","filename":"file1"},{"photo_id":"1330624997","filename":"file0"},{"photo_id":"1330625007","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625007":["hashtag1","hashtag2"]},{"1330625018":["hashtag1","hashtag2"]},{"1330624997":["hashtag1","hashtag2"]},{"1330625012":["hashtag1","hashtag2"]},{"1330625000":["hashtag1","hashtag2"]},{"1330625003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625007, 1330625018, 1330624997, 1330625012, 1330625000, 1330625003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.36372661590576 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 16:34:05.242042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/33/image_22012025_16_33_54_6936.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_48_6110.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_41_5671.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_36_7002.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_29_5643.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_23_5618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/33/image_22012025_16_33_54_6936.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_48_6110.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_41_5671.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_36_7002.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_29_5643.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_23_5618.jpg
2025-01-22 16:34:05.517514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/33/image_22012025_16_33_54_6936.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_48_6110.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_41_5671.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_36_7002.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_29_5643.jpg', '/media/data/images/22012025/16/33/image_22012025_16_33_23_5618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/33/image_22012025_16_33_54_6936.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_48_6110.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_41_5671.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_36_7002.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_29_5643.jpg
/media/data/images/22012025/16/33/image_22012025_16_33_23_5618.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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 109.82244443893433 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":["1330625110","1330625104","1330625097","1330625112","1330625117","1330625114"],"photo_ids_order":["1330625097","1330625104","1330625110","1330625112","1330625114","1330625117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ab6ec0d55218d14769f428816fa4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2374852259316578075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_41_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1dfc3f019738b01bddb303cc9544aeeb.jpg","text":"TemporaryFile(/tmp/multipartBody5708908416800667891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_48_6110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e8b6ba21238a3b0ab534f2e4254cc4b.jpg","text":"TemporaryFile(/tmp/multipartBody7377825116110390945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_54_6936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/935b73346d14b96c4b576635484f03c6.jpg","text":"TemporaryFile(/tmp/multipartBody6393849722495943518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_36_7002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/13058ca7f999f3daf67e334ff4e1f2b3.jpg","text":"TemporaryFile(/tmp/multipartBody197096444530742097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_23_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cdbedc07f467e145d0073212fdff43b7.jpg","text":"TemporaryFile(/tmp/multipartBody1583426150052382025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560220451,"filename":"image_22012025_16_33_29_5643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625110","file1":"1330625104","file0":"1330625097","file4":"1330625114","file5":"1330625117","file3":"1330625112"},"map_files_photo_id_array":[{"photo_id":"1330625117","filename":"file5"},{"photo_id":"1330625110","filename":"file2"},{"photo_id":"1330625114","filename":"file4"},{"photo_id":"1330625104","filename":"file1"},{"photo_id":"1330625097","filename":"file0"},{"photo_id":"1330625112","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625110":["hashtag1","hashtag2"]},{"1330625104":["hashtag1","hashtag2"]},{"1330625097":["hashtag1","hashtag2"]},{"1330625112":["hashtag1","hashtag2"]},{"1330625117":["hashtag1","hashtag2"]},{"1330625114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625110, 1330625104, 1330625097, 1330625112, 1330625117, 1330625114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 149.74030590057373 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:36:42.575679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/36/image_22012025_16_36_48_5210.jpg', '/media/data/images/22012025/16/36/image_22012025_16_36_43_7051.jpg', '/media/data/images/22012025/16/36/image_22012025_16_36_36_5134.jpg', '/media/data/images/22012025/16/36/image_22012025_16_36_30_5613.jpg', '/media/data/images/22012025/16/36/image_22012025_16_36_25_6029.jpg', '/media/data/images/22012025/16/36/image_22012025_16_36_19_7574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/36/image_22012025_16_36_48_5210.jpg
/media/data/images/22012025/16/36/image_22012025_16_36_43_7051.jpg
/media/data/images/22012025/16/36/image_22012025_16_36_36_5134.jpg
/media/data/images/22012025/16/36/image_22012025_16_36_30_5613.jpg
/media/data/images/22012025/16/36/image_22012025_16_36_25_6029.jpg
/media/data/images/22012025/16/36/image_22012025_16_36_19_7574.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":["1330625187","1330625199","1330625178","1330625192","1330625195","1330625182"],"photo_ids_order":["1330625178","1330625182","1330625187","1330625192","1330625195","1330625199"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8acd46c1fdfec43614f49e035293d656.jpg","text":"TemporaryFile(/tmp/multipartBody476548014787336538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_36_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/22/33cde7ad0a1a85d55fed52e1c0fcb557.jpg","text":"TemporaryFile(/tmp/multipartBody5002279332158313681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_19_7574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/425a4e1548f5cbeb338444dad1e279c5.jpg","text":"TemporaryFile(/tmp/multipartBody6210060528107140685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_48_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/22/fc7aa6ffd8b1acd7b64676cc7d11e80d.jpg","text":"TemporaryFile(/tmp/multipartBody603541117887746027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_30_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a3134b7d9dfbff09d0c0687f01568554.jpg","text":"TemporaryFile(/tmp/multipartBody8943630839339045730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_25_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e1cfdcdace5ef66d946107313ee1f70.jpg","text":"TemporaryFile(/tmp/multipartBody2096189157515758580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560316865,"filename":"image_22012025_16_36_43_7051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625187","file1":"1330625182","file0":"1330625178","file4":"1330625195","file5":"1330625199","file3":"1330625192"},"map_files_photo_id_array":[{"photo_id":"1330625199","filename":"file5"},{"photo_id":"1330625187","filename":"file2"},{"photo_id":"1330625195","filename":"file4"},{"photo_id":"1330625182","filename":"file1"},{"photo_id":"1330625178","filename":"file0"},{"photo_id":"1330625192","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625187":["hashtag1","hashtag2"]},{"1330625199":["hashtag1","hashtag2"]},{"1330625178":["hashtag1","hashtag2"]},{"1330625192":["hashtag1","hashtag2"]},{"1330625195":["hashtag1","hashtag2"]},{"1330625182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625187, 1330625199, 1330625178, 1330625192, 1330625195, 1330625182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.841477394104 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:38:22.779866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/38/image_22012025_16_38_52_5555.jpg', '/media/data/images/22012025/16/38/image_22012025_16_38_47_5409.jpg', '/media/data/images/22012025/16/38/image_22012025_16_38_41_6948.jpg', '/media/data/images/22012025/16/38/image_22012025_16_38_34_5993.jpg', '/media/data/images/22012025/16/38/image_22012025_16_38_29_4509.jpg', '/media/data/images/22012025/16/38/image_22012025_16_38_25_7112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/38/image_22012025_16_38_52_5555.jpg
/media/data/images/22012025/16/38/image_22012025_16_38_47_5409.jpg
/media/data/images/22012025/16/38/image_22012025_16_38_41_6948.jpg
/media/data/images/22012025/16/38/image_22012025_16_38_34_5993.jpg
/media/data/images/22012025/16/38/image_22012025_16_38_29_4509.jpg
/media/data/images/22012025/16/38/image_22012025_16_38_25_7112.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":["1330625326","1330625283","1330625316","1330625279","1330625324","1330625275"],"photo_ids_order":["1330625275","1330625279","1330625283","1330625316","1330625324","1330625326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eec8fd3de1fd227f35399ecb9d0f5df8.jpg","text":"TemporaryFile(/tmp/multipartBody3258628907603119361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_25_7112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd119ea6aef0ea04f4a62ad4ad490813.jpg","text":"TemporaryFile(/tmp/multipartBody890906354598928897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_41_6948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/12374aa8186c3b14c981f5324327653e.jpg","text":"TemporaryFile(/tmp/multipartBody4814980543822406403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_34_5993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/31e5582ca8ecf9dbadfcc9711924843e.jpg","text":"TemporaryFile(/tmp/multipartBody2259288983031527603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_47_5409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81317d147f4ae208d3986d9a2cdefb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2156807143657153988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_29_4509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3abba08c8bb57afd93fd4484194beed7.jpg","text":"TemporaryFile(/tmp/multipartBody3894962145920519287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560393267,"filename":"image_22012025_16_38_52_5555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625283","file1":"1330625279","file0":"1330625275","file4":"1330625324","file5":"1330625326","file3":"1330625316"},"map_files_photo_id_array":[{"photo_id":"1330625326","filename":"file5"},{"photo_id":"1330625283","filename":"file2"},{"photo_id":"1330625324","filename":"file4"},{"photo_id":"1330625279","filename":"file1"},{"photo_id":"1330625275","filename":"file0"},{"photo_id":"1330625316","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625326":["hashtag1","hashtag2"]},{"1330625283":["hashtag1","hashtag2"]},{"1330625316":["hashtag1","hashtag2"]},{"1330625279":["hashtag1","hashtag2"]},{"1330625324":["hashtag1","hashtag2"]},{"1330625275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625326, 1330625283, 1330625316, 1330625279, 1330625324, 1330625275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.526203870773315 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:39:42.223920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/39/image_22012025_16_39_53_5986.jpg', '/media/data/images/22012025/16/39/image_22012025_16_39_48_6500.jpg', '/media/data/images/22012025/16/39/image_22012025_16_39_41_6387.jpg', '/media/data/images/22012025/16/39/image_22012025_16_39_35_4788.jpg', '/media/data/images/22012025/16/39/image_22012025_16_39_30_7097.jpg', '/media/data/images/22012025/16/39/image_22012025_16_39_23_5245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/39/image_22012025_16_39_53_5986.jpg
/media/data/images/22012025/16/39/image_22012025_16_39_48_6500.jpg
/media/data/images/22012025/16/39/image_22012025_16_39_41_6387.jpg
/media/data/images/22012025/16/39/image_22012025_16_39_35_4788.jpg
/media/data/images/22012025/16/39/image_22012025_16_39_30_7097.jpg
/media/data/images/22012025/16/39/image_22012025_16_39_23_5245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330625410","1330625413","1330625427","1330625420","1330625423","1330625417"],"photo_ids_order":["1330625410","1330625413","1330625417","1330625420","1330625423","1330625427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/307183549c2062492f52cdee04b920fd.jpg","text":"TemporaryFile(/tmp/multipartBody822191004631704485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_53_5986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c72eae815f70098f15258e08f9154a6.jpg","text":"TemporaryFile(/tmp/multipartBody4096394627022454437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_48_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/22/bc28849e4959de26ebaa01bab21b626f.jpg","text":"TemporaryFile(/tmp/multipartBody4543852620167504877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_23_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/22/268d5769308cff755f23248a7488ca97.jpg","text":"TemporaryFile(/tmp/multipartBody7931240482539196906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_35_4788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b21b1dfb3df808f370b9de375d1290c.jpg","text":"TemporaryFile(/tmp/multipartBody7676503119606060024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_30_7097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/354bbf55b9dbb284ef9b41cfa5cb6a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2127031419107692532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560461533,"filename":"image_22012025_16_39_41_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625417","file1":"1330625413","file0":"1330625410","file4":"1330625423","file5":"1330625427","file3":"1330625420"},"map_files_photo_id_array":[{"photo_id":"1330625427","filename":"file5"},{"photo_id":"1330625417","filename":"file2"},{"photo_id":"1330625423","filename":"file4"},{"photo_id":"1330625413","filename":"file1"},{"photo_id":"1330625410","filename":"file0"},{"photo_id":"1330625420","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625410":["hashtag1","hashtag2"]},{"1330625413":["hashtag1","hashtag2"]},{"1330625427":["hashtag1","hashtag2"]},{"1330625420":["hashtag1","hashtag2"]},{"1330625423":["hashtag1","hashtag2"]},{"1330625417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625410, 1330625413, 1330625427, 1330625420, 1330625423, 1330625417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.88370680809021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:40:42.205435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/40/image_22012025_16_40_54_6398.jpg', '/media/data/images/22012025/16/40/image_22012025_16_40_48_6482.jpg', '/media/data/images/22012025/16/40/image_22012025_16_40_41_5323.jpg', '/media/data/images/22012025/16/40/image_22012025_16_40_35_6595.jpg', '/media/data/images/22012025/16/40/image_22012025_16_40_29_5322.jpg', '/media/data/images/22012025/16/40/image_22012025_16_40_23_6608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/40/image_22012025_16_40_54_6398.jpg
/media/data/images/22012025/16/40/image_22012025_16_40_48_6482.jpg
/media/data/images/22012025/16/40/image_22012025_16_40_41_5323.jpg
/media/data/images/22012025/16/40/image_22012025_16_40_35_6595.jpg
/media/data/images/22012025/16/40/image_22012025_16_40_29_5322.jpg
/media/data/images/22012025/16/40/image_22012025_16_40_23_6608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330625503","1330625496","1330625478","1330625495","1330625477","1330625480"],"photo_ids_order":["1330625477","1330625478","1330625480","1330625495","1330625496","1330625503"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2bcf2eef9b4d31d73579b7c8bc8fc5a.jpg","text":"TemporaryFile(/tmp/multipartBody1881010140773195693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_23_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/22/5da51ff81acdee0eed6056a3464e2942.jpg","text":"TemporaryFile(/tmp/multipartBody8086643338835829139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_29_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/22/993e890d1325983a18e92a85b02b5f45.jpg","text":"TemporaryFile(/tmp/multipartBody4649005667889753112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_48_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/22/8eb0294a6a96d8d0e4b1ac4cb0eb8353.jpg","text":"TemporaryFile(/tmp/multipartBody814558141521027787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_35_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/22/f740919f08108c6d55b1c015af3b2170.jpg","text":"TemporaryFile(/tmp/multipartBody2364001543421972342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_54_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/22/7c9fe005b2c9cf04ea0636d4b2175d02.jpg","text":"TemporaryFile(/tmp/multipartBody5133884627534040774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560518706,"filename":"image_22012025_16_40_41_5323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625480","file1":"1330625478","file0":"1330625477","file4":"1330625496","file5":"1330625503","file3":"1330625495"},"map_files_photo_id_array":[{"photo_id":"1330625503","filename":"file5"},{"photo_id":"1330625480","filename":"file2"},{"photo_id":"1330625496","filename":"file4"},{"photo_id":"1330625478","filename":"file1"},{"photo_id":"1330625477","filename":"file0"},{"photo_id":"1330625495","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625503":["hashtag1","hashtag2"]},{"1330625496":["hashtag1","hashtag2"]},{"1330625478":["hashtag1","hashtag2"]},{"1330625495":["hashtag1","hashtag2"]},{"1330625477":["hashtag1","hashtag2"]},{"1330625480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625503, 1330625496, 1330625478, 1330625495, 1330625477, 1330625480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.20102095603943 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:41:42.753583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/41/image_22012025_16_41_54_6905.jpg', '/media/data/images/22012025/16/41/image_22012025_16_41_47_6480.jpg', '/media/data/images/22012025/16/41/image_22012025_16_41_41_5345.jpg', '/media/data/images/22012025/16/41/image_22012025_16_41_35_6569.jpg', '/media/data/images/22012025/16/41/image_22012025_16_41_29_5339.jpg', '/media/data/images/22012025/16/41/image_22012025_16_41_23_6576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/41/image_22012025_16_41_54_6905.jpg
/media/data/images/22012025/16/41/image_22012025_16_41_47_6480.jpg
/media/data/images/22012025/16/41/image_22012025_16_41_41_5345.jpg
/media/data/images/22012025/16/41/image_22012025_16_41_35_6569.jpg
/media/data/images/22012025/16/41/image_22012025_16_41_29_5339.jpg
/media/data/images/22012025/16/41/image_22012025_16_41_23_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":["1330625623","1330625611","1330625605","1330625614","1330625609","1330625618"],"photo_ids_order":["1330625605","1330625609","1330625611","1330625614","1330625618","1330625623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/93e023d1c67e1fd6983e4314aa5417ab.jpg","text":"TemporaryFile(/tmp/multipartBody1118394368162912262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_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/22/05a867bfe4c2fb4b4971a5370285ff4a.jpg","text":"TemporaryFile(/tmp/multipartBody6417905452387017552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_41_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/22/416062256a40d0ab024f494707824ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2481271684830135022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_54_6905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/16ff3fe64f9bd43dce669232fb36aa22.jpg","text":"TemporaryFile(/tmp/multipartBody6482891328183515299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_35_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/22/a04d96bbb70795cba61778bfa9dfa970.jpg","text":"TemporaryFile(/tmp/multipartBody6055595303096617256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_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/22/7c03ea5283133e3a76e7ed578203eaba.jpg","text":"TemporaryFile(/tmp/multipartBody8633771842594875414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560584305,"filename":"image_22012025_16_41_29_5339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625611","file1":"1330625609","file0":"1330625605","file4":"1330625618","file5":"1330625623","file3":"1330625614"},"map_files_photo_id_array":[{"photo_id":"1330625623","filename":"file5"},{"photo_id":"1330625611","filename":"file2"},{"photo_id":"1330625618","filename":"file4"},{"photo_id":"1330625609","filename":"file1"},{"photo_id":"1330625605","filename":"file0"},{"photo_id":"1330625614","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625623":["hashtag1","hashtag2"]},{"1330625611":["hashtag1","hashtag2"]},{"1330625605":["hashtag1","hashtag2"]},{"1330625614":["hashtag1","hashtag2"]},{"1330625609":["hashtag1","hashtag2"]},{"1330625618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625623, 1330625611, 1330625605, 1330625614, 1330625609, 1330625618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.1900200843811 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:42:42.651716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/42/image_22012025_16_42_53_6337.jpg', '/media/data/images/22012025/16/42/image_22012025_16_42_47_5113.jpg', '/media/data/images/22012025/16/42/image_22012025_16_42_42_6504.jpg', '/media/data/images/22012025/16/42/image_22012025_16_42_35_6492.jpg', '/media/data/images/22012025/16/42/image_22012025_16_42_28_5302.jpg', '/media/data/images/22012025/16/42/image_22012025_16_42_23_6539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/42/image_22012025_16_42_53_6337.jpg
/media/data/images/22012025/16/42/image_22012025_16_42_47_5113.jpg
/media/data/images/22012025/16/42/image_22012025_16_42_42_6504.jpg
/media/data/images/22012025/16/42/image_22012025_16_42_35_6492.jpg
/media/data/images/22012025/16/42/image_22012025_16_42_28_5302.jpg
/media/data/images/22012025/16/42/image_22012025_16_42_23_6539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330625722","1330625719","1330625711","1330625714","1330625708","1330625717"],"photo_ids_order":["1330625708","1330625711","1330625714","1330625717","1330625719","1330625722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/91bbf9a67f1fd44f4520c7a11fd8743a.jpg","text":"TemporaryFile(/tmp/multipartBody1598136248531471266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_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/22/0f9177bbc601ce415218c8225822280d.jpg","text":"TemporaryFile(/tmp/multipartBody7394997370471919183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_28_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/22/b3eb8c3c2628a66a1475d69f90aec23f.jpg","text":"TemporaryFile(/tmp/multipartBody4120333565424115667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_47_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/22/763ba00b753ae0822bed40055a7b3a50.jpg","text":"TemporaryFile(/tmp/multipartBody1952315565176846636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_42_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/22/a1d4849cde5b905919189c64925677be.jpg","text":"TemporaryFile(/tmp/multipartBody100193069293685595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_53_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/22/33251275ca8696480a4b8b6422198f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6235451906340093090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560640665,"filename":"image_22012025_16_42_35_6492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625714","file1":"1330625711","file0":"1330625708","file4":"1330625719","file5":"1330625722","file3":"1330625717"},"map_files_photo_id_array":[{"photo_id":"1330625722","filename":"file5"},{"photo_id":"1330625714","filename":"file2"},{"photo_id":"1330625719","filename":"file4"},{"photo_id":"1330625711","filename":"file1"},{"photo_id":"1330625708","filename":"file0"},{"photo_id":"1330625717","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625722":["hashtag1","hashtag2"]},{"1330625719":["hashtag1","hashtag2"]},{"1330625711":["hashtag1","hashtag2"]},{"1330625714":["hashtag1","hashtag2"]},{"1330625708":["hashtag1","hashtag2"]},{"1330625717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625722, 1330625719, 1330625711, 1330625714, 1330625708, 1330625717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.72026753425598 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:43:42.751837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/43/image_22012025_16_43_53_6268.jpg', '/media/data/images/22012025/16/43/image_22012025_16_43_47_5999.jpg', '/media/data/images/22012025/16/43/image_22012025_16_43_41_5406.jpg', '/media/data/images/22012025/16/43/image_22012025_16_43_35_6422.jpg', '/media/data/images/22012025/16/43/image_22012025_16_43_29_5219.jpg', '/media/data/images/22012025/16/43/image_22012025_16_43_23_6483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/43/image_22012025_16_43_53_6268.jpg
/media/data/images/22012025/16/43/image_22012025_16_43_47_5999.jpg
/media/data/images/22012025/16/43/image_22012025_16_43_41_5406.jpg
/media/data/images/22012025/16/43/image_22012025_16_43_35_6422.jpg
/media/data/images/22012025/16/43/image_22012025_16_43_29_5219.jpg
/media/data/images/22012025/16/43/image_22012025_16_43_23_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":["1330625764","1330625793","1330625757","1330625766","1330625760","1330625770"],"photo_ids_order":["1330625757","1330625760","1330625764","1330625766","1330625770","1330625793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/058ef1c9b9376f560876473971d73195.jpg","text":"TemporaryFile(/tmp/multipartBody1990220779134675458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_41_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/22/f949330da10adefe16221eb76a798cde.jpg","text":"TemporaryFile(/tmp/multipartBody1964913053457264488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_23_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/22/ee51027c96a142462efb213138c826b0.jpg","text":"TemporaryFile(/tmp/multipartBody1455355838880041887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_53_6268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f298f2e2f15a07aed74b2bb0a3dc6e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5542256679478373913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_35_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/22/bc45dd1d8ca10de4f58e64bf27945b06.jpg","text":"TemporaryFile(/tmp/multipartBody6098695815378496082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_47_5999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d320798d641606f3f062478985b85810.jpg","text":"TemporaryFile(/tmp/multipartBody3495218715811085107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560706284,"filename":"image_22012025_16_43_29_5219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625764","file1":"1330625760","file0":"1330625757","file4":"1330625770","file5":"1330625793","file3":"1330625766"},"map_files_photo_id_array":[{"photo_id":"1330625793","filename":"file5"},{"photo_id":"1330625764","filename":"file2"},{"photo_id":"1330625770","filename":"file4"},{"photo_id":"1330625760","filename":"file1"},{"photo_id":"1330625757","filename":"file0"},{"photo_id":"1330625766","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625764":["hashtag1","hashtag2"]},{"1330625793":["hashtag1","hashtag2"]},{"1330625757":["hashtag1","hashtag2"]},{"1330625766":["hashtag1","hashtag2"]},{"1330625760":["hashtag1","hashtag2"]},{"1330625770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625764, 1330625793, 1330625757, 1330625766, 1330625760, 1330625770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8370726108551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:44:42.292837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/44/image_22012025_16_44_53_5904.jpg', '/media/data/images/22012025/16/44/image_22012025_16_44_48_5878.jpg', '/media/data/images/22012025/16/44/image_22012025_16_44_41_6546.jpg', '/media/data/images/22012025/16/44/image_22012025_16_44_35_5268.jpg', '/media/data/images/22012025/16/44/image_22012025_16_44_29_6483.jpg', '/media/data/images/22012025/16/44/image_22012025_16_44_23_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/44/image_22012025_16_44_53_5904.jpg
/media/data/images/22012025/16/44/image_22012025_16_44_48_5878.jpg
/media/data/images/22012025/16/44/image_22012025_16_44_41_6546.jpg
/media/data/images/22012025/16/44/image_22012025_16_44_35_5268.jpg
/media/data/images/22012025/16/44/image_22012025_16_44_29_6483.jpg
/media/data/images/22012025/16/44/image_22012025_16_44_23_5357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330625898","1330625896","1330625899","1330625890","1330625893","1330625887"],"photo_ids_order":["1330625887","1330625890","1330625893","1330625896","1330625898","1330625899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/24f5bade1201a948cde48fbbcb035df7.jpg","text":"TemporaryFile(/tmp/multipartBody574583675084656068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_29_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/22/1f21cefeb6f3badc8e71ee4a8a79b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody973522561611559852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_35_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/22/6a8c496c01eeabea3f7bb3df6667bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody6811504019221907105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_23_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/22/121cba232297d5dee2cf7c5e81c6e077.jpg","text":"TemporaryFile(/tmp/multipartBody5794826309148379272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_48_5878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/97c0664f1dea7f94e9df0183662a8b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7152401041008720088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_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/22/8b037161dbc4070edef47dc017a6056d.jpg","text":"TemporaryFile(/tmp/multipartBody930006670452887746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560765672,"filename":"image_22012025_16_44_53_5904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330625893","file1":"1330625890","file0":"1330625887","file4":"1330625898","file5":"1330625899","file3":"1330625896"},"map_files_photo_id_array":[{"photo_id":"1330625899","filename":"file5"},{"photo_id":"1330625893","filename":"file2"},{"photo_id":"1330625898","filename":"file4"},{"photo_id":"1330625890","filename":"file1"},{"photo_id":"1330625887","filename":"file0"},{"photo_id":"1330625896","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330625898":["hashtag1","hashtag2"]},{"1330625896":["hashtag1","hashtag2"]},{"1330625899":["hashtag1","hashtag2"]},{"1330625890":["hashtag1","hashtag2"]},{"1330625893":["hashtag1","hashtag2"]},{"1330625887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330625898, 1330625896, 1330625899, 1330625890, 1330625893, 1330625887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.095211029052734 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:45:42.430590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/45/image_22012025_16_45_53_6064.jpg', '/media/data/images/22012025/16/45/image_22012025_16_45_47_5753.jpg', '/media/data/images/22012025/16/45/image_22012025_16_45_41_6550.jpg', '/media/data/images/22012025/16/45/image_22012025_16_45_34_5327.jpg', '/media/data/images/22012025/16/45/image_22012025_16_45_29_6561.jpg', '/media/data/images/22012025/16/45/image_22012025_16_45_23_5338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/45/image_22012025_16_45_53_6064.jpg
/media/data/images/22012025/16/45/image_22012025_16_45_47_5753.jpg
/media/data/images/22012025/16/45/image_22012025_16_45_41_6550.jpg
/media/data/images/22012025/16/45/image_22012025_16_45_34_5327.jpg
/media/data/images/22012025/16/45/image_22012025_16_45_29_6561.jpg
/media/data/images/22012025/16/45/image_22012025_16_45_23_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":["1330626063","1330626066","1330626030","1330626061","1330625998","1330626013"],"photo_ids_order":["1330625998","1330626013","1330626030","1330626061","1330626063","1330626066"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f1c679b4c229f39630a851922f8534f.jpg","text":"TemporaryFile(/tmp/multipartBody6554041396511751095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_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/22/22943bd2bd2c4d4f3d339ce3db629fef.jpg","text":"TemporaryFile(/tmp/multipartBody2193201159446296365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_23_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/22/262a2f12c986b5115f188dff83794052.jpg","text":"TemporaryFile(/tmp/multipartBody6725763364121722015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_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/22/d3456a4dd7bb5a28be578f1334c4d08e.jpg","text":"TemporaryFile(/tmp/multipartBody3696094845782067454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_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/22/ef05bcf391a738d652adf6bc0378c209.jpg","text":"TemporaryFile(/tmp/multipartBody4700462338825805132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_53_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e3fda0d5193be762daaf436f84b77308.jpg","text":"TemporaryFile(/tmp/multipartBody966031615666715350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560822060,"filename":"image_22012025_16_45_47_5753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626030","file1":"1330626013","file0":"1330625998","file4":"1330626063","file5":"1330626066","file3":"1330626061"},"map_files_photo_id_array":[{"photo_id":"1330626066","filename":"file5"},{"photo_id":"1330626030","filename":"file2"},{"photo_id":"1330626063","filename":"file4"},{"photo_id":"1330626013","filename":"file1"},{"photo_id":"1330625998","filename":"file0"},{"photo_id":"1330626061","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626063":["hashtag1","hashtag2"]},{"1330626066":["hashtag1","hashtag2"]},{"1330626030":["hashtag1","hashtag2"]},{"1330626061":["hashtag1","hashtag2"]},{"1330625998":["hashtag1","hashtag2"]},{"1330626013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626063, 1330626066, 1330626030, 1330626061, 1330625998, 1330626013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.74341797828674 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:46:42.380578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/46/image_22012025_16_46_53_6045.jpg', '/media/data/images/22012025/16/46/image_22012025_16_46_47_5577.jpg', '/media/data/images/22012025/16/46/image_22012025_16_46_42_6513.jpg', '/media/data/images/22012025/16/46/image_22012025_16_46_35_6488.jpg', '/media/data/images/22012025/16/46/image_22012025_16_46_28_5261.jpg', '/media/data/images/22012025/16/46/image_22012025_16_46_23_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/46/image_22012025_16_46_53_6045.jpg
/media/data/images/22012025/16/46/image_22012025_16_46_47_5577.jpg
/media/data/images/22012025/16/46/image_22012025_16_46_42_6513.jpg
/media/data/images/22012025/16/46/image_22012025_16_46_35_6488.jpg
/media/data/images/22012025/16/46/image_22012025_16_46_28_5261.jpg
/media/data/images/22012025/16/46/image_22012025_16_46_23_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":["1330626103","1330626105","1330626095","1330626101","1330626097","1330626099"],"photo_ids_order":["1330626095","1330626097","1330626099","1330626101","1330626103","1330626105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f4dc411bd7ad806f42dce0fbb2f7c634.jpg","text":"TemporaryFile(/tmp/multipartBody6573206777730967742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_28_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/898c3963e2536857f9be80d75f8ad2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8036129642368471388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_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/22/4768f23c6e50401f0d15d48418b34344.jpg","text":"TemporaryFile(/tmp/multipartBody1457508372769745209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_53_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd611a5de1e297298d0e60091a84ec44.jpg","text":"TemporaryFile(/tmp/multipartBody2103914227789124490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_35_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/22/e0f483dc454822b8278f03da2e6a7c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6646272179218580460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_47_5577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b6b94dbdb9844b2a95b7215fc2badd5.jpg","text":"TemporaryFile(/tmp/multipartBody4082043124750242898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560873477,"filename":"image_22012025_16_46_42_6513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626099","file1":"1330626097","file0":"1330626095","file4":"1330626103","file5":"1330626105","file3":"1330626101"},"map_files_photo_id_array":[{"photo_id":"1330626105","filename":"file5"},{"photo_id":"1330626099","filename":"file2"},{"photo_id":"1330626103","filename":"file4"},{"photo_id":"1330626097","filename":"file1"},{"photo_id":"1330626095","filename":"file0"},{"photo_id":"1330626101","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626103":["hashtag1","hashtag2"]},{"1330626105":["hashtag1","hashtag2"]},{"1330626095":["hashtag1","hashtag2"]},{"1330626101":["hashtag1","hashtag2"]},{"1330626097":["hashtag1","hashtag2"]},{"1330626099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626103, 1330626105, 1330626095, 1330626101, 1330626097, 1330626099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13259220123291 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:47:42.520503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/47/image_22012025_16_47_54_7004.jpg', '/media/data/images/22012025/16/47/image_22012025_16_47_47_6306.jpg', '/media/data/images/22012025/16/47/image_22012025_16_47_40_5290.jpg', '/media/data/images/22012025/16/47/image_22012025_16_47_35_6535.jpg', '/media/data/images/22012025/16/47/image_22012025_16_47_29_5270.jpg', '/media/data/images/22012025/16/47/image_22012025_16_47_23_6533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/47/image_22012025_16_47_54_7004.jpg
/media/data/images/22012025/16/47/image_22012025_16_47_47_6306.jpg
/media/data/images/22012025/16/47/image_22012025_16_47_40_5290.jpg
/media/data/images/22012025/16/47/image_22012025_16_47_35_6535.jpg
/media/data/images/22012025/16/47/image_22012025_16_47_29_5270.jpg
/media/data/images/22012025/16/47/image_22012025_16_47_23_6533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626192","1330626195","1330626185","1330626188","1330626181","1330626199"],"photo_ids_order":["1330626181","1330626185","1330626188","1330626192","1330626195","1330626199"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3809181bda7c344c8ef0f6a5cade1c85.jpg","text":"TemporaryFile(/tmp/multipartBody4756283590480266137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_35_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/22/cf7b93ec9eb300bad09251620c8400a3.jpg","text":"TemporaryFile(/tmp/multipartBody3477257400338699234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_29_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/22/a38f1897e479b9fb32d82002990be656.jpg","text":"TemporaryFile(/tmp/multipartBody4066861505752239494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_47_6306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0694539650112ddbbaf7f48910e90eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1518388001916366851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_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/22/6b6fce9f90579f981407d058c8981329.jpg","text":"TemporaryFile(/tmp/multipartBody8228316815412826953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_54_7004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/be99e8a41468a6164e21661b7d864a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1885115888270325373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560940147,"filename":"image_22012025_16_47_23_6533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626188","file1":"1330626185","file0":"1330626181","file4":"1330626195","file5":"1330626199","file3":"1330626192"},"map_files_photo_id_array":[{"photo_id":"1330626199","filename":"file5"},{"photo_id":"1330626188","filename":"file2"},{"photo_id":"1330626195","filename":"file4"},{"photo_id":"1330626185","filename":"file1"},{"photo_id":"1330626181","filename":"file0"},{"photo_id":"1330626192","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626192":["hashtag1","hashtag2"]},{"1330626195":["hashtag1","hashtag2"]},{"1330626185":["hashtag1","hashtag2"]},{"1330626188":["hashtag1","hashtag2"]},{"1330626181":["hashtag1","hashtag2"]},{"1330626199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626192, 1330626195, 1330626185, 1330626188, 1330626181, 1330626199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.01279830932617 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:48:42.640978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/48/image_22012025_16_48_53_5838.jpg', '/media/data/images/22012025/16/48/image_22012025_16_48_47_6095.jpg', '/media/data/images/22012025/16/48/image_22012025_16_48_41_6585.jpg', '/media/data/images/22012025/16/48/image_22012025_16_48_34_5353.jpg', '/media/data/images/22012025/16/48/image_22012025_16_48_29_6588.jpg', '/media/data/images/22012025/16/48/image_22012025_16_48_22_5338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/48/image_22012025_16_48_53_5838.jpg
/media/data/images/22012025/16/48/image_22012025_16_48_47_6095.jpg
/media/data/images/22012025/16/48/image_22012025_16_48_41_6585.jpg
/media/data/images/22012025/16/48/image_22012025_16_48_34_5353.jpg
/media/data/images/22012025/16/48/image_22012025_16_48_29_6588.jpg
/media/data/images/22012025/16/48/image_22012025_16_48_22_5338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626234","1330626225","1330626219","1330626221","1330626230","1330626238"],"photo_ids_order":["1330626219","1330626221","1330626225","1330626230","1330626234","1330626238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7ad14064e33ac760efe336715ecfe93.jpg","text":"TemporaryFile(/tmp/multipartBody2580412879948815803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_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/22/1bd57ef571416908f94ba3ef4f4087ab.jpg","text":"TemporaryFile(/tmp/multipartBody8609103581517027828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_41_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/22/65b8d4d219c6d6e05802ec69850ac867.jpg","text":"TemporaryFile(/tmp/multipartBody1183512449579234666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_53_5838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/37e2189c4481e8531b6511f5c16b98d3.jpg","text":"TemporaryFile(/tmp/multipartBody1712438879924516382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_47_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c57b11dc30f2373f45bd6405a8091e6.jpg","text":"TemporaryFile(/tmp/multipartBody8979876673090718634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_34_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/22/a185b462f53226b8eb5342b9e92d52a0.jpg","text":"TemporaryFile(/tmp/multipartBody3206877732254133844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737560997604,"filename":"image_22012025_16_48_22_5338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626225","file1":"1330626221","file0":"1330626219","file4":"1330626234","file5":"1330626238","file3":"1330626230"},"map_files_photo_id_array":[{"photo_id":"1330626238","filename":"file5"},{"photo_id":"1330626225","filename":"file2"},{"photo_id":"1330626234","filename":"file4"},{"photo_id":"1330626221","filename":"file1"},{"photo_id":"1330626219","filename":"file0"},{"photo_id":"1330626230","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626234":["hashtag1","hashtag2"]},{"1330626225":["hashtag1","hashtag2"]},{"1330626219":["hashtag1","hashtag2"]},{"1330626221":["hashtag1","hashtag2"]},{"1330626230":["hashtag1","hashtag2"]},{"1330626238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626234, 1330626225, 1330626219, 1330626221, 1330626230, 1330626238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.20649981498718 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:49:42.832133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/49/image_22012025_16_49_54_5877.jpg', '/media/data/images/22012025/16/49/image_22012025_16_49_48_6425.jpg', '/media/data/images/22012025/16/49/image_22012025_16_49_41_6581.jpg', '/media/data/images/22012025/16/49/image_22012025_16_49_34_5288.jpg', '/media/data/images/22012025/16/49/image_22012025_16_49_29_6583.jpg', '/media/data/images/22012025/16/49/image_22012025_16_49_23_5275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/49/image_22012025_16_49_54_5877.jpg
/media/data/images/22012025/16/49/image_22012025_16_49_48_6425.jpg
/media/data/images/22012025/16/49/image_22012025_16_49_41_6581.jpg
/media/data/images/22012025/16/49/image_22012025_16_49_34_5288.jpg
/media/data/images/22012025/16/49/image_22012025_16_49_29_6583.jpg
/media/data/images/22012025/16/49/image_22012025_16_49_23_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":["1330626270","1330626267","1330626263","1330626272","1330626260","1330626271"],"photo_ids_order":["1330626260","1330626263","1330626267","1330626270","1330626271","1330626272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38a11a927285ea7c4ae0464e03124633.jpg","text":"TemporaryFile(/tmp/multipartBody4565362001836160056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_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/22/626442bd31ca99deac9f470aeb5f99f5.jpg","text":"TemporaryFile(/tmp/multipartBody3204133070827723064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_41_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/22/96e635a2e4f20450fd0681628347a4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8428086182236222377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_48_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/22/df417cb775d0ace03e9199bc6a7025d2.jpg","text":"TemporaryFile(/tmp/multipartBody8939623901304344360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_23_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/22/8de92f80f303f16532eb55d017d70eed.jpg","text":"TemporaryFile(/tmp/multipartBody9112251751499390622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_54_5877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/486669ee39b7858fbaf4ecd255943391.jpg","text":"TemporaryFile(/tmp/multipartBody7873581683506259529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561055827,"filename":"image_22012025_16_49_29_6583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626267","file1":"1330626263","file0":"1330626260","file4":"1330626271","file5":"1330626272","file3":"1330626270"},"map_files_photo_id_array":[{"photo_id":"1330626272","filename":"file5"},{"photo_id":"1330626267","filename":"file2"},{"photo_id":"1330626271","filename":"file4"},{"photo_id":"1330626263","filename":"file1"},{"photo_id":"1330626260","filename":"file0"},{"photo_id":"1330626270","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626270":["hashtag1","hashtag2"]},{"1330626267":["hashtag1","hashtag2"]},{"1330626263":["hashtag1","hashtag2"]},{"1330626272":["hashtag1","hashtag2"]},{"1330626260":["hashtag1","hashtag2"]},{"1330626271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626270, 1330626267, 1330626263, 1330626272, 1330626260, 1330626271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.57480335235596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:50:41.915877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/50/image_22012025_16_50_54_6360.jpg', '/media/data/images/22012025/16/50/image_22012025_16_50_48_6328.jpg', '/media/data/images/22012025/16/50/image_22012025_16_50_41_6514.jpg', '/media/data/images/22012025/16/50/image_22012025_16_50_35_5232.jpg', '/media/data/images/22012025/16/50/image_22012025_16_50_29_6471.jpg', '/media/data/images/22012025/16/50/image_22012025_16_50_23_6560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/50/image_22012025_16_50_54_6360.jpg
/media/data/images/22012025/16/50/image_22012025_16_50_48_6328.jpg
/media/data/images/22012025/16/50/image_22012025_16_50_41_6514.jpg
/media/data/images/22012025/16/50/image_22012025_16_50_35_5232.jpg
/media/data/images/22012025/16/50/image_22012025_16_50_29_6471.jpg
/media/data/images/22012025/16/50/image_22012025_16_50_23_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":["1330626437","1330626434","1330626439","1330626430","1330626424","1330626427"],"photo_ids_order":["1330626424","1330626427","1330626430","1330626434","1330626437","1330626439"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b9780d4ec18a9ee90a8f4bed9f89ed81.jpg","text":"TemporaryFile(/tmp/multipartBody3826096678836961653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_29_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/22/de9721999c655e97b1c6a1556cbad427.jpg","text":"TemporaryFile(/tmp/multipartBody7560325563780628489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_35_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/22/3c124d4b652d697043c1fc06f3176dad.jpg","text":"TemporaryFile(/tmp/multipartBody8922182602759843666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_23_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/22/dae78945826fb7d403822e79b494f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody4036509497470545171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_41_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/22/4bfc05aea20b667764f7801b1e3e2645.jpg","text":"TemporaryFile(/tmp/multipartBody7626510008798797277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_54_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/22/d40d2de67d1e38fbfa7e2114ca0a04b8.jpg","text":"TemporaryFile(/tmp/multipartBody1362266085781918499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561118253,"filename":"image_22012025_16_50_48_6328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626430","file1":"1330626427","file0":"1330626424","file4":"1330626437","file5":"1330626439","file3":"1330626434"},"map_files_photo_id_array":[{"photo_id":"1330626439","filename":"file5"},{"photo_id":"1330626430","filename":"file2"},{"photo_id":"1330626437","filename":"file4"},{"photo_id":"1330626427","filename":"file1"},{"photo_id":"1330626424","filename":"file0"},{"photo_id":"1330626434","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626437":["hashtag1","hashtag2"]},{"1330626434":["hashtag1","hashtag2"]},{"1330626439":["hashtag1","hashtag2"]},{"1330626430":["hashtag1","hashtag2"]},{"1330626424":["hashtag1","hashtag2"]},{"1330626427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626437, 1330626434, 1330626439, 1330626430, 1330626424, 1330626427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.00946855545044 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:51:42.226625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/51/image_22012025_16_51_54_6470.jpg', '/media/data/images/22012025/16/51/image_22012025_16_51_47_6464.jpg', '/media/data/images/22012025/16/51/image_22012025_16_51_40_5330.jpg', '/media/data/images/22012025/16/51/image_22012025_16_51_35_6566.jpg', '/media/data/images/22012025/16/51/image_22012025_16_51_28_5351.jpg', '/media/data/images/22012025/16/51/image_22012025_16_51_23_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/51/image_22012025_16_51_54_6470.jpg
/media/data/images/22012025/16/51/image_22012025_16_51_47_6464.jpg
/media/data/images/22012025/16/51/image_22012025_16_51_40_5330.jpg
/media/data/images/22012025/16/51/image_22012025_16_51_35_6566.jpg
/media/data/images/22012025/16/51/image_22012025_16_51_28_5351.jpg
/media/data/images/22012025/16/51/image_22012025_16_51_23_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":["1330626471","1330626465","1330626473","1330626472","1330626475","1330626469"],"photo_ids_order":["1330626465","1330626469","1330626471","1330626472","1330626473","1330626475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2bc3182ed5bab2a0af2b508790e3a343.jpg","text":"TemporaryFile(/tmp/multipartBody4765507134381094056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_40_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/22/9a4a4cb2cd5f34c142936c10106720aa.jpg","text":"TemporaryFile(/tmp/multipartBody4314858496990304352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_54_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/22/f1a335130a98e783a90dac645cd9dd76.jpg","text":"TemporaryFile(/tmp/multipartBody6236857381614402307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_28_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/22/1de0e73dca615e4fcc805186340c5e22.jpg","text":"TemporaryFile(/tmp/multipartBody6688893306974618760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_35_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/22/1bee289009161abcfef8f0a1ceedd67b.jpg","text":"TemporaryFile(/tmp/multipartBody2920063886583560214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_23_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/22/a654155bf4b58a4c582860fbc4136dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4442053615742637705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561181740,"filename":"image_22012025_16_51_47_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626471","file1":"1330626469","file0":"1330626465","file4":"1330626473","file5":"1330626475","file3":"1330626472"},"map_files_photo_id_array":[{"photo_id":"1330626475","filename":"file5"},{"photo_id":"1330626471","filename":"file2"},{"photo_id":"1330626473","filename":"file4"},{"photo_id":"1330626469","filename":"file1"},{"photo_id":"1330626465","filename":"file0"},{"photo_id":"1330626472","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626471":["hashtag1","hashtag2"]},{"1330626465":["hashtag1","hashtag2"]},{"1330626473":["hashtag1","hashtag2"]},{"1330626472":["hashtag1","hashtag2"]},{"1330626475":["hashtag1","hashtag2"]},{"1330626469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626471, 1330626465, 1330626473, 1330626472, 1330626475, 1330626469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.77695560455322 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:52:42.289416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/52/image_22012025_16_52_54_6434.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_47_5264.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_41_6531.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_35_6557.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_28_5291.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_23_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/52/image_22012025_16_52_54_6434.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_47_5264.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_41_6531.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_35_6557.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_28_5291.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_23_6549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626522","1330626497","1330626506","1330626517","1330626502","1330626511"],"photo_ids_order":["1330626497","1330626502","1330626506","1330626511","1330626517","1330626522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/105ae07808c4c677da6ac661f408e137.jpg","text":"TemporaryFile(/tmp/multipartBody3242619754588916589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_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/22/4aecac1d42245f30fda214a41759853e.jpg","text":"TemporaryFile(/tmp/multipartBody260134086004361587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_54_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/22/19faa68a1dc1c3f35e3fb3c67b63c619.jpg","text":"TemporaryFile(/tmp/multipartBody7866357228360448020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_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/22/703a1e6073fa215967e2d6a8541aa6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5006991198245835836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_28_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/22/6c1aa9a9c7956afdf6535ddfddc10a33.jpg","text":"TemporaryFile(/tmp/multipartBody3715349128460485819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_47_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/22/86a5e296db591aeaf514654f49d7a159.jpg","text":"TemporaryFile(/tmp/multipartBody6029938726436372994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561240802,"filename":"image_22012025_16_52_35_6557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626506","file1":"1330626502","file0":"1330626497","file4":"1330626517","file5":"1330626522","file3":"1330626511"},"map_files_photo_id_array":[{"photo_id":"1330626522","filename":"file5"},{"photo_id":"1330626506","filename":"file2"},{"photo_id":"1330626517","filename":"file4"},{"photo_id":"1330626502","filename":"file1"},{"photo_id":"1330626497","filename":"file0"},{"photo_id":"1330626511","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626522":["hashtag1","hashtag2"]},{"1330626497":["hashtag1","hashtag2"]},{"1330626506":["hashtag1","hashtag2"]},{"1330626517":["hashtag1","hashtag2"]},{"1330626502":["hashtag1","hashtag2"]},{"1330626511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626522, 1330626497, 1330626506, 1330626517, 1330626502, 1330626511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.18340253829956 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:53:42.604158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/53/image_22012025_16_53_54_6129.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_48_6452.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_41_5307.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_35_6489.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_29_6556.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_22_5336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/53/image_22012025_16_53_54_6129.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_48_6452.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_41_5307.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_35_6489.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_29_6556.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_22_5336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626546","1330626537","1330626548","1330626541","1330626550","1330626544"],"photo_ids_order":["1330626537","1330626541","1330626544","1330626546","1330626548","1330626550"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2e6dc9d58862fa1c9f5e16269d38b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4834607124051133168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_35_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/22/caa25d1c7d256c186a8584798026f520.jpg","text":"TemporaryFile(/tmp/multipartBody5065976398425060693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_54_6129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a97e3e536c9987e728d99be8c4bdb32.jpg","text":"TemporaryFile(/tmp/multipartBody6649260328195363811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_29_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/22/ca9a80694c408fa7f1d94fb7cbd8b171.jpg","text":"TemporaryFile(/tmp/multipartBody4626454239241794486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_48_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/22/ac2392f81a48f41c223cf43a8ea2a87b.jpg","text":"TemporaryFile(/tmp/multipartBody7176894037846254538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_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/22/d87675f09a14f412fa6854045578bc76.jpg","text":"TemporaryFile(/tmp/multipartBody4825360956939983366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561299052,"filename":"image_22012025_16_53_41_5307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626544","file1":"1330626541","file0":"1330626537","file4":"1330626548","file5":"1330626550","file3":"1330626546"},"map_files_photo_id_array":[{"photo_id":"1330626550","filename":"file5"},{"photo_id":"1330626544","filename":"file2"},{"photo_id":"1330626548","filename":"file4"},{"photo_id":"1330626541","filename":"file1"},{"photo_id":"1330626537","filename":"file0"},{"photo_id":"1330626546","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626546":["hashtag1","hashtag2"]},{"1330626537":["hashtag1","hashtag2"]},{"1330626548":["hashtag1","hashtag2"]},{"1330626541":["hashtag1","hashtag2"]},{"1330626550":["hashtag1","hashtag2"]},{"1330626544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626546, 1330626537, 1330626548, 1330626541, 1330626550, 1330626544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.8996365070343 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:54:42.661171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/54/image_22012025_16_54_54_7290.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_47_6013.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_40_5293.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_35_6517.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_28_5198.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_23_6535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/54/image_22012025_16_54_54_7290.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_47_6013.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_40_5293.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_35_6517.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_28_5198.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_23_6535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626582","1330626585","1330626579","1330626572","1330626575","1330626569"],"photo_ids_order":["1330626569","1330626572","1330626575","1330626579","1330626582","1330626585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9a1bc78ed5c74f0cb906e3556fe1c95a.jpg","text":"TemporaryFile(/tmp/multipartBody7605481283475746697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_28_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/22/6376306309d3078d5f843329c5b7dc7d.jpg","text":"TemporaryFile(/tmp/multipartBody1634982483920861499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_23_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/22/027337677f6e25397a90de830b2d9a3d.jpg","text":"TemporaryFile(/tmp/multipartBody935598410758037704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_35_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/22/395fa640bef226df8916434036aa9e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1940161635908389293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_47_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/22/2f4773695a578f776f18558859c9ae05.jpg","text":"TemporaryFile(/tmp/multipartBody1473001366788358591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_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/22/1b1f81801a6060b8c2d154c94ac82413.jpg","text":"TemporaryFile(/tmp/multipartBody9219271673686879199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561358702,"filename":"image_22012025_16_54_54_7290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626575","file1":"1330626572","file0":"1330626569","file4":"1330626582","file5":"1330626585","file3":"1330626579"},"map_files_photo_id_array":[{"photo_id":"1330626585","filename":"file5"},{"photo_id":"1330626575","filename":"file2"},{"photo_id":"1330626582","filename":"file4"},{"photo_id":"1330626572","filename":"file1"},{"photo_id":"1330626569","filename":"file0"},{"photo_id":"1330626579","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626582":["hashtag1","hashtag2"]},{"1330626585":["hashtag1","hashtag2"]},{"1330626579":["hashtag1","hashtag2"]},{"1330626572":["hashtag1","hashtag2"]},{"1330626575":["hashtag1","hashtag2"]},{"1330626569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626582, 1330626585, 1330626579, 1330626572, 1330626575, 1330626569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.273738861083984 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:55:42.018130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/55/image_22012025_16_55_54_6094.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_48_6305.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_41_6493.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_34_5270.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_29_6491.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_23_5291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/55/image_22012025_16_55_54_6094.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_48_6305.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_41_6493.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_34_5270.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_29_6491.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_23_5291.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626607","1330626624","1330626611","1330626613","1330626616","1330626619"],"photo_ids_order":["1330626607","1330626611","1330626613","1330626616","1330626619","1330626624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/619885897a3f7e1af2e53d77c88a2c52.jpg","text":"TemporaryFile(/tmp/multipartBody1894049074585092668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_54_6094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c66a9251e4b91db840682b24ba37800.jpg","text":"TemporaryFile(/tmp/multipartBody6189388026101444012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_23_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/22/a7637c56ba5f811212edc374e926bc04.jpg","text":"TemporaryFile(/tmp/multipartBody4103099636012575252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_48_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/22/432d4e9282060ed90d5a3da6be24f54a.jpg","text":"TemporaryFile(/tmp/multipartBody185715563773946278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_41_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/22/b1f3ffbd5b93c6a7955289d9201c060e.jpg","text":"TemporaryFile(/tmp/multipartBody5837901976507509106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_34_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/22/e6301157754f1edb77eaa419c05a7cb5.jpg","text":"TemporaryFile(/tmp/multipartBody3929167253703385321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561422143,"filename":"image_22012025_16_55_29_6491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626613","file1":"1330626611","file0":"1330626607","file4":"1330626619","file5":"1330626624","file3":"1330626616"},"map_files_photo_id_array":[{"photo_id":"1330626624","filename":"file5"},{"photo_id":"1330626613","filename":"file2"},{"photo_id":"1330626619","filename":"file4"},{"photo_id":"1330626611","filename":"file1"},{"photo_id":"1330626607","filename":"file0"},{"photo_id":"1330626616","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626607":["hashtag1","hashtag2"]},{"1330626624":["hashtag1","hashtag2"]},{"1330626611":["hashtag1","hashtag2"]},{"1330626613":["hashtag1","hashtag2"]},{"1330626616":["hashtag1","hashtag2"]},{"1330626619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626607, 1330626624, 1330626611, 1330626613, 1330626616, 1330626619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.122061014175415 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:56:42.295931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/56/image_22012025_16_56_53_5379.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_48_6912.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_41_5334.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_35_6521.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_29_6499.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_22_5036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/56/image_22012025_16_56_53_5379.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_48_6912.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_41_5334.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_35_6521.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_29_6499.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_22_5036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626642","1330626656","1330626647","1330626652","1330626640","1330626643"],"photo_ids_order":["1330626640","1330626642","1330626643","1330626647","1330626652","1330626656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f72cd4f32ba741093c4c3284d8b9d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4516312088094821717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_48_6912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b6fecfcb9fb1cc559aed0cfe49bdb22.jpg","text":"TemporaryFile(/tmp/multipartBody8615438063625120949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_22_5036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2bf8aa185cf9d7725401630f443d6f8f.jpg","text":"TemporaryFile(/tmp/multipartBody929406017676630013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_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/22/88766d3852b3d3cb3ea36bba67ffda45.jpg","text":"TemporaryFile(/tmp/multipartBody1951166094601121420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_29_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/22/98186c96cb21e0d14ab0eb546a1e4224.jpg","text":"TemporaryFile(/tmp/multipartBody2819824839309629190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_53_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/22/e54171f2a3ecaec1594365b6a9476f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7770405870046915563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561468590,"filename":"image_22012025_16_56_41_5334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626643","file1":"1330626642","file0":"1330626640","file4":"1330626652","file5":"1330626656","file3":"1330626647"},"map_files_photo_id_array":[{"photo_id":"1330626656","filename":"file5"},{"photo_id":"1330626643","filename":"file2"},{"photo_id":"1330626652","filename":"file4"},{"photo_id":"1330626642","filename":"file1"},{"photo_id":"1330626640","filename":"file0"},{"photo_id":"1330626647","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626642":["hashtag1","hashtag2"]},{"1330626656":["hashtag1","hashtag2"]},{"1330626647":["hashtag1","hashtag2"]},{"1330626652":["hashtag1","hashtag2"]},{"1330626640":["hashtag1","hashtag2"]},{"1330626643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626642, 1330626656, 1330626647, 1330626652, 1330626640, 1330626643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92645072937012 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 16:57:42.107646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/57/image_22012025_16_57_53_6282.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_46_5059.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_41_6530.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_35_5299.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_29_6555.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_23_6542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/57/image_22012025_16_57_53_6282.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_46_5059.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_41_6530.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_35_5299.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_29_6555.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_23_6542.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-22 16:59:04.528536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/58/image_22012025_16_58_53_6350.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_47_6177.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_40_5232.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_35_6504.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_29_5299.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_23_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/58/image_22012025_16_58_53_6350.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_47_6177.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_40_5232.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_35_6504.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_29_5299.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_23_6540.jpg
2025-01-22 16:59:04.860767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/58/image_22012025_16_58_53_6350.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_47_6177.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_40_5232.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_35_6504.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_29_5299.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_23_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/58/image_22012025_16_58_53_6350.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_47_6177.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_40_5232.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_35_6504.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_29_5299.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_23_6540.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":["1330626723","1330626711","1330626729","1330626737","1330626733","1330626718"],"photo_ids_order":["1330626711","1330626718","1330626723","1330626729","1330626733","1330626737"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc58bbd105d4e61dc6dbf09d01bbb575.jpg","text":"TemporaryFile(/tmp/multipartBody1134998268079644748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_40_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/22/fb0ecff90cf5650ceeabbf105dfe4b31.jpg","text":"TemporaryFile(/tmp/multipartBody17529375862202075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_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/22/ee6df2cf0cc27a6d9a18c788a00e4401.jpg","text":"TemporaryFile(/tmp/multipartBody5304289467556376904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_35_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/22/588a42f4243a91c7f9ddcf31eab71d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1569241816374329487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_23_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/22/2a9a6ca75f893ca7f805d0746abd5366.jpg","text":"TemporaryFile(/tmp/multipartBody3468734191035494667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_29_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/22/14e52b6f67a117f2ef8cc00db983e925.jpg","text":"TemporaryFile(/tmp/multipartBody5920657260964972514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561621988,"filename":"image_22012025_16_58_47_6177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626723","file1":"1330626718","file0":"1330626711","file4":"1330626733","file5":"1330626737","file3":"1330626729"},"map_files_photo_id_array":[{"photo_id":"1330626737","filename":"file5"},{"photo_id":"1330626723","filename":"file2"},{"photo_id":"1330626733","filename":"file4"},{"photo_id":"1330626718","filename":"file1"},{"photo_id":"1330626711","filename":"file0"},{"photo_id":"1330626729","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626723":["hashtag1","hashtag2"]},{"1330626711":["hashtag1","hashtag2"]},{"1330626729":["hashtag1","hashtag2"]},{"1330626737":["hashtag1","hashtag2"]},{"1330626733":["hashtag1","hashtag2"]},{"1330626718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626723, 1330626711, 1330626729, 1330626737, 1330626733, 1330626718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.9219024181366 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626734","1330626743","1330626725","1330626719","1330626730","1330626712"],"photo_ids_order":["1330626712","1330626719","1330626725","1330626730","1330626734","1330626743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0338b79e4e2ee01e6383014262ea373.jpg","text":"TemporaryFile(/tmp/multipartBody4766936121538167922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_29_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/22/b6220896bf41af970aee3dbbd4636dfe.jpg","text":"TemporaryFile(/tmp/multipartBody663383262300161312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_23_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/22/982d7dfcccc37ee28df03823985a3229.jpg","text":"TemporaryFile(/tmp/multipartBody678301266374587468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_40_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/22/29aa3765a1f118fb2990022893a2edec.jpg","text":"TemporaryFile(/tmp/multipartBody2022668403200929373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_47_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/22/d01e00d27c64c102cfc951f6b2f9ea89.jpg","text":"TemporaryFile(/tmp/multipartBody8238843350107255424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_35_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/22/7005a8e81f6f922980f5055a008170a4.jpg","text":"TemporaryFile(/tmp/multipartBody353508444717262940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561622988,"filename":"image_22012025_16_58_53_6350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626725","file1":"1330626719","file0":"1330626712","file4":"1330626734","file5":"1330626743","file3":"1330626730"},"map_files_photo_id_array":[{"photo_id":"1330626743","filename":"file5"},{"photo_id":"1330626725","filename":"file2"},{"photo_id":"1330626734","filename":"file4"},{"photo_id":"1330626719","filename":"file1"},{"photo_id":"1330626712","filename":"file0"},{"photo_id":"1330626730","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626734":["hashtag1","hashtag2"]},{"1330626743":["hashtag1","hashtag2"]},{"1330626725":["hashtag1","hashtag2"]},{"1330626719":["hashtag1","hashtag2"]},{"1330626730":["hashtag1","hashtag2"]},{"1330626712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626734, 1330626743, 1330626725, 1330626719, 1330626730, 1330626712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.52082562446594 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:00:03.801004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/59/image_22012025_16_59_52_5314.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_47_6503.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_41_5296.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_35_6537.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_29_5268.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_23_6538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/59/image_22012025_16_59_52_5314.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_47_6503.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_41_5296.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_35_6537.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_29_5268.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_23_6538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330626903","1330626906","1330626900","1330626869","1330626809","1330626898"],"photo_ids_order":["1330626809","1330626869","1330626898","1330626900","1330626903","1330626906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/28a3f592a235b9d23b672cf66672c62e.jpg","text":"TemporaryFile(/tmp/multipartBody2242077265336109381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_29_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/22/4df173272e6bd0897f196b34c13f0fae.jpg","text":"TemporaryFile(/tmp/multipartBody1027495786914479337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_23_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/22/3109a321b652adc460354d2cbfca3dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8606786781532125757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_35_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/22/383396de171d218f541da6900c5d6357.jpg","text":"TemporaryFile(/tmp/multipartBody7118586558745796071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_47_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/22/46181bc6ffddbf629c43be928f9793c9.jpg","text":"TemporaryFile(/tmp/multipartBody7111602979113855452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_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/22/acacee21809783bb33d9f7d823c40b69.jpg","text":"TemporaryFile(/tmp/multipartBody8637913235793217222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561678588,"filename":"image_22012025_16_59_41_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626898","file1":"1330626869","file0":"1330626809","file4":"1330626903","file5":"1330626906","file3":"1330626900"},"map_files_photo_id_array":[{"photo_id":"1330626906","filename":"file5"},{"photo_id":"1330626898","filename":"file2"},{"photo_id":"1330626903","filename":"file4"},{"photo_id":"1330626869","filename":"file1"},{"photo_id":"1330626809","filename":"file0"},{"photo_id":"1330626900","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626903":["hashtag1","hashtag2"]},{"1330626906":["hashtag1","hashtag2"]},{"1330626900":["hashtag1","hashtag2"]},{"1330626869":["hashtag1","hashtag2"]},{"1330626809":["hashtag1","hashtag2"]},{"1330626898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626903, 1330626906, 1330626900, 1330626869, 1330626809, 1330626898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.23421049118042 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:01:04.066466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/00/image_22012025_17_00_53_5318.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_47_6535.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_41_6547.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_34_5318.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_29_6037.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_23_5338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/00/image_22012025_17_00_53_5318.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_47_6535.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_41_6547.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_34_5318.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_29_6037.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_23_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":["1330626950","1330626926","1330626941","1330626946","1330626931","1330626928"],"photo_ids_order":["1330626926","1330626928","1330626931","1330626941","1330626946","1330626950"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c146fe3f9a0b6266ce2ba41964912c54.jpg","text":"TemporaryFile(/tmp/multipartBody3525380317019888808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_23_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/22/d8e0a212a7d39b27c376225f61a6f9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2936681039143411283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_53_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/22/b69682511f3f5bda2c6f868cfc441735.jpg","text":"TemporaryFile(/tmp/multipartBody3859751936415119435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_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/22/f226b44b2bfa03a74b2723e0d806ef26.jpg","text":"TemporaryFile(/tmp/multipartBody9006014914388738384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_29_6037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e24761e38a49fb5048a26d7c7b83fe58.jpg","text":"TemporaryFile(/tmp/multipartBody2013666115196920967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_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/22/e5cb07b0f1d4edf029606aed6d6f6c47.jpg","text":"TemporaryFile(/tmp/multipartBody3212655227059284670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561740876,"filename":"image_22012025_17_00_47_6535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626931","file1":"1330626928","file0":"1330626926","file4":"1330626946","file5":"1330626950","file3":"1330626941"},"map_files_photo_id_array":[{"photo_id":"1330626950","filename":"file5"},{"photo_id":"1330626931","filename":"file2"},{"photo_id":"1330626946","filename":"file4"},{"photo_id":"1330626928","filename":"file1"},{"photo_id":"1330626926","filename":"file0"},{"photo_id":"1330626941","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626950":["hashtag1","hashtag2"]},{"1330626926":["hashtag1","hashtag2"]},{"1330626941":["hashtag1","hashtag2"]},{"1330626946":["hashtag1","hashtag2"]},{"1330626931":["hashtag1","hashtag2"]},{"1330626928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626950, 1330626926, 1330626941, 1330626946, 1330626931, 1330626928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.20193028450012 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:02:04.164394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/01/image_22012025_17_01_53_6518.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_47_5337.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_41_6542.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_35_5332.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_29_6530.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_23_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/01/image_22012025_17_01_53_6518.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_47_5337.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_41_6542.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_35_5332.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_29_6530.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_23_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":["1330626969","1330626980","1330626983","1330626977","1330626986","1330626973"],"photo_ids_order":["1330626969","1330626973","1330626977","1330626980","1330626983","1330626986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/293283b21b003212075acaacbe858169.jpg","text":"TemporaryFile(/tmp/multipartBody3021625850311263794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_53_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/22/ccbc8a670c620ffda412f9ebf3ec4d31.jpg","text":"TemporaryFile(/tmp/multipartBody2065103289067434322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_35_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/22/0aa23e7aab76ad0d71cf8336eaa77c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5758952262882854221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_29_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/22/33388b83d59b6ca74c3f518fa2e9f086.jpg","text":"TemporaryFile(/tmp/multipartBody3588743972850944730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_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/22/fe7b4c1664502bfaf8fd12bdff76a632.jpg","text":"TemporaryFile(/tmp/multipartBody3112579917106121375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_23_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/22/dd5935a840be970f6758e342650b8edb.jpg","text":"TemporaryFile(/tmp/multipartBody5653962348286733464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561801408,"filename":"image_22012025_17_01_47_5337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330626977","file1":"1330626973","file0":"1330626969","file4":"1330626983","file5":"1330626986","file3":"1330626980"},"map_files_photo_id_array":[{"photo_id":"1330626986","filename":"file5"},{"photo_id":"1330626977","filename":"file2"},{"photo_id":"1330626983","filename":"file4"},{"photo_id":"1330626973","filename":"file1"},{"photo_id":"1330626969","filename":"file0"},{"photo_id":"1330626980","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330626969":["hashtag1","hashtag2"]},{"1330626980":["hashtag1","hashtag2"]},{"1330626983":["hashtag1","hashtag2"]},{"1330626977":["hashtag1","hashtag2"]},{"1330626986":["hashtag1","hashtag2"]},{"1330626973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330626969, 1330626980, 1330626983, 1330626977, 1330626986, 1330626973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.3358256816864 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:03:04.208851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/02/image_22012025_17_02_53_6508.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_47_5288.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_41_6512.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_35_6505.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_28_5300.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_23_6115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/02/image_22012025_17_02_53_6508.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_47_5288.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_41_6512.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_35_6505.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_28_5300.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_23_6115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330627011","1330627025","1330627013","1330627018","1330627021","1330627015"],"photo_ids_order":["1330627011","1330627013","1330627015","1330627018","1330627021","1330627025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/05bf00267c436d0abf77ec6742e35a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4267319998705855226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_53_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/22/efb2f5d208d0d6cada53793d7b91d1da.jpg","text":"TemporaryFile(/tmp/multipartBody3021041933984426659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_23_6115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/99a7d93d2a06127f683b4beee7ddd627.jpg","text":"TemporaryFile(/tmp/multipartBody5850235244439820132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_47_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/22/cc1a147b8ad45deda6c35e3811a498ef.jpg","text":"TemporaryFile(/tmp/multipartBody887344715548193840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_35_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/22/d85f8d664b323f992aac35c921eb9ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5914095832349162660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_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/22/e4c0527dd128b289d678147c52c5b05b.jpg","text":"TemporaryFile(/tmp/multipartBody613767623118104819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561865531,"filename":"image_22012025_17_02_41_6512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330627015","file1":"1330627013","file0":"1330627011","file4":"1330627021","file5":"1330627025","file3":"1330627018"},"map_files_photo_id_array":[{"photo_id":"1330627025","filename":"file5"},{"photo_id":"1330627015","filename":"file2"},{"photo_id":"1330627021","filename":"file4"},{"photo_id":"1330627013","filename":"file1"},{"photo_id":"1330627011","filename":"file0"},{"photo_id":"1330627018","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330627011":["hashtag1","hashtag2"]},{"1330627025":["hashtag1","hashtag2"]},{"1330627013":["hashtag1","hashtag2"]},{"1330627018":["hashtag1","hashtag2"]},{"1330627021":["hashtag1","hashtag2"]},{"1330627015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330627011, 1330627025, 1330627013, 1330627018, 1330627021, 1330627015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.62186002731323 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 17:04:05.134947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/03/image_22012025_17_03_53_6507.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_47_6458.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_40_5254.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_35_6474.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_29_5263.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_23_5954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/03/image_22012025_17_03_53_6507.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_47_6458.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_40_5254.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_35_6474.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_29_5263.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_23_5954.jpg
2025-01-22 17:04:05.508058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/03/image_22012025_17_03_53_6507.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_47_6458.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_40_5254.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_35_6474.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_29_5263.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_23_5954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/03/image_22012025_17_03_53_6507.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_47_6458.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_40_5254.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_35_6474.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_29_5263.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_23_5954.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: 45.516582012176514 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":["1330627193","1330627184","1330627192","1330627189","1330627168","1330627179"],"photo_ids_order":["1330627168","1330627179","1330627184","1330627189","1330627192","1330627193"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/529353241c29749d17b4322a2d90e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8993142041161345452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_23_5954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf801ae0b37ac490e04d58254469e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody5589694232553136068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_40_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/22/135ce64d1d7dbcc9e03e473c2de6283e.jpg","text":"TemporaryFile(/tmp/multipartBody3603129660366993547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_29_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/22/151a43833b4eb7201ccf249e165a7ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6528487355747942853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_35_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/22/254cb12452e27cad389e8213e0681209.jpg","text":"TemporaryFile(/tmp/multipartBody5826782683366397069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_53_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/22/9221e6a81ab9d283142d2555be075a00.jpg","text":"TemporaryFile(/tmp/multipartBody5780677834702610242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737561954082,"filename":"image_22012025_17_03_47_6458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330627184","file1":"1330627179","file0":"1330627168","file4":"1330627192","file5":"1330627193","file3":"1330627189"},"map_files_photo_id_array":[{"photo_id":"1330627193","filename":"file5"},{"photo_id":"1330627184","filename":"file2"},{"photo_id":"1330627192","filename":"file4"},{"photo_id":"1330627179","filename":"file1"},{"photo_id":"1330627168","filename":"file0"},{"photo_id":"1330627189","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330627193":["hashtag1","hashtag2"]},{"1330627184":["hashtag1","hashtag2"]},{"1330627192":["hashtag1","hashtag2"]},{"1330627189":["hashtag1","hashtag2"]},{"1330627168":["hashtag1","hashtag2"]},{"1330627179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330627193, 1330627184, 1330627192, 1330627189, 1330627168, 1330627179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.732675075531 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:05:42.165394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/05/image_22012025_17_05_54_6613.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_47_5519.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_42_5867.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_36_6477.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_29_4950.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_25_6913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/05/image_22012025_17_05_54_6613.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_47_5519.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_42_5867.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_36_6477.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_29_4950.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_25_6913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330627221","1330627217","1330627225","1330627210","1330627213","1330627207"],"photo_ids_order":["1330627207","1330627210","1330627213","1330627217","1330627221","1330627225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4e254cae2c63759b936c9a8b820d5af4.jpg","text":"TemporaryFile(/tmp/multipartBody8904515359663205249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_29_4950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14cb69868911c18f3f1e0c5c46509e79.jpg","text":"TemporaryFile(/tmp/multipartBody3532641571683193833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_36_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/22/d0994eed470cca1a1420ce8891a51f73.jpg","text":"TemporaryFile(/tmp/multipartBody4391305832641084402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_25_6913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/34cfb6c29c175a539a698b4c27984afe.jpg","text":"TemporaryFile(/tmp/multipartBody319311805617031537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_47_5519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9837c97bbaaa2dd973ca776cb4d9b3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3995575062407109517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_42_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/836f56efed9759dbae64e8d3274822b0.jpg","text":"TemporaryFile(/tmp/multipartBody3107080968437924394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562013235,"filename":"image_22012025_17_05_54_6613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330627213","file1":"1330627210","file0":"1330627207","file4":"1330627221","file5":"1330627225","file3":"1330627217"},"map_files_photo_id_array":[{"photo_id":"1330627225","filename":"file5"},{"photo_id":"1330627213","filename":"file2"},{"photo_id":"1330627221","filename":"file4"},{"photo_id":"1330627210","filename":"file1"},{"photo_id":"1330627207","filename":"file0"},{"photo_id":"1330627217","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330627221":["hashtag1","hashtag2"]},{"1330627217":["hashtag1","hashtag2"]},{"1330627225":["hashtag1","hashtag2"]},{"1330627210":["hashtag1","hashtag2"]},{"1330627213":["hashtag1","hashtag2"]},{"1330627207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330627221, 1330627217, 1330627225, 1330627210, 1330627213, 1330627207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06265735626221 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:06:42.185711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/06/image_22012025_17_06_53_5935.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_47_5615.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_41_6474.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_34_5249.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_29_6518.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_23_5302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/06/image_22012025_17_06_53_5935.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_47_5615.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_41_6474.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_34_5249.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_29_6518.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_23_5302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330627775","1330627778","1330627766","1330627780","1330627782","1330627770"],"photo_ids_order":["1330627766","1330627770","1330627775","1330627778","1330627780","1330627782"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/391c8dd976dc8609147d1646a51497f3.jpg","text":"TemporaryFile(/tmp/multipartBody8114605415804141076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_41_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/22/a2b722ba0b085e7d3fa40eca393e852c.jpg","text":"TemporaryFile(/tmp/multipartBody701068357058513985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_34_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/22/f9115842a60cd45306bbce6d834c0518.jpg","text":"TemporaryFile(/tmp/multipartBody9141901020681608355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_53_5935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b819d42e6acba6a029084a65b25973e6.jpg","text":"TemporaryFile(/tmp/multipartBody7109954018101500397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_29_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/22/7b36706e46223c88718b7dfe6f0ac3e3.jpg","text":"TemporaryFile(/tmp/multipartBody2777996996711316776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_23_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/22/db6e7f1fd0fcca4d662e5caa5b0f4409.jpg","text":"TemporaryFile(/tmp/multipartBody3723097697122864198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562074311,"filename":"image_22012025_17_06_47_5615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330627775","file1":"1330627770","file0":"1330627766","file4":"1330627780","file5":"1330627782","file3":"1330627778"},"map_files_photo_id_array":[{"photo_id":"1330627782","filename":"file5"},{"photo_id":"1330627775","filename":"file2"},{"photo_id":"1330627780","filename":"file4"},{"photo_id":"1330627770","filename":"file1"},{"photo_id":"1330627766","filename":"file0"},{"photo_id":"1330627778","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330627775":["hashtag1","hashtag2"]},{"1330627778":["hashtag1","hashtag2"]},{"1330627766":["hashtag1","hashtag2"]},{"1330627780":["hashtag1","hashtag2"]},{"1330627782":["hashtag1","hashtag2"]},{"1330627770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330627775, 1330627778, 1330627766, 1330627780, 1330627782, 1330627770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97259521484375 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:07:42.399461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/07/image_22012025_17_07_54_6366.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_48_6579.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_40_5345.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_35_6568.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_29_5275.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_23_6487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/07/image_22012025_17_07_54_6366.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_48_6579.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_40_5345.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_35_6568.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_29_5275.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_23_6487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628066","1330628138","1330628161","1330628070","1330628073","1330628133"],"photo_ids_order":["1330628066","1330628070","1330628073","1330628133","1330628138","1330628161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a8cbe42327ecc0d91b09e24e1937e9a.jpg","text":"TemporaryFile(/tmp/multipartBody844576100393844082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_54_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/22/8b30922ac95c379250866330cf1130fa.jpg","text":"TemporaryFile(/tmp/multipartBody8918941333169209779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_29_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/22/fe3b6c44cc420827cb78fbf661450bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2313802714177056473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_23_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/22/868cff924b8665c8991a3c69f7be7ebc.jpg","text":"TemporaryFile(/tmp/multipartBody9066990454702394720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_48_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/22/273249c3eb35e4891025f485d555ba62.jpg","text":"TemporaryFile(/tmp/multipartBody1870525729398362304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_40_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/22/282792bec668bd0e349fd59c5ee83695.jpg","text":"TemporaryFile(/tmp/multipartBody2393365131760793322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562143061,"filename":"image_22012025_17_07_35_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628073","file1":"1330628070","file0":"1330628066","file4":"1330628138","file5":"1330628161","file3":"1330628133"},"map_files_photo_id_array":[{"photo_id":"1330628161","filename":"file5"},{"photo_id":"1330628073","filename":"file2"},{"photo_id":"1330628138","filename":"file4"},{"photo_id":"1330628070","filename":"file1"},{"photo_id":"1330628066","filename":"file0"},{"photo_id":"1330628133","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628066":["hashtag1","hashtag2"]},{"1330628138":["hashtag1","hashtag2"]},{"1330628161":["hashtag1","hashtag2"]},{"1330628070":["hashtag1","hashtag2"]},{"1330628073":["hashtag1","hashtag2"]},{"1330628133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628066, 1330628138, 1330628161, 1330628070, 1330628073, 1330628133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.702958822250366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:08:42.666839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/08/image_22012025_17_08_54_6324.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_48_6766.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_41_6461.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_34_5243.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_29_6620.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_23_5294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/08/image_22012025_17_08_54_6324.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_48_6766.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_41_6461.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_34_5243.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_29_6620.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_23_5294.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628207","1330628203","1330628211","1330628205","1330628214","1330628198"],"photo_ids_order":["1330628198","1330628203","1330628205","1330628207","1330628211","1330628214"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b22b0e5e2b758aaa0770e67aebb2b87.jpg","text":"TemporaryFile(/tmp/multipartBody3535575790436876328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_34_5243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc815e1b43ede99013f935726c419095.jpg","text":"TemporaryFile(/tmp/multipartBody1447969306300581314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_48_6766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81d08a77bc676210d632152fe3231843.jpg","text":"TemporaryFile(/tmp/multipartBody5321545146093682413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_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/22/c646ef466eec2e55f117497c859f51ee.jpg","text":"TemporaryFile(/tmp/multipartBody7592536479352789485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_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/22/7c4c7d539ec1a8f31e66169484b8ed41.jpg","text":"TemporaryFile(/tmp/multipartBody6984590874162429249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_23_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/22/f3d3cb7b201b15f8b3e8ead0730a9588.jpg","text":"TemporaryFile(/tmp/multipartBody8287638609160218009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562209184,"filename":"image_22012025_17_08_54_6324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628205","file1":"1330628203","file0":"1330628198","file4":"1330628211","file5":"1330628214","file3":"1330628207"},"map_files_photo_id_array":[{"photo_id":"1330628214","filename":"file5"},{"photo_id":"1330628205","filename":"file2"},{"photo_id":"1330628211","filename":"file4"},{"photo_id":"1330628203","filename":"file1"},{"photo_id":"1330628198","filename":"file0"},{"photo_id":"1330628207","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628207":["hashtag1","hashtag2"]},{"1330628203":["hashtag1","hashtag2"]},{"1330628211":["hashtag1","hashtag2"]},{"1330628205":["hashtag1","hashtag2"]},{"1330628214":["hashtag1","hashtag2"]},{"1330628198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628207, 1330628203, 1330628211, 1330628205, 1330628214, 1330628198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.569908618927 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-22 17:10:03.664640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/09/image_22012025_17_09_54_5653.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_48_6684.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_41_6596.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_35_5290.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_29_6313.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_23_6513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/09/image_22012025_17_09_54_5653.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_48_6684.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_41_6596.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_35_5290.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_29_6313.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_23_6513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628327","1330628321","1330628339","1330628323","1330628316","1330628304"],"photo_ids_order":["1330628304","1330628316","1330628321","1330628323","1330628327","1330628339"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/334dcc7a891218147b9df58a8f722105.jpg","text":"TemporaryFile(/tmp/multipartBody3577016908715113152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_29_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/22/9ec7356e52674fd0e65322e784588ada.jpg","text":"TemporaryFile(/tmp/multipartBody8647824553246029016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_41_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/22/1abdad39d390319f47b2ee93e25943cd.jpg","text":"TemporaryFile(/tmp/multipartBody5297568390322301671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_23_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/22/7715d9013c703f2216259e6ba6394b55.jpg","text":"TemporaryFile(/tmp/multipartBody8443560901166254043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_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/22/8743a924498dc44b59adc792d8406c4e.jpg","text":"TemporaryFile(/tmp/multipartBody6495672856305965982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_48_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6fba0cfa5e8a891a500b2b545cdf3366.jpg","text":"TemporaryFile(/tmp/multipartBody4036464329238499932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562283886,"filename":"image_22012025_17_09_54_5653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628321","file1":"1330628316","file0":"1330628304","file4":"1330628327","file5":"1330628339","file3":"1330628323"},"map_files_photo_id_array":[{"photo_id":"1330628339","filename":"file5"},{"photo_id":"1330628321","filename":"file2"},{"photo_id":"1330628327","filename":"file4"},{"photo_id":"1330628316","filename":"file1"},{"photo_id":"1330628304","filename":"file0"},{"photo_id":"1330628323","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628327":["hashtag1","hashtag2"]},{"1330628321":["hashtag1","hashtag2"]},{"1330628339":["hashtag1","hashtag2"]},{"1330628323":["hashtag1","hashtag2"]},{"1330628316":["hashtag1","hashtag2"]},{"1330628304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628327, 1330628321, 1330628339, 1330628323, 1330628316, 1330628304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.991764545440674 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:11:04.610165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/10/image_22012025_17_10_52_5366.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_47_6562.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_40_5249.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_35_6500.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_29_5253.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_23_6946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/10/image_22012025_17_10_52_5366.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_47_6562.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_40_5249.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_35_6500.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_29_5253.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_23_6946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628384","1330628378","1330628375","1330628392","1330628388","1330628382"],"photo_ids_order":["1330628375","1330628378","1330628382","1330628384","1330628388","1330628392"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35890be7a73b36991506cd07931f0f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1679529201320886936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_35_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/22/97c599ff8daaeecff9acad2df906ed67.jpg","text":"TemporaryFile(/tmp/multipartBody7441022690599285583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_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/22/c8a42cdf419405a498a277096085dcae.jpg","text":"TemporaryFile(/tmp/multipartBody7618954231351053051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_52_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/22/320d623f00fe42ec11e6b8e453dddd51.jpg","text":"TemporaryFile(/tmp/multipartBody2536641648288970073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_23_6946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f41c371009fe46c422c8c6dcd7c890b8.jpg","text":"TemporaryFile(/tmp/multipartBody6560626276746666303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_29_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/22/f908456f25d93516601172fa37b44420.jpg","text":"TemporaryFile(/tmp/multipartBody220378006197933364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562357083,"filename":"image_22012025_17_10_40_5249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628382","file1":"1330628378","file0":"1330628375","file4":"1330628388","file5":"1330628392","file3":"1330628384"},"map_files_photo_id_array":[{"photo_id":"1330628392","filename":"file5"},{"photo_id":"1330628382","filename":"file2"},{"photo_id":"1330628388","filename":"file4"},{"photo_id":"1330628378","filename":"file1"},{"photo_id":"1330628375","filename":"file0"},{"photo_id":"1330628384","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628384":["hashtag1","hashtag2"]},{"1330628378":["hashtag1","hashtag2"]},{"1330628375":["hashtag1","hashtag2"]},{"1330628392":["hashtag1","hashtag2"]},{"1330628388":["hashtag1","hashtag2"]},{"1330628382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628384, 1330628378, 1330628375, 1330628392, 1330628388, 1330628382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.37779378890991 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:12:22.593517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/12/image_22012025_17_12_53_6528.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_47_5340.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_41_6580.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_35_5791.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_29_6321.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_23_4893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/12/image_22012025_17_12_53_6528.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_47_5340.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_41_6580.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_35_5791.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_29_6321.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_23_4893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628425","1330628419","1330628428","1330628421","1330628415","1330628412"],"photo_ids_order":["1330628412","1330628415","1330628419","1330628421","1330628425","1330628428"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce444296756332c9747c86c78bbe1cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1623037408938332432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_29_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/22/762673903156adfde951522da493d96d.jpg","text":"TemporaryFile(/tmp/multipartBody7926027468309523932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_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/22/d69144e12e86e5a28d0d162de896bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody6995153354578292746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_23_4893.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/10d657e6fc6210c0e7372270877ddce0.jpg","text":"TemporaryFile(/tmp/multipartBody3566308427882305605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_35_5791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2bfbcec4e3485852d3a7ea01f6a0ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody6485620689995495980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_47_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/22/cdf532b1a7b52525586a006e035cb8da.jpg","text":"TemporaryFile(/tmp/multipartBody8320231905968170064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562411897,"filename":"image_22012025_17_12_53_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628419","file1":"1330628415","file0":"1330628412","file4":"1330628425","file5":"1330628428","file3":"1330628421"},"map_files_photo_id_array":[{"photo_id":"1330628428","filename":"file5"},{"photo_id":"1330628419","filename":"file2"},{"photo_id":"1330628425","filename":"file4"},{"photo_id":"1330628415","filename":"file1"},{"photo_id":"1330628412","filename":"file0"},{"photo_id":"1330628421","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628425":["hashtag1","hashtag2"]},{"1330628419":["hashtag1","hashtag2"]},{"1330628428":["hashtag1","hashtag2"]},{"1330628421":["hashtag1","hashtag2"]},{"1330628415":["hashtag1","hashtag2"]},{"1330628412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628425, 1330628419, 1330628428, 1330628421, 1330628415, 1330628412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.552316427230835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:13:22.627054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/13/image_22012025_17_13_53_6524.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_47_6493.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_40_5302.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_35_6091.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_29_5917.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_23_6627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/13/image_22012025_17_13_53_6524.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_47_6493.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_40_5302.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_35_6091.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_29_5917.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_23_6627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628660","1330628657","1330628665","1330628677","1330628673","1330628667"],"photo_ids_order":["1330628657","1330628660","1330628665","1330628667","1330628673","1330628677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2e4c69c80f4cf12c9ceebf55f8b4c52.jpg","text":"TemporaryFile(/tmp/multipartBody7676271209486532163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_47_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/22/4133bc67344e3dabc21ae6c960556494.jpg","text":"TemporaryFile(/tmp/multipartBody8293220034570198385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_53_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/22/587b372f392be0aef0c5d3fa133ad9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2613406417812637533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_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/22/805ee5974f538aaa09cc3838f4d62b64.jpg","text":"TemporaryFile(/tmp/multipartBody9120348161244430184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_23_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/22/d9d75fe884e4aa505179f0b99be6570a.jpg","text":"TemporaryFile(/tmp/multipartBody1600365383422544822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_29_5917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb95b898adc1c270c6d2ac31ce142930.jpg","text":"TemporaryFile(/tmp/multipartBody423374445768120865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562472214,"filename":"image_22012025_17_13_35_6091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628665","file1":"1330628660","file0":"1330628657","file4":"1330628673","file5":"1330628677","file3":"1330628667"},"map_files_photo_id_array":[{"photo_id":"1330628677","filename":"file5"},{"photo_id":"1330628665","filename":"file2"},{"photo_id":"1330628673","filename":"file4"},{"photo_id":"1330628660","filename":"file1"},{"photo_id":"1330628657","filename":"file0"},{"photo_id":"1330628667","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628660":["hashtag1","hashtag2"]},{"1330628657":["hashtag1","hashtag2"]},{"1330628665":["hashtag1","hashtag2"]},{"1330628677":["hashtag1","hashtag2"]},{"1330628673":["hashtag1","hashtag2"]},{"1330628667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628660, 1330628657, 1330628665, 1330628677, 1330628673, 1330628667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18670654296875 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:14:22.766646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/14/image_22012025_17_14_53_5323.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_47_6486.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_41_5275.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_35_6214.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_30_6851.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_22_5270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/14/image_22012025_17_14_53_5323.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_47_6486.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_41_5275.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_35_6214.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_30_6851.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_22_5270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628720","1330628728","1330628716","1330628713","1330628709","1330628724"],"photo_ids_order":["1330628709","1330628713","1330628716","1330628720","1330628724","1330628728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fcfcae8e0f371d7e4cc647e82b1294b5.jpg","text":"TemporaryFile(/tmp/multipartBody139557045848630026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_35_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/22/f9997571a46381938c545ab7e62ebcc0.jpg","text":"TemporaryFile(/tmp/multipartBody1615938824603145314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_22_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/22/2d9d950048f54785538c1df80844c568.jpg","text":"TemporaryFile(/tmp/multipartBody6608542709152871501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_41_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/22/79c973b3db6dd26f3f13d1f6e73ba929.jpg","text":"TemporaryFile(/tmp/multipartBody7632466560157225837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_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/22/3c7d09c0114dcee29994ed46ba6f2bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2410224462684893265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_53_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/22/22d560c0ad7a755dddb00a59ea149d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7297946183896188601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562533691,"filename":"image_22012025_17_14_30_6851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628716","file1":"1330628713","file0":"1330628709","file4":"1330628724","file5":"1330628728","file3":"1330628720"},"map_files_photo_id_array":[{"photo_id":"1330628728","filename":"file5"},{"photo_id":"1330628716","filename":"file2"},{"photo_id":"1330628724","filename":"file4"},{"photo_id":"1330628713","filename":"file1"},{"photo_id":"1330628709","filename":"file0"},{"photo_id":"1330628720","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628720":["hashtag1","hashtag2"]},{"1330628728":["hashtag1","hashtag2"]},{"1330628716":["hashtag1","hashtag2"]},{"1330628713":["hashtag1","hashtag2"]},{"1330628709":["hashtag1","hashtag2"]},{"1330628724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628720, 1330628728, 1330628716, 1330628713, 1330628709, 1330628724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.562665700912476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:15:22.115575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/15/image_22012025_17_15_53_6533.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_47_5277.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_41_6577.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_35_6093.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_29_5442.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_23_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/15/image_22012025_17_15_53_6533.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_47_5277.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_41_6577.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_35_6093.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_29_5442.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_23_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":["1330628831","1330628809","1330628812","1330628806","1330628823","1330628817"],"photo_ids_order":["1330628806","1330628809","1330628812","1330628817","1330628823","1330628831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/99f80c75b074cfe9b1a34256b6f6c22d.jpg","text":"TemporaryFile(/tmp/multipartBody2326256030515274027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_23_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/22/e0d64858f55419dd1bf96fd3c0ecb435.jpg","text":"TemporaryFile(/tmp/multipartBody3162908619635028690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_47_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/22/c5ebdcf9aceeb64aa08cb136b5707703.jpg","text":"TemporaryFile(/tmp/multipartBody7690078258085319620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_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/22/9e2977c513923402734dbc5b4e0b936f.jpg","text":"TemporaryFile(/tmp/multipartBody4898643156773401775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_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/22/6bd1f7a6014e47a9de400f7c3dcaa59e.jpg","text":"TemporaryFile(/tmp/multipartBody4848121057104284349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_29_5442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b401f8e1dd4331828c746d8531ec5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2672529965666650565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562613215,"filename":"image_22012025_17_15_35_6093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628812","file1":"1330628809","file0":"1330628806","file4":"1330628823","file5":"1330628831","file3":"1330628817"},"map_files_photo_id_array":[{"photo_id":"1330628831","filename":"file5"},{"photo_id":"1330628812","filename":"file2"},{"photo_id":"1330628823","filename":"file4"},{"photo_id":"1330628809","filename":"file1"},{"photo_id":"1330628806","filename":"file0"},{"photo_id":"1330628817","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628831":["hashtag1","hashtag2"]},{"1330628809":["hashtag1","hashtag2"]},{"1330628812":["hashtag1","hashtag2"]},{"1330628806":["hashtag1","hashtag2"]},{"1330628823":["hashtag1","hashtag2"]},{"1330628817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628831, 1330628809, 1330628812, 1330628806, 1330628823, 1330628817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.82563281059265 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:16:42.534221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/16/image_22012025_17_16_53_6363.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_47_6128.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_41_5928.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_35_6407.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_29_5758.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_23_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/16/image_22012025_17_16_53_6363.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_47_6128.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_41_5928.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_35_6407.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_29_5758.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_23_5342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330628894","1330628921","1330628892","1330628889","1330628922","1330628885"],"photo_ids_order":["1330628885","1330628889","1330628892","1330628894","1330628921","1330628922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02d64e188f6f39e326091f92854218d1.jpg","text":"TemporaryFile(/tmp/multipartBody4523356707372133647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_35_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/22/ec15fc829d612437a99f87d2fc3aa02b.jpg","text":"TemporaryFile(/tmp/multipartBody3061019046322604003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_29_5758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/482996448ae3928b9b9df8088dc52b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5177934011342115293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_41_5928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e4aa55dd463d8018e4cfe01e6cb1c8c8.jpg","text":"TemporaryFile(/tmp/multipartBody1892570311998594091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_47_6128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e8b8763c7b29e16dbba9b22af8e8ae38.jpg","text":"TemporaryFile(/tmp/multipartBody1959432995820241158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_23_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/22/144aba5536f2f7c06386e1a70e026412.jpg","text":"TemporaryFile(/tmp/multipartBody869379901454273273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562678576,"filename":"image_22012025_17_16_53_6363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628892","file1":"1330628889","file0":"1330628885","file4":"1330628921","file5":"1330628922","file3":"1330628894"},"map_files_photo_id_array":[{"photo_id":"1330628922","filename":"file5"},{"photo_id":"1330628892","filename":"file2"},{"photo_id":"1330628921","filename":"file4"},{"photo_id":"1330628889","filename":"file1"},{"photo_id":"1330628885","filename":"file0"},{"photo_id":"1330628894","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628894":["hashtag1","hashtag2"]},{"1330628921":["hashtag1","hashtag2"]},{"1330628892":["hashtag1","hashtag2"]},{"1330628889":["hashtag1","hashtag2"]},{"1330628922":["hashtag1","hashtag2"]},{"1330628885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628894, 1330628921, 1330628892, 1330628889, 1330628922, 1330628885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.509737730026245 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:17:42.746180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/17/image_22012025_17_17_53_6875.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_46_5297.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_41_6452.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_35_5284.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_29_6473.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_23_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/17/image_22012025_17_17_53_6875.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_46_5297.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_41_6452.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_35_5284.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_29_6473.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_23_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":["1330628993","1330628998","1330628991","1330629003","1330629000","1330628996"],"photo_ids_order":["1330628991","1330628993","1330628996","1330628998","1330629000","1330629003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/426e8f3f8614d43748a756c03fff9ead.jpg","text":"TemporaryFile(/tmp/multipartBody96800991918765765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_46_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/22/59b45ce31942801d2d2a91d23b273d77.jpg","text":"TemporaryFile(/tmp/multipartBody838212413994864633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_35_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/22/6ed5694fb0855ea33c2d1d59fd7170d3.jpg","text":"TemporaryFile(/tmp/multipartBody9020356808752286908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_53_6875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0814a77fd76764673d9dc5dc2000a8d6.jpg","text":"TemporaryFile(/tmp/multipartBody342751143332254481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_23_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/22/ba94573d73f90e7c8311f675d800aa9a.jpg","text":"TemporaryFile(/tmp/multipartBody166070894502892263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_29_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/22/374744f1413a26efe17c1f225cf32f43.jpg","text":"TemporaryFile(/tmp/multipartBody5639069152545128911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562742332,"filename":"image_22012025_17_17_41_6452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330628996","file1":"1330628993","file0":"1330628991","file4":"1330629000","file5":"1330629003","file3":"1330628998"},"map_files_photo_id_array":[{"photo_id":"1330629003","filename":"file5"},{"photo_id":"1330628996","filename":"file2"},{"photo_id":"1330629000","filename":"file4"},{"photo_id":"1330628993","filename":"file1"},{"photo_id":"1330628991","filename":"file0"},{"photo_id":"1330628998","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330628993":["hashtag1","hashtag2"]},{"1330628998":["hashtag1","hashtag2"]},{"1330628991":["hashtag1","hashtag2"]},{"1330629003":["hashtag1","hashtag2"]},{"1330629000":["hashtag1","hashtag2"]},{"1330628996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330628993, 1330628998, 1330628991, 1330629003, 1330629000, 1330628996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.334771156311035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:18:42.919843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/18/image_22012025_17_18_53_6234.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_47_5181.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_41_6451.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_35_6498.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_29_5274.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_23_6539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/18/image_22012025_17_18_53_6234.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_47_5181.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_41_6451.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_35_6498.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_29_5274.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_23_6539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330629041","1330629044","1330629040","1330629034","1330629037","1330629042"],"photo_ids_order":["1330629034","1330629037","1330629040","1330629041","1330629042","1330629044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/900dae7f6c2c226e77be6ef7398d7c60.jpg","text":"TemporaryFile(/tmp/multipartBody6097518819394483481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_35_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/22/11bf596bfef01ead680d70dfcd6d2c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1857251270489549115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_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/22/34f446e220cb6f6060ddec00edbf1080.jpg","text":"TemporaryFile(/tmp/multipartBody4323970741749761337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_41_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/22/341e2ac3135ad80d284ac4239ddd3185.jpg","text":"TemporaryFile(/tmp/multipartBody6052521747267069857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_53_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/22/e46f05af56ee09eb8fd524eaf0ac3fab.jpg","text":"TemporaryFile(/tmp/multipartBody2805325903694138124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_47_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/22/edcd265f74c971be398933aa6939f27b.jpg","text":"TemporaryFile(/tmp/multipartBody3990931225437023431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562800798,"filename":"image_22012025_17_18_29_5274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629040","file1":"1330629037","file0":"1330629034","file4":"1330629042","file5":"1330629044","file3":"1330629041"},"map_files_photo_id_array":[{"photo_id":"1330629044","filename":"file5"},{"photo_id":"1330629040","filename":"file2"},{"photo_id":"1330629042","filename":"file4"},{"photo_id":"1330629037","filename":"file1"},{"photo_id":"1330629034","filename":"file0"},{"photo_id":"1330629041","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629041":["hashtag1","hashtag2"]},{"1330629044":["hashtag1","hashtag2"]},{"1330629040":["hashtag1","hashtag2"]},{"1330629034":["hashtag1","hashtag2"]},{"1330629037":["hashtag1","hashtag2"]},{"1330629042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629041, 1330629044, 1330629040, 1330629034, 1330629037, 1330629042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44202709197998 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:19:42.298556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/19/image_22012025_17_19_53_5970.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_47_5538.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_41_6519.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_35_6521.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_28_5290.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_23_6508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/19/image_22012025_17_19_53_5970.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_47_5538.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_41_6519.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_35_6521.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_28_5290.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_23_6508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330629079","1330629090","1330629087","1330629075","1330629102","1330629083"],"photo_ids_order":["1330629075","1330629079","1330629083","1330629087","1330629090","1330629102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7713819e8354b4f06522b2c5025a1e55.jpg","text":"TemporaryFile(/tmp/multipartBody4684170523018485517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_47_5538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/735840308a6d4d8aaed9250c7e9c5644.jpg","text":"TemporaryFile(/tmp/multipartBody8499364001431826533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_28_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/22/556dbd3d0b98d80ed63faa94af23a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody1257855916118244709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_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/22/6b1bd9da9bf21dc1afb6f7a38a33f047.jpg","text":"TemporaryFile(/tmp/multipartBody3357486792728204515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_53_5970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e645fd7819e054d11026d410e1a193ab.jpg","text":"TemporaryFile(/tmp/multipartBody4457029752177261363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_23_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/22/69f31c0f5eb730c7cec81fcc64c87618.jpg","text":"TemporaryFile(/tmp/multipartBody9072893222272872351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562870852,"filename":"image_22012025_17_19_41_6519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629083","file1":"1330629079","file0":"1330629075","file4":"1330629090","file5":"1330629102","file3":"1330629087"},"map_files_photo_id_array":[{"photo_id":"1330629102","filename":"file5"},{"photo_id":"1330629083","filename":"file2"},{"photo_id":"1330629090","filename":"file4"},{"photo_id":"1330629079","filename":"file1"},{"photo_id":"1330629075","filename":"file0"},{"photo_id":"1330629087","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629079":["hashtag1","hashtag2"]},{"1330629090":["hashtag1","hashtag2"]},{"1330629087":["hashtag1","hashtag2"]},{"1330629075":["hashtag1","hashtag2"]},{"1330629102":["hashtag1","hashtag2"]},{"1330629083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629079, 1330629090, 1330629087, 1330629075, 1330629102, 1330629083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.92371082305908 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:21:04.486763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/20/image_22012025_17_20_54_7553.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_47_5057.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_41_6472.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_35_6519.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_28_5302.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_23_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/20/image_22012025_17_20_54_7553.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_47_5057.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_41_6472.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_35_6519.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_28_5302.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_23_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":["1330629149","1330629136","1330629145","1330629133","1330629141","1330629138"],"photo_ids_order":["1330629133","1330629136","1330629138","1330629141","1330629145","1330629149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5261cdd11cdf23b37aafb59e0365dd34.jpg","text":"TemporaryFile(/tmp/multipartBody2246230373993060361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_23_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/22/6980f849bfb43c22f3eeb2b167bc658b.jpg","text":"TemporaryFile(/tmp/multipartBody2446330550907860476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_47_5057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de60253a4b18a38e8957b88cad349d57.jpg","text":"TemporaryFile(/tmp/multipartBody213279314809896452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_28_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/22/49cb9f3987e8d5d0a46625e663c0aad7.jpg","text":"TemporaryFile(/tmp/multipartBody2509658066272804601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_54_7553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0bce08501e029f1d59bd92bcc65ee4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5704267617577700401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_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/22/30ca59639b30ee8b17af0292b2ae162e.jpg","text":"TemporaryFile(/tmp/multipartBody9222009844001626689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562944737,"filename":"image_22012025_17_20_41_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629138","file1":"1330629136","file0":"1330629133","file4":"1330629145","file5":"1330629149","file3":"1330629141"},"map_files_photo_id_array":[{"photo_id":"1330629149","filename":"file5"},{"photo_id":"1330629138","filename":"file2"},{"photo_id":"1330629145","filename":"file4"},{"photo_id":"1330629136","filename":"file1"},{"photo_id":"1330629133","filename":"file0"},{"photo_id":"1330629141","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629149":["hashtag1","hashtag2"]},{"1330629136":["hashtag1","hashtag2"]},{"1330629145":["hashtag1","hashtag2"]},{"1330629133":["hashtag1","hashtag2"]},{"1330629141":["hashtag1","hashtag2"]},{"1330629138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629149, 1330629136, 1330629145, 1330629133, 1330629141, 1330629138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.60177659988403 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:22:04.276159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/21/image_22012025_17_21_53_5296.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_47_6500.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_41_6419.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_35_5245.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_29_6495.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_23_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/21/image_22012025_17_21_53_5296.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_47_6500.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_41_6419.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_35_5245.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_29_6495.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_23_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":["1330629172","1330629163","1330629174","1330629170","1330629173","1330629167"],"photo_ids_order":["1330629163","1330629167","1330629170","1330629172","1330629173","1330629174"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5f26a627aca54f323ee98b90086ae2fa.jpg","text":"TemporaryFile(/tmp/multipartBody5352723049662357129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_35_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/22/d2ab259a3cf864e807b0191e138e6159.jpg","text":"TemporaryFile(/tmp/multipartBody7642283600977554608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_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/22/b706c9bbe9b224b5821b26353aca9540.jpg","text":"TemporaryFile(/tmp/multipartBody6208865408416380728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_23_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/22/dc56ff354fa6ebe487970cc19e6feaaa.jpg","text":"TemporaryFile(/tmp/multipartBody7857048271230042552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_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/22/7973dd3a1a2a08afc987bb7d0bcdf116.jpg","text":"TemporaryFile(/tmp/multipartBody5534205318289282834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_29_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/22/e9ce62c856f9221917cdf1d394bbef97.jpg","text":"TemporaryFile(/tmp/multipartBody1054870226735001259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737562993717,"filename":"image_22012025_17_21_47_6500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629170","file1":"1330629167","file0":"1330629163","file4":"1330629173","file5":"1330629174","file3":"1330629172"},"map_files_photo_id_array":[{"photo_id":"1330629174","filename":"file5"},{"photo_id":"1330629170","filename":"file2"},{"photo_id":"1330629173","filename":"file4"},{"photo_id":"1330629167","filename":"file1"},{"photo_id":"1330629163","filename":"file0"},{"photo_id":"1330629172","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629172":["hashtag1","hashtag2"]},{"1330629163":["hashtag1","hashtag2"]},{"1330629174":["hashtag1","hashtag2"]},{"1330629170":["hashtag1","hashtag2"]},{"1330629173":["hashtag1","hashtag2"]},{"1330629167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629172, 1330629163, 1330629174, 1330629170, 1330629173, 1330629167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94003915786743 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:23:04.699754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/22/image_22012025_17_22_53_6518.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_47_5298.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_41_6506.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_35_6502.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_28_4737.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_24_6503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/22/image_22012025_17_22_53_6518.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_47_5298.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_41_6506.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_35_6502.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_28_4737.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_24_6503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330629221","1330629209","1330629217","1330629216","1330629225","1330629219"],"photo_ids_order":["1330629209","1330629216","1330629217","1330629219","1330629221","1330629225"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25c8fe926a4e52dc339841cfa46fdd8b.jpg","text":"TemporaryFile(/tmp/multipartBody377888676701325442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_28_4737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c76fe181b90eec3595130eb37162204b.jpg","text":"TemporaryFile(/tmp/multipartBody3822534838635342636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_53_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/22/3858272ca9558e80732c37c7925ca0dc.jpg","text":"TemporaryFile(/tmp/multipartBody1533598942299793618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_41_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/22/5c665e39896765d090b17ecd5a507792.jpg","text":"TemporaryFile(/tmp/multipartBody1876816589545350380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_47_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/22/c58eacadcb3f93952dffb686113630ed.jpg","text":"TemporaryFile(/tmp/multipartBody7325224557514463441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_24_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/22/5fab0b6fa724868498fdd6e301926f14.jpg","text":"TemporaryFile(/tmp/multipartBody7259461616159878082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563054188,"filename":"image_22012025_17_22_35_6502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629217","file1":"1330629216","file0":"1330629209","file4":"1330629221","file5":"1330629225","file3":"1330629219"},"map_files_photo_id_array":[{"photo_id":"1330629225","filename":"file5"},{"photo_id":"1330629217","filename":"file2"},{"photo_id":"1330629221","filename":"file4"},{"photo_id":"1330629216","filename":"file1"},{"photo_id":"1330629209","filename":"file0"},{"photo_id":"1330629219","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629221":["hashtag1","hashtag2"]},{"1330629209":["hashtag1","hashtag2"]},{"1330629217":["hashtag1","hashtag2"]},{"1330629216":["hashtag1","hashtag2"]},{"1330629225":["hashtag1","hashtag2"]},{"1330629219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629221, 1330629209, 1330629217, 1330629216, 1330629225, 1330629219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59952926635742 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 17:24:05.254378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/23/image_22012025_17_23_53_5323.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_47_6595.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_41_6508.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_34_5295.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_29_6519.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_23_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/23/image_22012025_17_23_53_5323.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_47_6595.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_41_6508.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_34_5295.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_29_6519.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_23_5335.jpg
2025-01-22 17:24:05.252974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/23/image_22012025_17_23_53_5323.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_47_6595.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_41_6508.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_34_5295.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_29_6519.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_23_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/23/image_22012025_17_23_53_5323.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_47_6595.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_41_6508.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_34_5295.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_29_6519.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_23_5335.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":["1330629262","1330629265","1330629381","1330629273","1330629258","1330629269"],"photo_ids_order":["1330629258","1330629262","1330629265","1330629269","1330629273","1330629381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81a35af6dc6163b416c7f8340038da24.jpg","text":"TemporaryFile(/tmp/multipartBody2744067350079123496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_47_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/22/5937ca1c5bac68fc3a59bd2c070b88e6.jpg","text":"TemporaryFile(/tmp/multipartBody6746016092366093366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_41_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/22/070c969f93d8981f86876c133bb4dd33.jpg","text":"TemporaryFile(/tmp/multipartBody2685146226924467149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_23_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/22/8288e8eccb60506ec7a1f524119136bc.jpg","text":"TemporaryFile(/tmp/multipartBody6659815443193929475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_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/22/2f3cbc8db8c3bee311aaac20df32eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4260219500857749196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_53_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/22/689653a974cb88b597a4309a23ed994e.jpg","text":"TemporaryFile(/tmp/multipartBody5662248168285874110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121349,"filename":"image_22012025_17_23_34_5295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629265","file1":"1330629262","file0":"1330629258","file4":"1330629273","file5":"1330629381","file3":"1330629269"},"map_files_photo_id_array":[{"photo_id":"1330629381","filename":"file5"},{"photo_id":"1330629265","filename":"file2"},{"photo_id":"1330629273","filename":"file4"},{"photo_id":"1330629262","filename":"file1"},{"photo_id":"1330629258","filename":"file0"},{"photo_id":"1330629269","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629262":["hashtag1","hashtag2"]},{"1330629265":["hashtag1","hashtag2"]},{"1330629381":["hashtag1","hashtag2"]},{"1330629273":["hashtag1","hashtag2"]},{"1330629258":["hashtag1","hashtag2"]},{"1330629269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629262, 1330629265, 1330629381, 1330629273, 1330629258, 1330629269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.43619632720947 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330629259","1330629270","1330629453","1330629275","1330629263","1330629266"],"photo_ids_order":["1330629259","1330629263","1330629266","1330629270","1330629275","1330629453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83d1b5cb98911608e30d8f13891e3256.jpg","text":"TemporaryFile(/tmp/multipartBody9126398710701211787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_53_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/22/06faf6edcdc9d4c6e819c075fa74ee5f.jpg","text":"TemporaryFile(/tmp/multipartBody3227381299652266737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_34_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/22/c0e7e0ba047f3abde792ac47b2b70485.jpg","text":"TemporaryFile(/tmp/multipartBody8952061452552071004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_23_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/22/49139eddf0f99c9094efc139e95b8884.jpg","text":"TemporaryFile(/tmp/multipartBody2249177456261585555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_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/22/87ad321743ebb5c07811072e6c2d183a.jpg","text":"TemporaryFile(/tmp/multipartBody2884371850004247264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_47_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/22/67423aa77f6e40d4ec4fee2c2c948d74.jpg","text":"TemporaryFile(/tmp/multipartBody2448872687517705305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563121107,"filename":"image_22012025_17_23_41_6508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330629266","file1":"1330629263","file0":"1330629259","file4":"1330629275","file5":"1330629453","file3":"1330629270"},"map_files_photo_id_array":[{"photo_id":"1330629453","filename":"file5"},{"photo_id":"1330629266","filename":"file2"},{"photo_id":"1330629275","filename":"file4"},{"photo_id":"1330629263","filename":"file1"},{"photo_id":"1330629259","filename":"file0"},{"photo_id":"1330629270","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330629259":["hashtag1","hashtag2"]},{"1330629270":["hashtag1","hashtag2"]},{"1330629453":["hashtag1","hashtag2"]},{"1330629275":["hashtag1","hashtag2"]},{"1330629263":["hashtag1","hashtag2"]},{"1330629266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330629259, 1330629270, 1330629453, 1330629275, 1330629263, 1330629266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.64705967903137 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:25:03.829275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/24/image_22012025_17_24_53_6512.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_46_5317.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_41_6463.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_35_5201.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_29_6475.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_23_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/24/image_22012025_17_24_53_6512.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_46_5317.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_41_6463.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_35_5201.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_29_6475.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_23_5335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330630267","1330630249","1330630240","1330630272","1330630245","1330630269"],"photo_ids_order":["1330630240","1330630245","1330630249","1330630267","1330630269","1330630272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c6509d6db5c586f007af10fa7ded59ed.jpg","text":"TemporaryFile(/tmp/multipartBody8939359911555903421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_35_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/22/89431f66ca6cc584b7bfbb8522ccb25c.jpg","text":"TemporaryFile(/tmp/multipartBody6747387074796237671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_41_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/22/8b94a98c388f594c41adfeb7db7687da.jpg","text":"TemporaryFile(/tmp/multipartBody3271386015924149290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_53_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/22/80d213a487f5f192f4440776bedff3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2339770750460957415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_23_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/22/332a26bdd8681a7c42ff98d86aa9e9be.jpg","text":"TemporaryFile(/tmp/multipartBody586800170512010850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_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/22/46798aa321051bcc6428918472f12841.jpg","text":"TemporaryFile(/tmp/multipartBody5820958810790310541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563178377,"filename":"image_22012025_17_24_29_6475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330630249","file1":"1330630245","file0":"1330630240","file4":"1330630269","file5":"1330630272","file3":"1330630267"},"map_files_photo_id_array":[{"photo_id":"1330630272","filename":"file5"},{"photo_id":"1330630249","filename":"file2"},{"photo_id":"1330630269","filename":"file4"},{"photo_id":"1330630245","filename":"file1"},{"photo_id":"1330630240","filename":"file0"},{"photo_id":"1330630267","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330630267":["hashtag1","hashtag2"]},{"1330630249":["hashtag1","hashtag2"]},{"1330630240":["hashtag1","hashtag2"]},{"1330630272":["hashtag1","hashtag2"]},{"1330630245":["hashtag1","hashtag2"]},{"1330630269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330630267, 1330630249, 1330630240, 1330630272, 1330630245, 1330630269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.22093415260315 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:26:04.005949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/25/image_22012025_17_25_53_5282.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_47_6503.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_41_6526.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_34_5249.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_29_6541.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_23_5723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/25/image_22012025_17_25_53_5282.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_47_6503.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_41_6526.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_34_5249.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_29_6541.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_23_5723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330630322","1330630346","1330630310","1330630606","1330630342","1330630708"],"photo_ids_order":["1330630310","1330630322","1330630342","1330630346","1330630606","1330630708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4520bd5b86ef050c149c04ca35033cf5.jpg","text":"TemporaryFile(/tmp/multipartBody1315686314249808454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_47_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/22/289d96176280de009279d39125be07b9.jpg","text":"TemporaryFile(/tmp/multipartBody8490002717908254804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_34_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/22/200698f400a8fbf93c254069c23f694a.jpg","text":"TemporaryFile(/tmp/multipartBody2069379152505584781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_53_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/22/39954cf151d96a362fb182e0f2b95303.jpg","text":"TemporaryFile(/tmp/multipartBody3637287221604479454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_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/22/544b31e9720fbd200a7a157d85fb6c65.jpg","text":"TemporaryFile(/tmp/multipartBody8680333157638249806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_41_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/22/2b9fcd5eb5902dd01a06c9129cfc7128.jpg","text":"TemporaryFile(/tmp/multipartBody4639200006613499236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563238589,"filename":"image_22012025_17_25_23_5723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330630342","file1":"1330630322","file0":"1330630310","file4":"1330630606","file5":"1330630708","file3":"1330630346"},"map_files_photo_id_array":[{"photo_id":"1330630708","filename":"file5"},{"photo_id":"1330630342","filename":"file2"},{"photo_id":"1330630606","filename":"file4"},{"photo_id":"1330630322","filename":"file1"},{"photo_id":"1330630310","filename":"file0"},{"photo_id":"1330630346","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330630322":["hashtag1","hashtag2"]},{"1330630346":["hashtag1","hashtag2"]},{"1330630310":["hashtag1","hashtag2"]},{"1330630606":["hashtag1","hashtag2"]},{"1330630342":["hashtag1","hashtag2"]},{"1330630708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330630322, 1330630346, 1330630310, 1330630606, 1330630342, 1330630708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.5410635471344 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:27:04.483590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/26/image_22012025_17_26_53_6527.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_47_5288.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_41_6483.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_35_6487.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_28_5299.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_23_6096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/26/image_22012025_17_26_53_6527.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_47_5288.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_41_6483.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_35_6487.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_28_5299.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_23_6096.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330630862","1330630865","1330630850","1330630853","1330630860","1330630857"],"photo_ids_order":["1330630850","1330630853","1330630857","1330630860","1330630862","1330630865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b12e98a050a22101dd36100381239662.jpg","text":"TemporaryFile(/tmp/multipartBody7513115645407682011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_28_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/22/151720fa5767dba6e92790baf84811bf.jpg","text":"TemporaryFile(/tmp/multipartBody5691636823700585006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_23_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9abe2c135fbd65bed0ec18be9c8cb342.jpg","text":"TemporaryFile(/tmp/multipartBody5034831104389533771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_53_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/22/03fe103781352b6ee38d65e668541575.jpg","text":"TemporaryFile(/tmp/multipartBody2827070167225200568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_47_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/22/e894a35db42b648f783a1cec4a42fb4d.jpg","text":"TemporaryFile(/tmp/multipartBody7035969614495083601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_35_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/22/dc2e741c68776e2485081f3bd2eb019d.jpg","text":"TemporaryFile(/tmp/multipartBody2621749996016528012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563295429,"filename":"image_22012025_17_26_41_6483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330630857","file1":"1330630853","file0":"1330630850","file4":"1330630862","file5":"1330630865","file3":"1330630860"},"map_files_photo_id_array":[{"photo_id":"1330630865","filename":"file5"},{"photo_id":"1330630857","filename":"file2"},{"photo_id":"1330630862","filename":"file4"},{"photo_id":"1330630853","filename":"file1"},{"photo_id":"1330630850","filename":"file0"},{"photo_id":"1330630860","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330630862":["hashtag1","hashtag2"]},{"1330630865":["hashtag1","hashtag2"]},{"1330630850":["hashtag1","hashtag2"]},{"1330630853":["hashtag1","hashtag2"]},{"1330630860":["hashtag1","hashtag2"]},{"1330630857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330630862, 1330630865, 1330630850, 1330630853, 1330630860, 1330630857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11728239059448 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:28:04.208714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/27/image_22012025_17_27_29_6742.jpg', '/media/data/images/22012025/17/27/image_22012025_17_27_11_5564.jpg', '/media/data/images/22012025/17/27/image_22012025_17_27_05_6211.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_59_5312.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_18_5266.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_12_7340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/27/image_22012025_17_27_29_6742.jpg
/media/data/images/22012025/17/27/image_22012025_17_27_11_5564.jpg
/media/data/images/22012025/17/27/image_22012025_17_27_05_6211.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_59_5312.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_18_5266.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_12_7340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330630898","1330630901","1330630891","1330630903","1330630895","1330630889"],"photo_ids_order":["1330630889","1330630891","1330630895","1330630898","1330630901","1330630903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81f39e6b88d0ef5f8040ff7d568125ad.jpg","text":"TemporaryFile(/tmp/multipartBody5086919170969288451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_26_59_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/22/19e9792029f626f577f2423076548cbe.jpg","text":"TemporaryFile(/tmp/multipartBody77609651776182685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_26_18_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/22/c5c4f5cebbdadd62a03cb98c081aa24e.jpg","text":"TemporaryFile(/tmp/multipartBody1493658139262371964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_27_11_5564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea8f04fb289e2b87f12c23fc49fdd71f.jpg","text":"TemporaryFile(/tmp/multipartBody4333367581586533484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_26_12_7340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/572dd69d23f16df4eafb00f94d8e4c22.jpg","text":"TemporaryFile(/tmp/multipartBody2751215769196287950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_27_05_6211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c8e827e5559c10d59ba458fa8c60f78.jpg","text":"TemporaryFile(/tmp/multipartBody5158122130420453670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563354287,"filename":"image_22012025_17_27_29_6742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330630895","file1":"1330630891","file0":"1330630889","file4":"1330630901","file5":"1330630903","file3":"1330630898"},"map_files_photo_id_array":[{"photo_id":"1330630903","filename":"file5"},{"photo_id":"1330630895","filename":"file2"},{"photo_id":"1330630901","filename":"file4"},{"photo_id":"1330630891","filename":"file1"},{"photo_id":"1330630889","filename":"file0"},{"photo_id":"1330630898","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330630898":["hashtag1","hashtag2"]},{"1330630901":["hashtag1","hashtag2"]},{"1330630891":["hashtag1","hashtag2"]},{"1330630903":["hashtag1","hashtag2"]},{"1330630895":["hashtag1","hashtag2"]},{"1330630889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330630898, 1330630901, 1330630891, 1330630903, 1330630895, 1330630889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63369131088257 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 17:29:05.657270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/28/image_22012025_17_28_35_5470.jpg', '/media/data/images/22012025/17/28/image_22012025_17_28_12_5867.jpg', '/media/data/images/22012025/17/27/image_22012025_17_27_59_5501.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_05_5118.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_59_6595.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_17_6278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/28/image_22012025_17_28_35_5470.jpg
/media/data/images/22012025/17/28/image_22012025_17_28_12_5867.jpg
/media/data/images/22012025/17/27/image_22012025_17_27_59_5501.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_05_5118.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_59_6595.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_17_6278.jpg
2025-01-22 17:29:06.251855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/28/image_22012025_17_28_35_5470.jpg', '/media/data/images/22012025/17/28/image_22012025_17_28_12_5867.jpg', '/media/data/images/22012025/17/27/image_22012025_17_27_59_5501.jpg', '/media/data/images/22012025/17/26/image_22012025_17_26_05_5118.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_59_6595.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_17_6278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/28/image_22012025_17_28_35_5470.jpg
/media/data/images/22012025/17/28/image_22012025_17_28_12_5867.jpg
/media/data/images/22012025/17/27/image_22012025_17_27_59_5501.jpg
/media/data/images/22012025/17/26/image_22012025_17_26_05_5118.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_59_6595.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_17_6278.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":["1330631318","1330631306","1330631296","1330631281","1330631277","1330631313"],"photo_ids_order":["1330631277","1330631281","1330631296","1330631306","1330631313","1330631318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea668b02c3dea8d42b924b068cb2adbe.jpg","text":"TemporaryFile(/tmp/multipartBody4011595144199062515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_25_17_6278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/874962ac5576fb4e3da6595abd58b3f8.jpg","text":"TemporaryFile(/tmp/multipartBody4128785502805842151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_26_05_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/22/d7f00ff84a6105c6bd9d7bd2c164e486.jpg","text":"TemporaryFile(/tmp/multipartBody619352290878521140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_27_59_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cff79bd592f34227cf7acb4f0dffeefd.jpg","text":"TemporaryFile(/tmp/multipartBody1511672117955261388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_28_12_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e6391aa3f5f79c38376a0c656f43256f.jpg","text":"TemporaryFile(/tmp/multipartBody3784231520377976102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_28_35_5470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4fb91c20d8bfb46728bd3d49eb87396c.jpg","text":"TemporaryFile(/tmp/multipartBody7856467784455936009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563443981,"filename":"image_22012025_17_25_59_6595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631296","file1":"1330631281","file0":"1330631277","file4":"1330631313","file5":"1330631318","file3":"1330631306"},"map_files_photo_id_array":[{"photo_id":"1330631318","filename":"file5"},{"photo_id":"1330631296","filename":"file2"},{"photo_id":"1330631313","filename":"file4"},{"photo_id":"1330631281","filename":"file1"},{"photo_id":"1330631277","filename":"file0"},{"photo_id":"1330631306","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631318":["hashtag1","hashtag2"]},{"1330631306":["hashtag1","hashtag2"]},{"1330631296":["hashtag1","hashtag2"]},{"1330631281":["hashtag1","hashtag2"]},{"1330631277":["hashtag1","hashtag2"]},{"1330631313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631318, 1330631306, 1330631296, 1330631281, 1330631277, 1330631313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.79914975166321 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330631309","1330631290","1330631320","1330631314","1330631298","1330631279"],"photo_ids_order":["1330631279","1330631290","1330631298","1330631309","1330631314","1330631320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef1cf3f073267c78cec1dff26c3e2558.jpg","text":"TemporaryFile(/tmp/multipartBody8126844920140822968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_26_05_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/22/617e8a8d18c9ad892992256b4807c2b9.jpg","text":"TemporaryFile(/tmp/multipartBody8617405830099115786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_28_12_5867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0aa4f35987ce6aedd2207bcc0c0924a8.jpg","text":"TemporaryFile(/tmp/multipartBody2062272073833554902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_25_17_6278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54cfa8add584688bc8d6c962a4dcd01c.jpg","text":"TemporaryFile(/tmp/multipartBody7187534152192002095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_25_59_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/22/7dbd679c9ffd66d4d10323694ad22580.jpg","text":"TemporaryFile(/tmp/multipartBody3508945180301513254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_27_59_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6bb21cc6b523a7c9543821c2da6b01f8.jpg","text":"TemporaryFile(/tmp/multipartBody6694396424102381614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563445391,"filename":"image_22012025_17_28_35_5470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631298","file1":"1330631290","file0":"1330631279","file4":"1330631314","file5":"1330631320","file3":"1330631309"},"map_files_photo_id_array":[{"photo_id":"1330631320","filename":"file5"},{"photo_id":"1330631298","filename":"file2"},{"photo_id":"1330631314","filename":"file4"},{"photo_id":"1330631290","filename":"file1"},{"photo_id":"1330631279","filename":"file0"},{"photo_id":"1330631309","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631309":["hashtag1","hashtag2"]},{"1330631290":["hashtag1","hashtag2"]},{"1330631320":["hashtag1","hashtag2"]},{"1330631314":["hashtag1","hashtag2"]},{"1330631298":["hashtag1","hashtag2"]},{"1330631279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631309, 1330631290, 1330631320, 1330631314, 1330631298, 1330631279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.62852048873901 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:30:22.720147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/29/image_22012025_17_29_59_6793.jpg', '/media/data/images/22012025/17/29/image_22012025_17_29_53_5488.jpg', '/media/data/images/22012025/17/29/image_22012025_17_29_40_5444.jpg', '/media/data/images/22012025/17/29/image_22012025_17_29_23_5988.jpg', '/media/data/images/22012025/17/29/image_22012025_17_29_13_6383.jpg', '/media/data/images/22012025/17/28/image_22012025_17_28_59_6775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/29/image_22012025_17_29_59_6793.jpg
/media/data/images/22012025/17/29/image_22012025_17_29_53_5488.jpg
/media/data/images/22012025/17/29/image_22012025_17_29_40_5444.jpg
/media/data/images/22012025/17/29/image_22012025_17_29_23_5988.jpg
/media/data/images/22012025/17/29/image_22012025_17_29_13_6383.jpg
/media/data/images/22012025/17/28/image_22012025_17_28_59_6775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330631365","1330631350","1330631355","1330631352","1330631345","1330631348"],"photo_ids_order":["1330631345","1330631348","1330631350","1330631352","1330631355","1330631365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b32cf0fd5e8e9e6bf30eac02587e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2389291276150218639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_28_59_6775.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/876869612c2e42e8b36b2e5a3dfa090a.jpg","text":"TemporaryFile(/tmp/multipartBody3023275019454945565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_29_40_5444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c74021e890d20d6bfaa0770c72f5db95.jpg","text":"TemporaryFile(/tmp/multipartBody314100741450410941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_29_13_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/22/15fe3dba051b0d7337e1df11d5afdfaf.jpg","text":"TemporaryFile(/tmp/multipartBody2396360603722567392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_29_23_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/732df94309cf7abeb7a4f9805a51584a.jpg","text":"TemporaryFile(/tmp/multipartBody3152843787872622411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_29_59_6793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d8701ea667ded1bc1a336d7312809287.jpg","text":"TemporaryFile(/tmp/multipartBody4645851833052329809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563503667,"filename":"image_22012025_17_29_53_5488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631350","file1":"1330631348","file0":"1330631345","file4":"1330631355","file5":"1330631365","file3":"1330631352"},"map_files_photo_id_array":[{"photo_id":"1330631365","filename":"file5"},{"photo_id":"1330631350","filename":"file2"},{"photo_id":"1330631355","filename":"file4"},{"photo_id":"1330631348","filename":"file1"},{"photo_id":"1330631345","filename":"file0"},{"photo_id":"1330631352","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631365":["hashtag1","hashtag2"]},{"1330631350":["hashtag1","hashtag2"]},{"1330631355":["hashtag1","hashtag2"]},{"1330631352":["hashtag1","hashtag2"]},{"1330631345":["hashtag1","hashtag2"]},{"1330631348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631365, 1330631350, 1330631355, 1330631352, 1330631345, 1330631348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.83156394958496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:31:21.935784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/31/image_22012025_17_31_36_6380.jpg', '/media/data/images/22012025/17/31/image_22012025_17_31_30_6398.jpg', '/media/data/images/22012025/17/31/image_22012025_17_31_23_5659.jpg', '/media/data/images/22012025/17/31/image_22012025_17_31_17_5502.jpg', '/media/data/images/22012025/17/31/image_22012025_17_31_12_6174.jpg', '/media/data/images/22012025/17/30/image_22012025_17_30_59_6780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/31/image_22012025_17_31_36_6380.jpg
/media/data/images/22012025/17/31/image_22012025_17_31_30_6398.jpg
/media/data/images/22012025/17/31/image_22012025_17_31_23_5659.jpg
/media/data/images/22012025/17/31/image_22012025_17_31_17_5502.jpg
/media/data/images/22012025/17/31/image_22012025_17_31_12_6174.jpg
/media/data/images/22012025/17/30/image_22012025_17_30_59_6780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330631473","1330631476","1330631479","1330631401","1330631412","1330631393"],"photo_ids_order":["1330631393","1330631401","1330631412","1330631473","1330631476","1330631479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/230b4effe7551361b1b2b3596a02a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody4265406011024593707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_31_17_5502.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8eed183f0f104e80f7485d567615df3f.jpg","text":"TemporaryFile(/tmp/multipartBody2069356916929344942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_31_12_6174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1889da8da78bf79b20302e5a8b4c9051.jpg","text":"TemporaryFile(/tmp/multipartBody4844158098490421440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_30_59_6780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f304667279268594b3d3589059f436c.jpg","text":"TemporaryFile(/tmp/multipartBody5204286081829831711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_31_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/22/ae3bfd36c9856390f3fb6cb05a2487bc.jpg","text":"TemporaryFile(/tmp/multipartBody6037120123263501682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_31_23_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5973dc65762bb1272ef5d617f1590877.jpg","text":"TemporaryFile(/tmp/multipartBody3780800873306918720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563565675,"filename":"image_22012025_17_31_36_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631412","file1":"1330631401","file0":"1330631393","file4":"1330631476","file5":"1330631479","file3":"1330631473"},"map_files_photo_id_array":[{"photo_id":"1330631479","filename":"file5"},{"photo_id":"1330631412","filename":"file2"},{"photo_id":"1330631476","filename":"file4"},{"photo_id":"1330631401","filename":"file1"},{"photo_id":"1330631393","filename":"file0"},{"photo_id":"1330631473","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631473":["hashtag1","hashtag2"]},{"1330631476":["hashtag1","hashtag2"]},{"1330631479":["hashtag1","hashtag2"]},{"1330631401":["hashtag1","hashtag2"]},{"1330631412":["hashtag1","hashtag2"]},{"1330631393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631473, 1330631476, 1330631479, 1330631401, 1330631412, 1330631393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67800211906433 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:32:22.228982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/32/image_22012025_17_32_42_6457.jpg', '/media/data/images/22012025/17/32/image_22012025_17_32_12_5743.jpg', '/media/data/images/22012025/17/31/image_22012025_17_31_53_6803.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_11_6217.jpg', '/media/data/images/22012025/17/25/image_22012025_17_25_05_5063.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_59_6533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/32/image_22012025_17_32_42_6457.jpg
/media/data/images/22012025/17/32/image_22012025_17_32_12_5743.jpg
/media/data/images/22012025/17/31/image_22012025_17_31_53_6803.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_11_6217.jpg
/media/data/images/22012025/17/25/image_22012025_17_25_05_5063.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_59_6533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330631599","1330631595","1330631556","1330631601","1330631489","1330631585"],"photo_ids_order":["1330631489","1330631556","1330631585","1330631595","1330631599","1330631601"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ea832f2d453deb1dcc3f824bcba4013.jpg","text":"TemporaryFile(/tmp/multipartBody5932791820755911823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_25_05_5063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/080e299ecbf3319133b46500493ae655.jpg","text":"TemporaryFile(/tmp/multipartBody7491014115531941322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_25_11_6217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a2bf6d26b1baf80e1f31d75fd8e914c.jpg","text":"TemporaryFile(/tmp/multipartBody5708359936597445058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_32_12_5743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/922076a9cce6a5b542d63826e7808e28.jpg","text":"TemporaryFile(/tmp/multipartBody8941668627822445987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_24_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/22/a54d744b6f6705b06a381fd84c8bdcd2.jpg","text":"TemporaryFile(/tmp/multipartBody3451209837409930681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_32_42_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/22/1672dc742fea705e9d297ece77b190cf.jpg","text":"TemporaryFile(/tmp/multipartBody5249508620460080124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563614052,"filename":"image_22012025_17_31_53_6803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631585","file1":"1330631556","file0":"1330631489","file4":"1330631599","file5":"1330631601","file3":"1330631595"},"map_files_photo_id_array":[{"photo_id":"1330631601","filename":"file5"},{"photo_id":"1330631585","filename":"file2"},{"photo_id":"1330631599","filename":"file4"},{"photo_id":"1330631556","filename":"file1"},{"photo_id":"1330631489","filename":"file0"},{"photo_id":"1330631595","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631599":["hashtag1","hashtag2"]},{"1330631595":["hashtag1","hashtag2"]},{"1330631556":["hashtag1","hashtag2"]},{"1330631601":["hashtag1","hashtag2"]},{"1330631489":["hashtag1","hashtag2"]},{"1330631585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631599, 1330631595, 1330631556, 1330631601, 1330631489, 1330631585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94475960731506 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:33:22.400304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/33/image_22012025_17_33_35_5678.jpg', '/media/data/images/22012025/17/33/image_22012025_17_33_29_5576.jpg', '/media/data/images/22012025/17/33/image_22012025_17_33_05_6336.jpg', '/media/data/images/22012025/17/32/image_22012025_17_32_59_5535.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_18_6042.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_12_5740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/33/image_22012025_17_33_35_5678.jpg
/media/data/images/22012025/17/33/image_22012025_17_33_29_5576.jpg
/media/data/images/22012025/17/33/image_22012025_17_33_05_6336.jpg
/media/data/images/22012025/17/32/image_22012025_17_32_59_5535.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_18_6042.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_12_5740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330631728","1330631731","1330631769","1330631724","1330631750","1330631744"],"photo_ids_order":["1330631724","1330631728","1330631731","1330631744","1330631750","1330631769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/115726cc23ed8f2ed718f5ac7aecae73.jpg","text":"TemporaryFile(/tmp/multipartBody3672195566824500926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_33_29_5576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0cca1f728b9bbb563041d63af9aa19d.jpg","text":"TemporaryFile(/tmp/multipartBody3146037723363985815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_33_05_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/22/a1df04adb6b5a46304caebda0881a37f.jpg","text":"TemporaryFile(/tmp/multipartBody7074115029532338929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_24_12_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/15316985fc6645612d5eb54d0b40a07c.jpg","text":"TemporaryFile(/tmp/multipartBody8655783109000176666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_33_35_5678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8de19f57f9af4da347f206d3ecde696b.jpg","text":"TemporaryFile(/tmp/multipartBody8901306413582719568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_24_18_6042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c41ee7de0c394aa7d5d81fc20f488f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1505243902432314249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563681144,"filename":"image_22012025_17_32_59_5535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631731","file1":"1330631728","file0":"1330631724","file4":"1330631750","file5":"1330631769","file3":"1330631744"},"map_files_photo_id_array":[{"photo_id":"1330631769","filename":"file5"},{"photo_id":"1330631731","filename":"file2"},{"photo_id":"1330631750","filename":"file4"},{"photo_id":"1330631728","filename":"file1"},{"photo_id":"1330631724","filename":"file0"},{"photo_id":"1330631744","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631728":["hashtag1","hashtag2"]},{"1330631731":["hashtag1","hashtag2"]},{"1330631769":["hashtag1","hashtag2"]},{"1330631724":["hashtag1","hashtag2"]},{"1330631750":["hashtag1","hashtag2"]},{"1330631744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631728, 1330631731, 1330631769, 1330631724, 1330631750, 1330631744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.10897612571716 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:34:22.723019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/34/image_22012025_17_34_41_4818.jpg', '/media/data/images/22012025/17/34/image_22012025_17_34_36_6079.jpg', '/media/data/images/22012025/17/34/image_22012025_17_34_12_7357.jpg', '/media/data/images/22012025/17/34/image_22012025_17_34_05_5174.jpg', '/media/data/images/22012025/17/33/image_22012025_17_33_47_5433.jpg', '/media/data/images/22012025/17/24/image_22012025_17_24_06_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/34/image_22012025_17_34_41_4818.jpg
/media/data/images/22012025/17/34/image_22012025_17_34_36_6079.jpg
/media/data/images/22012025/17/34/image_22012025_17_34_12_7357.jpg
/media/data/images/22012025/17/34/image_22012025_17_34_05_5174.jpg
/media/data/images/22012025/17/33/image_22012025_17_33_47_5433.jpg
/media/data/images/22012025/17/24/image_22012025_17_24_06_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":["1330631809","1330631830","1330631844","1330631826","1330631849","1330631816"],"photo_ids_order":["1330631809","1330631816","1330631826","1330631830","1330631844","1330631849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b43cc475de9a29a979a196812bc02e2.jpg","text":"TemporaryFile(/tmp/multipartBody5362469024676692112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_34_41_4818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/53f5a4a73bec057d84a1cd8d6a39ed42.jpg","text":"TemporaryFile(/tmp/multipartBody7499211896620502086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_34_05_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/22/27e4fcbc1440b63e591c006e75eb85bc.jpg","text":"TemporaryFile(/tmp/multipartBody607242923458312312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_33_47_5433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/46a043953cf2a697e4b5616728b36287.jpg","text":"TemporaryFile(/tmp/multipartBody8699033325127267585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_34_12_7357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5836e6fcdca484d9704515ee63230ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8055993459779694913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_24_06_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/22/60fbb890a6b49ae33d48c8de9d7fd4b7.jpg","text":"TemporaryFile(/tmp/multipartBody6501068279984775455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563765093,"filename":"image_22012025_17_34_36_6079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330631826","file1":"1330631816","file0":"1330631809","file4":"1330631844","file5":"1330631849","file3":"1330631830"},"map_files_photo_id_array":[{"photo_id":"1330631849","filename":"file5"},{"photo_id":"1330631826","filename":"file2"},{"photo_id":"1330631844","filename":"file4"},{"photo_id":"1330631816","filename":"file1"},{"photo_id":"1330631809","filename":"file0"},{"photo_id":"1330631830","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330631809":["hashtag1","hashtag2"]},{"1330631830":["hashtag1","hashtag2"]},{"1330631844":["hashtag1","hashtag2"]},{"1330631826":["hashtag1","hashtag2"]},{"1330631849":["hashtag1","hashtag2"]},{"1330631816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330631809, 1330631830, 1330631844, 1330631826, 1330631849, 1330631816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.97312664985657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:35:42.148566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/35/image_22012025_17_35_54_5971.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_48_5845.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_42_6112.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_35_6718.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_29_5316.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_23_6612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/35/image_22012025_17_35_54_5971.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_48_5845.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_42_6112.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_35_6718.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_29_5316.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_23_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":["1330632097","1330632259","1330632285","1330632093","1330632288","1330632269"],"photo_ids_order":["1330632093","1330632097","1330632259","1330632269","1330632285","1330632288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f737cdb007e97917e17c4597726e0775.jpg","text":"TemporaryFile(/tmp/multipartBody8027517028474128803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_48_5845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4845eb34824cba0c4d71ae78df17708c.jpg","text":"TemporaryFile(/tmp/multipartBody2083367842380495167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_42_6112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/47e23e723bb4ece3898bde16f5c9a674.jpg","text":"TemporaryFile(/tmp/multipartBody9124488470618801382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_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/22/e0596d0013f44075f7bf83b7dc6a742e.jpg","text":"TemporaryFile(/tmp/multipartBody105508718827031931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_54_5971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f1d6319bf85d7df7750c94d055832b91.jpg","text":"TemporaryFile(/tmp/multipartBody5863274824969672269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_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/22/f64ddc33658f1145dd25dea1e485e580.jpg","text":"TemporaryFile(/tmp/multipartBody1464369729725975185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563826293,"filename":"image_22012025_17_35_35_6718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330632259","file1":"1330632097","file0":"1330632093","file4":"1330632285","file5":"1330632288","file3":"1330632269"},"map_files_photo_id_array":[{"photo_id":"1330632288","filename":"file5"},{"photo_id":"1330632259","filename":"file2"},{"photo_id":"1330632285","filename":"file4"},{"photo_id":"1330632097","filename":"file1"},{"photo_id":"1330632093","filename":"file0"},{"photo_id":"1330632269","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330632097":["hashtag1","hashtag2"]},{"1330632259":["hashtag1","hashtag2"]},{"1330632285":["hashtag1","hashtag2"]},{"1330632093":["hashtag1","hashtag2"]},{"1330632288":["hashtag1","hashtag2"]},{"1330632269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330632097, 1330632259, 1330632285, 1330632093, 1330632288, 1330632269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.44282555580139 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:37:03.956511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/36/image_22012025_17_36_53_4586.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_48_6426.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_41_6510.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_35_6539.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_28_5325.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_23_6556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/36/image_22012025_17_36_53_4586.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_48_6426.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_41_6510.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_35_6539.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_28_5325.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_23_6556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330633336","1330633341","1330633344","1330633323","1330633326","1330633346"],"photo_ids_order":["1330633323","1330633326","1330633336","1330633341","1330633344","1330633346"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a76a0b0b3311a2b33bebb609c0f3e202.jpg","text":"TemporaryFile(/tmp/multipartBody6053064239790597620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_41_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/22/7cf17ae8db8b7b42aade069066e704aa.jpg","text":"TemporaryFile(/tmp/multipartBody271414561619239035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_35_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/22/ff07c24775b5434e78d9db0ca2209039.jpg","text":"TemporaryFile(/tmp/multipartBody4063505912501352773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_28_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/22/0d144e0078331e5398c91f975cc29501.jpg","text":"TemporaryFile(/tmp/multipartBody3117214469737233759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_53_4586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/af8a72fab0d3fa18f7bcadc2df6a68de.jpg","text":"TemporaryFile(/tmp/multipartBody8194468081522454778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_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/22/0a197ba1f8a45ac5124700371bb91b73.jpg","text":"TemporaryFile(/tmp/multipartBody254817432377282696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563895739,"filename":"image_22012025_17_36_23_6556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330633336","file1":"1330633326","file0":"1330633323","file4":"1330633344","file5":"1330633346","file3":"1330633341"},"map_files_photo_id_array":[{"photo_id":"1330633346","filename":"file5"},{"photo_id":"1330633336","filename":"file2"},{"photo_id":"1330633344","filename":"file4"},{"photo_id":"1330633326","filename":"file1"},{"photo_id":"1330633323","filename":"file0"},{"photo_id":"1330633341","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330633336":["hashtag1","hashtag2"]},{"1330633341":["hashtag1","hashtag2"]},{"1330633344":["hashtag1","hashtag2"]},{"1330633323":["hashtag1","hashtag2"]},{"1330633326":["hashtag1","hashtag2"]},{"1330633346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330633336, 1330633341, 1330633344, 1330633323, 1330633326, 1330633346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55487132072449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:38:03.566951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/37/image_22012025_17_37_53_5264.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_47_6610.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_41_5191.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_35_6460.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_29_6426.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_23_5244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/37/image_22012025_17_37_53_5264.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_47_6610.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_41_5191.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_35_6460.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_29_6426.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_23_5244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330633711","1330633608","1330633685","1330633373","1330633687","1330633678"],"photo_ids_order":["1330633373","1330633608","1330633678","1330633685","1330633687","1330633711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f22a2e5207dd182005b92f71a017b60a.jpg","text":"TemporaryFile(/tmp/multipartBody2324673969682976758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_23_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/22/caac08853736e97dd46ece2cfec5e590.jpg","text":"TemporaryFile(/tmp/multipartBody288740878059306565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_47_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/22/9013c556e2f7f7536b1156a169d123c8.jpg","text":"TemporaryFile(/tmp/multipartBody6939227968850715193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_35_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/22/aa5a362908d8fbbd235fcd9e65570a92.jpg","text":"TemporaryFile(/tmp/multipartBody4651275994565060487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_53_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/22/95be2cabed6c3107eaa3b8f62da07758.jpg","text":"TemporaryFile(/tmp/multipartBody3004248712452069839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_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/22/39989add689a828aa74bb3e940105131.jpg","text":"TemporaryFile(/tmp/multipartBody411360306430236742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737563960319,"filename":"image_22012025_17_37_41_5191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330633678","file1":"1330633608","file0":"1330633373","file4":"1330633687","file5":"1330633711","file3":"1330633685"},"map_files_photo_id_array":[{"photo_id":"1330633711","filename":"file5"},{"photo_id":"1330633678","filename":"file2"},{"photo_id":"1330633687","filename":"file4"},{"photo_id":"1330633608","filename":"file1"},{"photo_id":"1330633373","filename":"file0"},{"photo_id":"1330633685","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330633711":["hashtag1","hashtag2"]},{"1330633608":["hashtag1","hashtag2"]},{"1330633685":["hashtag1","hashtag2"]},{"1330633373":["hashtag1","hashtag2"]},{"1330633687":["hashtag1","hashtag2"]},{"1330633678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330633711, 1330633608, 1330633685, 1330633373, 1330633687, 1330633678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.158771276474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 17:39:05.512576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/38/image_22012025_17_38_52_5292.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_47_6512.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_41_5263.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_35_6522.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_29_6461.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_22_5891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/38/image_22012025_17_38_52_5292.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_47_6512.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_41_5263.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_35_6522.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_29_6461.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_22_5891.jpg
2025-01-22 17:39:05.647536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/38/image_22012025_17_38_52_5292.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_47_6512.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_41_5263.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_35_6522.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_29_6461.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_22_5891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/38/image_22012025_17_38_52_5292.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_47_6512.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_41_5263.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_35_6522.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_29_6461.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_22_5891.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":["1330633974","1330633941","1330633976","1330633979","1330633946","1330633951"],"photo_ids_order":["1330633941","1330633946","1330633951","1330633974","1330633976","1330633979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/56a3e898f7276ba86af041f670aa2f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4867452578895718359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_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/22/14be7b51def8d6feca804bc1eed0aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody6845986124895798494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_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/22/7c1912696d5da948fcae4f4f76b461c2.jpg","text":"TemporaryFile(/tmp/multipartBody2093147023157988730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_29_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/22/20597e0662845d8d1476fff538aa3bac.jpg","text":"TemporaryFile(/tmp/multipartBody5350963284215541203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_22_5891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fe5d43eca657e6794998b61c623efb22.jpg","text":"TemporaryFile(/tmp/multipartBody2727253605004733939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_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/22/cdf3520e3e81c697e32eb4ff49d46ed1.jpg","text":"TemporaryFile(/tmp/multipartBody9021361486295552918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564037069,"filename":"image_22012025_17_38_41_5263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330633951","file1":"1330633946","file0":"1330633941","file4":"1330633976","file5":"1330633979","file3":"1330633974"},"map_files_photo_id_array":[{"photo_id":"1330633979","filename":"file5"},{"photo_id":"1330633951","filename":"file2"},{"photo_id":"1330633976","filename":"file4"},{"photo_id":"1330633946","filename":"file1"},{"photo_id":"1330633941","filename":"file0"},{"photo_id":"1330633974","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330633974":["hashtag1","hashtag2"]},{"1330633941":["hashtag1","hashtag2"]},{"1330633976":["hashtag1","hashtag2"]},{"1330633979":["hashtag1","hashtag2"]},{"1330633946":["hashtag1","hashtag2"]},{"1330633951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330633974, 1330633941, 1330633976, 1330633979, 1330633946, 1330633951)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1330633980","1330633977","1330633973","1330633943","1330633952","1330633948"],"photo_ids_order":["1330633943","1330633948","1330633952","1330633973","1330633977","1330633980"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0bdd25ea84a292e9a3c66230c82dbc76.jpg","text":"TemporaryFile(/tmp/multipartBody2464624878081116090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_22_5891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c005ecf86f9731a9095a431015f28458.jpg","text":"TemporaryFile(/tmp/multipartBody6349080285797511288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_29_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/22/294e210c3a2d23c386963388718fc200.jpg","text":"TemporaryFile(/tmp/multipartBody3193622759640856689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_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/22/6fce1dec5761f91bdc9abd6a6824a09e.jpg","text":"TemporaryFile(/tmp/multipartBody8134373517384675292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_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/22/a15e017e0e45060d3c93fe9cc6a6581e.jpg","text":"TemporaryFile(/tmp/multipartBody7048575637087849277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_41_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/22/9a7a5557c8d7b67e8fc7c09f1fbf958f.jpg","text":"TemporaryFile(/tmp/multipartBody8600294568209163876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564039008,"filename":"image_22012025_17_38_47_6512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330633952","file1":"1330633948","file0":"1330633943","file4":"1330633977","file5":"1330633980","file3":"1330633973"},"map_files_photo_id_array":[{"photo_id":"1330633980","filename":"file5"},{"photo_id":"1330633952","filename":"file2"},{"photo_id":"1330633977","filename":"file4"},{"photo_id":"1330633948","filename":"file1"},{"photo_id":"1330633943","filename":"file0"},{"photo_id":"1330633973","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330633980":["hashtag1","hashtag2"]},{"1330633977":["hashtag1","hashtag2"]},{"1330633973":["hashtag1","hashtag2"]},{"1330633943":["hashtag1","hashtag2"]},{"1330633952":["hashtag1","hashtag2"]},{"1330633948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330633980, 1330633977, 1330633973, 1330633943, 1330633952, 1330633948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.99612784385681 secondes ---
uploaded 6 photos
time to upload: 67.14910626411438 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:40:22.668503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/40/image_22012025_17_40_53_6528.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_46_5376.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_41_5490.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_36_6549.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_30_6675.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_23_5057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/40/image_22012025_17_40_53_6528.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_46_5376.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_41_5490.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_36_6549.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_30_6675.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_23_5057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634085","1330633995","1330634103","1330634098","1330633999","1330634002"],"photo_ids_order":["1330633995","1330633999","1330634002","1330634085","1330634098","1330634103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d36e8cb0b695695177f3ff5390bf93f.jpg","text":"TemporaryFile(/tmp/multipartBody1668216406046420270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_36_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/22/fe7b64e2b4aa115b78eecb516d6e92cd.jpg","text":"TemporaryFile(/tmp/multipartBody3588630096692620003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_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/22/b552e29f679a3aaf66d12302e64783d5.jpg","text":"TemporaryFile(/tmp/multipartBody3492460045346481735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_23_5057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6889565c6c2f9939d742f778381c763.jpg","text":"TemporaryFile(/tmp/multipartBody557001942358136268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_30_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/22/ae71a679c467167ecdfbee4c7ec030a3.jpg","text":"TemporaryFile(/tmp/multipartBody5667328638784512448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_46_5376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/001c347f93b7254646e79af5eedbe600.jpg","text":"TemporaryFile(/tmp/multipartBody5640775094207123945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564090862,"filename":"image_22012025_17_40_41_5490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634002","file1":"1330633999","file0":"1330633995","file4":"1330634098","file5":"1330634103","file3":"1330634085"},"map_files_photo_id_array":[{"photo_id":"1330634103","filename":"file5"},{"photo_id":"1330634002","filename":"file2"},{"photo_id":"1330634098","filename":"file4"},{"photo_id":"1330633999","filename":"file1"},{"photo_id":"1330633995","filename":"file0"},{"photo_id":"1330634085","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634085":["hashtag1","hashtag2"]},{"1330633995":["hashtag1","hashtag2"]},{"1330634103":["hashtag1","hashtag2"]},{"1330634098":["hashtag1","hashtag2"]},{"1330633999":["hashtag1","hashtag2"]},{"1330634002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634085, 1330633995, 1330634103, 1330634098, 1330633999, 1330634002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.01828384399414 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:41:21.801818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/41/image_22012025_17_41_52_5488.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_47_5332.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_42_6499.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_35_6541.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_29_6069.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_23_5396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/41/image_22012025_17_41_52_5488.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_47_5332.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_42_6499.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_35_6541.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_29_6069.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_23_5396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634196","1330634169","1330634220","1330634183","1330634165","1330634199"],"photo_ids_order":["1330634165","1330634169","1330634183","1330634196","1330634199","1330634220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bca7f0ba9aa5e9ac6d5f57ddeff2579b.jpg","text":"TemporaryFile(/tmp/multipartBody3432067934003086083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_35_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/22/c92c6e49650d7e30a1f09725d9229def.jpg","text":"TemporaryFile(/tmp/multipartBody5578508772186576249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_47_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/22/26431f39bd4d12387013a4c23dece93a.jpg","text":"TemporaryFile(/tmp/multipartBody176645725055243262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_23_5396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f389c8d21c3d6575a66296c5f67b4f27.jpg","text":"TemporaryFile(/tmp/multipartBody1879835974090997174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_42_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/22/9e6f90ce204c730d2fbf2d351a844e37.jpg","text":"TemporaryFile(/tmp/multipartBody4873066893548623268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_52_5488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd377840e04c79dad9aadf04af4c70f7.jpg","text":"TemporaryFile(/tmp/multipartBody8756513022502248836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564157187,"filename":"image_22012025_17_41_29_6069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634183","file1":"1330634169","file0":"1330634165","file4":"1330634199","file5":"1330634220","file3":"1330634196"},"map_files_photo_id_array":[{"photo_id":"1330634220","filename":"file5"},{"photo_id":"1330634183","filename":"file2"},{"photo_id":"1330634199","filename":"file4"},{"photo_id":"1330634169","filename":"file1"},{"photo_id":"1330634165","filename":"file0"},{"photo_id":"1330634196","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634196":["hashtag1","hashtag2"]},{"1330634169":["hashtag1","hashtag2"]},{"1330634220":["hashtag1","hashtag2"]},{"1330634183":["hashtag1","hashtag2"]},{"1330634165":["hashtag1","hashtag2"]},{"1330634199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634196, 1330634169, 1330634220, 1330634183, 1330634165, 1330634199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.623998403549194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:42:22.044927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/42/image_22012025_17_42_52_5356.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_47_6601.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_40_5124.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_36_5641.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_30_6637.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_24_5486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/42/image_22012025_17_42_52_5356.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_47_6601.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_40_5124.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_36_5641.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_30_6637.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_24_5486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634268","1330634253","1330634259","1330634250","1330634273","1330634263"],"photo_ids_order":["1330634250","1330634253","1330634259","1330634263","1330634268","1330634273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7978c1d8dd5c331e4d03d51826b7d56.jpg","text":"TemporaryFile(/tmp/multipartBody106399383117673997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_30_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/22/61a5984fd921511f312cb0133008f868.jpg","text":"TemporaryFile(/tmp/multipartBody1492159501304356232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_47_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/22/b6c59b1bfffabdb2a8ba4d0ba9353548.jpg","text":"TemporaryFile(/tmp/multipartBody5036039227363900327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_40_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/22/2900f3593bf9d4c3cb43283a41bd7449.jpg","text":"TemporaryFile(/tmp/multipartBody7055719910141686814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_52_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/22/94842cd18a3b6f341e7a43228f4328d7.jpg","text":"TemporaryFile(/tmp/multipartBody3588981766923064436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_24_5486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8f40769f8428509a286e1e41d5e96c70.jpg","text":"TemporaryFile(/tmp/multipartBody4660548688789000675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564211485,"filename":"image_22012025_17_42_36_5641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634259","file1":"1330634253","file0":"1330634250","file4":"1330634268","file5":"1330634273","file3":"1330634263"},"map_files_photo_id_array":[{"photo_id":"1330634273","filename":"file5"},{"photo_id":"1330634259","filename":"file2"},{"photo_id":"1330634268","filename":"file4"},{"photo_id":"1330634253","filename":"file1"},{"photo_id":"1330634250","filename":"file0"},{"photo_id":"1330634263","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634268":["hashtag1","hashtag2"]},{"1330634253":["hashtag1","hashtag2"]},{"1330634259":["hashtag1","hashtag2"]},{"1330634250":["hashtag1","hashtag2"]},{"1330634273":["hashtag1","hashtag2"]},{"1330634263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634268, 1330634253, 1330634259, 1330634250, 1330634273, 1330634263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.34445023536682 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:43:22.254065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/43/image_22012025_17_43_53_6501.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_46_5279.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_41_6487.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_35_5091.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_30_6628.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_23_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/43/image_22012025_17_43_53_6501.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_46_5279.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_41_6487.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_35_5091.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_30_6628.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_23_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":["1330634588","1330634561","1330634570","1330634564","1330634593","1330634577"],"photo_ids_order":["1330634561","1330634564","1330634570","1330634577","1330634588","1330634593"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/579a9666deb9ccc07602b9a8cbb00c5d.jpg","text":"TemporaryFile(/tmp/multipartBody4085483085259161281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_30_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/22/1f4b2c9a473b68c02a9f8b74f3b7fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody1296465659901199649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_53_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/22/45d437b80fa0f691cce0b288f0827e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2605757352585179598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_41_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/22/ba3c68b1ff2c96a52432442af3e0a944.jpg","text":"TemporaryFile(/tmp/multipartBody5763071582389968510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_46_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/22/f65d96d91267ccd7390d83a9745cbe76.jpg","text":"TemporaryFile(/tmp/multipartBody8090308938475032033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_23_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/22/c7a0e3885fa6e8ab0d3a8ff732560df0.jpg","text":"TemporaryFile(/tmp/multipartBody812958866255337585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564289574,"filename":"image_22012025_17_43_35_5091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634570","file1":"1330634564","file0":"1330634561","file4":"1330634588","file5":"1330634593","file3":"1330634577"},"map_files_photo_id_array":[{"photo_id":"1330634593","filename":"file5"},{"photo_id":"1330634570","filename":"file2"},{"photo_id":"1330634588","filename":"file4"},{"photo_id":"1330634564","filename":"file1"},{"photo_id":"1330634561","filename":"file0"},{"photo_id":"1330634577","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634588":["hashtag1","hashtag2"]},{"1330634561":["hashtag1","hashtag2"]},{"1330634570":["hashtag1","hashtag2"]},{"1330634564":["hashtag1","hashtag2"]},{"1330634593":["hashtag1","hashtag2"]},{"1330634577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634588, 1330634561, 1330634570, 1330634564, 1330634593, 1330634577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.10223031044006 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:44:22.406619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/44/image_22012025_17_44_53_5591.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_48_6300.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_42_6182.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_36_5905.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_29_6874.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_22_5359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/44/image_22012025_17_44_53_5591.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_48_6300.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_42_6182.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_36_5905.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_29_6874.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_22_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":["1330634643","1330634625","1330634634","1330634639","1330634629","1330634620"],"photo_ids_order":["1330634620","1330634625","1330634629","1330634634","1330634639","1330634643"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f36994048e1df7f6f8cab62da2233a54.jpg","text":"TemporaryFile(/tmp/multipartBody4523424652873043069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_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/22/b0d9ed8dd4490658ebc32a6931d49c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8955420132958610021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_48_6300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70d099e837dc5324d66c249adda00786.jpg","text":"TemporaryFile(/tmp/multipartBody1672507472557415200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_36_5905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/281f4aa0855513e73bb3dc52e872468c.jpg","text":"TemporaryFile(/tmp/multipartBody5801890071723944316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_29_6874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb15a696b30a4e61812cda66f60f263f.jpg","text":"TemporaryFile(/tmp/multipartBody6843123416868151452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_42_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/22/f332179f6bc95b0c2c9c8301e0691e7b.jpg","text":"TemporaryFile(/tmp/multipartBody3249242734754739655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564330282,"filename":"image_22012025_17_44_53_5591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634629","file1":"1330634625","file0":"1330634620","file4":"1330634639","file5":"1330634643","file3":"1330634634"},"map_files_photo_id_array":[{"photo_id":"1330634643","filename":"file5"},{"photo_id":"1330634629","filename":"file2"},{"photo_id":"1330634639","filename":"file4"},{"photo_id":"1330634625","filename":"file1"},{"photo_id":"1330634620","filename":"file0"},{"photo_id":"1330634634","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634643":["hashtag1","hashtag2"]},{"1330634625":["hashtag1","hashtag2"]},{"1330634634":["hashtag1","hashtag2"]},{"1330634639":["hashtag1","hashtag2"]},{"1330634629":["hashtag1","hashtag2"]},{"1330634620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634643, 1330634625, 1330634634, 1330634639, 1330634629, 1330634620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8880410194397 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:45:22.695455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/45/image_22012025_17_45_53_6582.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_47_5334.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_41_6506.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_35_5824.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_30_6705.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_22_5427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/45/image_22012025_17_45_53_6582.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_47_5334.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_41_6506.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_35_5824.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_30_6705.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_22_5427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634666","1330634677","1330634671","1330634659","1330634662","1330634656"],"photo_ids_order":["1330634656","1330634659","1330634662","1330634666","1330634671","1330634677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a01bf104aead3e8f3c4d389a3a025aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6077594973468760552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_35_5824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7b3e1f35249e20ac8c9f1415f00f9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3829212068308735569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_22_5427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd48f68d2f70db6d2fc473c5adf791a1.jpg","text":"TemporaryFile(/tmp/multipartBody4942285045161873341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_30_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/22/6ac490c9d9583edb8b19524beae77462.jpg","text":"TemporaryFile(/tmp/multipartBody4071156530872916460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_47_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/22/3f578b80a3d48245f4659e6fc1de3a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5227001432243378525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_41_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/22/61c96c76db28b6a8744f82d6360076b9.jpg","text":"TemporaryFile(/tmp/multipartBody8217482830816076934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564389974,"filename":"image_22012025_17_45_53_6582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634662","file1":"1330634659","file0":"1330634656","file4":"1330634671","file5":"1330634677","file3":"1330634666"},"map_files_photo_id_array":[{"photo_id":"1330634677","filename":"file5"},{"photo_id":"1330634662","filename":"file2"},{"photo_id":"1330634671","filename":"file4"},{"photo_id":"1330634659","filename":"file1"},{"photo_id":"1330634656","filename":"file0"},{"photo_id":"1330634666","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634666":["hashtag1","hashtag2"]},{"1330634677":["hashtag1","hashtag2"]},{"1330634671":["hashtag1","hashtag2"]},{"1330634659":["hashtag1","hashtag2"]},{"1330634662":["hashtag1","hashtag2"]},{"1330634656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634666, 1330634677, 1330634671, 1330634659, 1330634662, 1330634656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14333534240723 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:46:21.863981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/46/image_22012025_17_46_53_6709.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_47_5351.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_41_6550.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_35_5611.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_29_6317.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_23_5418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/46/image_22012025_17_46_53_6709.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_47_5351.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_41_6550.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_35_5611.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_29_6317.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_23_5418.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634706","1330634864","1330634776","1330634801","1330634764","1330634713"],"photo_ids_order":["1330634706","1330634713","1330634764","1330634776","1330634801","1330634864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/92e8efa5291ed251430cc50895429812.jpg","text":"TemporaryFile(/tmp/multipartBody9008656428619037908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_53_6709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/048413f8997cb87a45245d303b7e500e.jpg","text":"TemporaryFile(/tmp/multipartBody7868121733443979302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_23_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/22/686c74b0d90b07c7a4129bd8b0378b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1313908517094385968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_35_5611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/806f82d1a9bf9bb6d38fc1b8e3fc5740.jpg","text":"TemporaryFile(/tmp/multipartBody7979870830500421727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_29_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/22/9a8da4774ba4d1a849a78a5a3d3e0646.jpg","text":"TemporaryFile(/tmp/multipartBody7716033516405282191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_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/22/c6cb245760e24193abb0cd9ce211f012.jpg","text":"TemporaryFile(/tmp/multipartBody2451441789074107040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564448282,"filename":"image_22012025_17_46_47_5351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634764","file1":"1330634713","file0":"1330634706","file4":"1330634801","file5":"1330634864","file3":"1330634776"},"map_files_photo_id_array":[{"photo_id":"1330634864","filename":"file5"},{"photo_id":"1330634764","filename":"file2"},{"photo_id":"1330634801","filename":"file4"},{"photo_id":"1330634713","filename":"file1"},{"photo_id":"1330634706","filename":"file0"},{"photo_id":"1330634776","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634706":["hashtag1","hashtag2"]},{"1330634864":["hashtag1","hashtag2"]},{"1330634776":["hashtag1","hashtag2"]},{"1330634801":["hashtag1","hashtag2"]},{"1330634764":["hashtag1","hashtag2"]},{"1330634713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634706, 1330634864, 1330634776, 1330634801, 1330634764, 1330634713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44475197792053 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-22 17:47:22.069322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/47/image_22012025_17_47_53_5240.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_47_6462.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_41_6477.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_34_5285.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_29_6325.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_23_5305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/47/image_22012025_17_47_53_5240.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_47_6462.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_41_6477.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_34_5285.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_29_6325.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_23_5305.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634910","1330634913","1330634907","1330634916","1330634921","1330634905"],"photo_ids_order":["1330634905","1330634907","1330634910","1330634913","1330634916","1330634921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/971f175b1d057ad590a5da77277884dc.jpg","text":"TemporaryFile(/tmp/multipartBody5020924736812087923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_41_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/22/077f8e29d51cc0de74c79af290a5d2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8701162320699795405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_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/22/c67608405906539e3b5d833968386b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3758245064343359270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_47_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9573454df67d1a9aca016da02aafb9fa.jpg","text":"TemporaryFile(/tmp/multipartBody3380141503119253349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_29_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/22/57c3ddafce4a176aa50c3b1ea2659546.jpg","text":"TemporaryFile(/tmp/multipartBody7813442565427334516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_23_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/22/10202e7e331062893b3f9a55447dc03d.jpg","text":"TemporaryFile(/tmp/multipartBody5608774907094751828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564518781,"filename":"image_22012025_17_47_53_5240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634910","file1":"1330634907","file0":"1330634905","file4":"1330634916","file5":"1330634921","file3":"1330634913"},"map_files_photo_id_array":[{"photo_id":"1330634921","filename":"file5"},{"photo_id":"1330634910","filename":"file2"},{"photo_id":"1330634916","filename":"file4"},{"photo_id":"1330634907","filename":"file1"},{"photo_id":"1330634905","filename":"file0"},{"photo_id":"1330634913","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634910":["hashtag1","hashtag2"]},{"1330634913":["hashtag1","hashtag2"]},{"1330634907":["hashtag1","hashtag2"]},{"1330634916":["hashtag1","hashtag2"]},{"1330634921":["hashtag1","hashtag2"]},{"1330634905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634910, 1330634913, 1330634907, 1330634916, 1330634921, 1330634905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.49360775947571 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:48:22.231599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/48/image_22012025_17_48_53_6532.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_46_5304.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_41_5078.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_36_7060.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_29_5931.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_23_6614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/48/image_22012025_17_48_53_6532.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_46_5304.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_41_5078.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_36_7060.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_29_5931.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_23_6614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.708205223083496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:48:42.377362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/48/image_22012025_17_48_53_6532.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_46_5304.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_41_5078.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_36_7060.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_29_5931.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_23_6614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/48/image_22012025_17_48_53_6532.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_46_5304.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_41_5078.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_36_7060.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_29_5931.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_23_6614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330634949","1330634960","1330634956","1330634971","1330634950","1330634953"],"photo_ids_order":["1330634949","1330634950","1330634953","1330634956","1330634960","1330634971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e072b9b2fec6a08de780b304c36bc60.jpg","text":"TemporaryFile(/tmp/multipartBody5877063362808509732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_53_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/22/3ebc38021f50092f8420f5e6c38babdd.jpg","text":"TemporaryFile(/tmp/multipartBody8239540990504738140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_29_5931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/16bbe7d28222bfe9bf1d53bdeb0fb92d.jpg","text":"TemporaryFile(/tmp/multipartBody5933823355463128664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_36_7060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5aaa313453e5e142aef1d61642cb969c.jpg","text":"TemporaryFile(/tmp/multipartBody877866763919833791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_23_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/22/70b21ab7c689f0edb77c9dab2ba3c4ad.jpg","text":"TemporaryFile(/tmp/multipartBody9144047815924219517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_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/22/effc9bcb3b423c6d277452e26f4e18fd.jpg","text":"TemporaryFile(/tmp/multipartBody6606268594984764357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564591425,"filename":"image_22012025_17_48_41_5078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330634953","file1":"1330634950","file0":"1330634949","file4":"1330634960","file5":"1330634971","file3":"1330634956"},"map_files_photo_id_array":[{"photo_id":"1330634971","filename":"file5"},{"photo_id":"1330634953","filename":"file2"},{"photo_id":"1330634960","filename":"file4"},{"photo_id":"1330634950","filename":"file1"},{"photo_id":"1330634949","filename":"file0"},{"photo_id":"1330634956","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330634949":["hashtag1","hashtag2"]},{"1330634960":["hashtag1","hashtag2"]},{"1330634956":["hashtag1","hashtag2"]},{"1330634971":["hashtag1","hashtag2"]},{"1330634950":["hashtag1","hashtag2"]},{"1330634953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330634949, 1330634960, 1330634956, 1330634971, 1330634950, 1330634953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72831988334656 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:49:42.444760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/49/image_22012025_17_49_53_6468.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_47_5943.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_41_6559.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_34_5711.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_29_6272.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_23_5422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/49/image_22012025_17_49_53_6468.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_47_5943.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_41_6559.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_34_5711.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_29_6272.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_23_5422.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.616504669189453 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:50:03.626455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/49/image_22012025_17_49_53_6468.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_47_5943.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_41_6559.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_34_5711.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_29_6272.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_23_5422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/49/image_22012025_17_49_53_6468.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_47_5943.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_41_6559.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_34_5711.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_29_6272.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_23_5422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330635194","1330635197","1330635191","1330635286","1330635264","1330635261"],"photo_ids_order":["1330635191","1330635194","1330635197","1330635261","1330635264","1330635286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/31e405489505dd06ac91cb1c09c18960.jpg","text":"TemporaryFile(/tmp/multipartBody1528578211508935892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_47_5943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/106ce5ba5bb97965261ebca357fee07b.jpg","text":"TemporaryFile(/tmp/multipartBody6316259775674230281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_41_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/22/ebb0cd2e24b2cb59af2ca8ffd5fc54df.jpg","text":"TemporaryFile(/tmp/multipartBody8687753112024862232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_53_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/22/2101e32d10ff6398f94f54fd9cbc39e2.jpg","text":"TemporaryFile(/tmp/multipartBody6487810463423781451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_23_5422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/af5d137268a7910ffbe0509fcd8b6d3d.jpg","text":"TemporaryFile(/tmp/multipartBody213492785752270229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_29_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/22/2817913b2f38221aaaa9f1a89b95f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody6365524462181766353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564672723,"filename":"image_22012025_17_49_34_5711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330635197","file1":"1330635194","file0":"1330635191","file4":"1330635264","file5":"1330635286","file3":"1330635261"},"map_files_photo_id_array":[{"photo_id":"1330635286","filename":"file5"},{"photo_id":"1330635197","filename":"file2"},{"photo_id":"1330635264","filename":"file4"},{"photo_id":"1330635194","filename":"file1"},{"photo_id":"1330635191","filename":"file0"},{"photo_id":"1330635261","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330635194":["hashtag1","hashtag2"]},{"1330635197":["hashtag1","hashtag2"]},{"1330635191":["hashtag1","hashtag2"]},{"1330635286":["hashtag1","hashtag2"]},{"1330635264":["hashtag1","hashtag2"]},{"1330635261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330635194, 1330635197, 1330635191, 1330635286, 1330635264, 1330635261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.395729303359985 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:51:04.696905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/50/image_22012025_17_50_53_6533.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_47_5642.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_41_5393.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_36_6677.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_29_5411.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_23_6617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/50/image_22012025_17_50_53_6533.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_47_5642.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_41_5393.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_36_6677.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_29_5411.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_23_6617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330635441","1330635494","1330635473","1330635469","1330635498","1330635459"],"photo_ids_order":["1330635441","1330635459","1330635469","1330635473","1330635494","1330635498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b119364fef777aad559e58a9e3499f4.jpg","text":"TemporaryFile(/tmp/multipartBody2757113028017707909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_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/22/435e0e13d8edb2628c805161198a334b.jpg","text":"TemporaryFile(/tmp/multipartBody5550347501600256617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_29_5411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1696fc6d10dce23f8253ff3521bd347f.jpg","text":"TemporaryFile(/tmp/multipartBody8980749888984991410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_36_6677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f030230e7005ba5f154285fc1ce1ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8269879140622480776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_41_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/22/ce8e33a483ac0b035e1037e6763bda31.jpg","text":"TemporaryFile(/tmp/multipartBody2909475699553783079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_23_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/22/636828f12989cd011b9f7a4dfed20676.jpg","text":"TemporaryFile(/tmp/multipartBody4945779520154899696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564741510,"filename":"image_22012025_17_50_47_5642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330635469","file1":"1330635459","file0":"1330635441","file4":"1330635494","file5":"1330635498","file3":"1330635473"},"map_files_photo_id_array":[{"photo_id":"1330635498","filename":"file5"},{"photo_id":"1330635469","filename":"file2"},{"photo_id":"1330635494","filename":"file4"},{"photo_id":"1330635459","filename":"file1"},{"photo_id":"1330635441","filename":"file0"},{"photo_id":"1330635473","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330635441":["hashtag1","hashtag2"]},{"1330635494":["hashtag1","hashtag2"]},{"1330635473":["hashtag1","hashtag2"]},{"1330635469":["hashtag1","hashtag2"]},{"1330635498":["hashtag1","hashtag2"]},{"1330635459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330635441, 1330635494, 1330635473, 1330635469, 1330635498, 1330635459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.11480116844177 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:52:03.430091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/51/image_22012025_17_51_53_6382.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_46_5274.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_41_6491.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_35_5263.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_29_6435.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_23_6501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/51/image_22012025_17_51_53_6382.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_46_5274.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_41_6491.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_35_5263.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_29_6435.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_23_6501.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.91315484046936 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:52:21.996790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/52/image_22012025_17_52_53_6477.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_47_5317.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_42_6519.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_35_6501.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_28_5293.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_23_5606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/52/image_22012025_17_52_53_6477.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_47_5317.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_42_6519.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_35_6501.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_28_5293.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_23_5606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330635782","1330635739","1330635774","1330635753","1330635735","1330635750"],"photo_ids_order":["1330635735","1330635739","1330635750","1330635753","1330635774","1330635782"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b4c012f8896ed3f8ed5c8855877f960.jpg","text":"TemporaryFile(/tmp/multipartBody204153359096309950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_23_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4026c296d132e1b3c32eda60a2307328.jpg","text":"TemporaryFile(/tmp/multipartBody815499802276260106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_47_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/22/674b64003677ea76c467e10da4188eff.jpg","text":"TemporaryFile(/tmp/multipartBody2475025062511605794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_28_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/22/549d93a82b061a66e4ee9ff72a29b8e2.jpg","text":"TemporaryFile(/tmp/multipartBody8520336239502733037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_35_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/22/ffd4279eba5484e6125439a6c2757b60.jpg","text":"TemporaryFile(/tmp/multipartBody8741224797522102822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_53_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/22/692d87099d14a5620d95c24b7c5d3dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5792156887847125623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564811074,"filename":"image_22012025_17_52_42_6519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330635750","file1":"1330635739","file0":"1330635735","file4":"1330635774","file5":"1330635782","file3":"1330635753"},"map_files_photo_id_array":[{"photo_id":"1330635782","filename":"file5"},{"photo_id":"1330635750","filename":"file2"},{"photo_id":"1330635774","filename":"file4"},{"photo_id":"1330635739","filename":"file1"},{"photo_id":"1330635735","filename":"file0"},{"photo_id":"1330635753","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330635782":["hashtag1","hashtag2"]},{"1330635739":["hashtag1","hashtag2"]},{"1330635774":["hashtag1","hashtag2"]},{"1330635753":["hashtag1","hashtag2"]},{"1330635735":["hashtag1","hashtag2"]},{"1330635750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330635782, 1330635739, 1330635774, 1330635753, 1330635735, 1330635750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79609227180481 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:53:22.769485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/53/image_22012025_17_53_53_5236.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_47_6474.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_41_6514.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_34_4867.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_30_7150.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_22_5419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/53/image_22012025_17_53_53_5236.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_47_6474.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_41_6514.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_34_4867.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_30_7150.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_22_5419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636064","1330635997","1330635929","1330636036","1330635972","1330636017"],"photo_ids_order":["1330635929","1330635972","1330635997","1330636017","1330636036","1330636064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59185e25abd1618f3bfa2e3e534c3c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2814297084241197248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_22_5419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f84d1361e2fdc6091da1c248e36ef817.jpg","text":"TemporaryFile(/tmp/multipartBody8991335482180869486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_41_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/22/35c004daff314c52a5552235ebfcbf64.jpg","text":"TemporaryFile(/tmp/multipartBody286045384986958170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_53_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/22/bf76b965005595af79f55bb2c4aa720b.jpg","text":"TemporaryFile(/tmp/multipartBody7772189930267200092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_30_7150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a38a185b11db1621cd86b62f20305ece.jpg","text":"TemporaryFile(/tmp/multipartBody7318621515592786029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_47_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/22/6bc02ee0e763b52de2cda6186e13672e.jpg","text":"TemporaryFile(/tmp/multipartBody4581550290896246223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564879736,"filename":"image_22012025_17_53_34_4867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330635997","file1":"1330635972","file0":"1330635929","file4":"1330636036","file5":"1330636064","file3":"1330636017"},"map_files_photo_id_array":[{"photo_id":"1330636064","filename":"file5"},{"photo_id":"1330635997","filename":"file2"},{"photo_id":"1330636036","filename":"file4"},{"photo_id":"1330635972","filename":"file1"},{"photo_id":"1330635929","filename":"file0"},{"photo_id":"1330636017","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636064":["hashtag1","hashtag2"]},{"1330635997":["hashtag1","hashtag2"]},{"1330635929":["hashtag1","hashtag2"]},{"1330636036":["hashtag1","hashtag2"]},{"1330635972":["hashtag1","hashtag2"]},{"1330636017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636064, 1330635997, 1330635929, 1330636036, 1330635972, 1330636017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.675394773483276 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:54:22.778020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/54/image_22012025_17_54_53_5306.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_47_6573.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_41_5950.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_35_4755.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_30_7627.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_22_5294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/54/image_22012025_17_54_53_5306.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_47_6573.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_41_5950.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_35_4755.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_30_7627.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_22_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":["1330636163","1330636177","1330636194","1330636197","1330636167","1330636172"],"photo_ids_order":["1330636163","1330636167","1330636172","1330636177","1330636194","1330636197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ddbc7102e4dd2f87dde41f38b32aef7e.jpg","text":"TemporaryFile(/tmp/multipartBody6298816973969000223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_53_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/22/da61cc161ac6821ba62205a92786eeb6.jpg","text":"TemporaryFile(/tmp/multipartBody3832831520084832259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_35_4755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a0abcfc4bd0c43c3e66ab3d0902fb02.jpg","text":"TemporaryFile(/tmp/multipartBody1588648828252382727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_30_7627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f122d8d97029fd1a8631555234aaecef.jpg","text":"TemporaryFile(/tmp/multipartBody628607438562118939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_22_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/22/213dbd1ec3ba93ce143e38ee1fba21c2.jpg","text":"TemporaryFile(/tmp/multipartBody8733605634237032677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_47_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/22/94ef8ec1a7616e7f2b65f75b3fbb2aea.jpg","text":"TemporaryFile(/tmp/multipartBody9182773910980500456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564933834,"filename":"image_22012025_17_54_41_5950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636172","file1":"1330636167","file0":"1330636163","file4":"1330636194","file5":"1330636197","file3":"1330636177"},"map_files_photo_id_array":[{"photo_id":"1330636197","filename":"file5"},{"photo_id":"1330636172","filename":"file2"},{"photo_id":"1330636194","filename":"file4"},{"photo_id":"1330636167","filename":"file1"},{"photo_id":"1330636163","filename":"file0"},{"photo_id":"1330636177","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636163":["hashtag1","hashtag2"]},{"1330636177":["hashtag1","hashtag2"]},{"1330636194":["hashtag1","hashtag2"]},{"1330636197":["hashtag1","hashtag2"]},{"1330636167":["hashtag1","hashtag2"]},{"1330636172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636163, 1330636177, 1330636194, 1330636197, 1330636167, 1330636172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.97652292251587 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:55:21.876127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/55/image_22012025_17_55_53_6487.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_47_5268.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_41_6503.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_35_4835.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_30_6423.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_24_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/55/image_22012025_17_55_53_6487.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_47_5268.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_41_6503.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_35_4835.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_30_6423.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_24_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":["1330636247","1330636256","1330636270","1330636261","1330636266","1330636251"],"photo_ids_order":["1330636247","1330636251","1330636256","1330636261","1330636266","1330636270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c899b236f06b0a88851ab6cf5442ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1708248856671110873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_53_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/22/8751b11c648c0c5dac551c0761c34917.jpg","text":"TemporaryFile(/tmp/multipartBody6047589145077912401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_41_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/22/34293bd44292a2dd56773c7f791eb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody192911029664143041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_24_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/22/7c7df180e236973528ec91718df51fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1056535333038967650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_35_4835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/212dfbcc03be1d55e17d0dc0e8b1da30.jpg","text":"TemporaryFile(/tmp/multipartBody5560418697004790789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_30_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/22/c9b956d029dc00a7ca82e4d86b23db70.jpg","text":"TemporaryFile(/tmp/multipartBody9090281552213002783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737564992894,"filename":"image_22012025_17_55_47_5268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636256","file1":"1330636251","file0":"1330636247","file4":"1330636266","file5":"1330636270","file3":"1330636261"},"map_files_photo_id_array":[{"photo_id":"1330636270","filename":"file5"},{"photo_id":"1330636256","filename":"file2"},{"photo_id":"1330636266","filename":"file4"},{"photo_id":"1330636251","filename":"file1"},{"photo_id":"1330636247","filename":"file0"},{"photo_id":"1330636261","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636247":["hashtag1","hashtag2"]},{"1330636256":["hashtag1","hashtag2"]},{"1330636270":["hashtag1","hashtag2"]},{"1330636261":["hashtag1","hashtag2"]},{"1330636266":["hashtag1","hashtag2"]},{"1330636251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636247, 1330636256, 1330636270, 1330636261, 1330636266, 1330636251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.77293109893799 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:56:22.171368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/56/image_22012025_17_56_53_6502.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_47_5285.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_41_6555.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_35_5764.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_30_5275.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_24_7042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/56/image_22012025_17_56_53_6502.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_47_5285.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_41_6555.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_35_5764.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_30_5275.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_24_7042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636282","1330636288","1330636299","1330636296","1330636284","1330636292"],"photo_ids_order":["1330636282","1330636284","1330636288","1330636292","1330636296","1330636299"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a28af6277f161ff15d69658154b79de.jpg","text":"TemporaryFile(/tmp/multipartBody6535735334731145776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_53_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/22/c950fb8bd9a560c7b274c00efcf5044f.jpg","text":"TemporaryFile(/tmp/multipartBody2014505307798433128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_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/22/07982179afa762d4a144341bbff93fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7098446298375257313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_24_7042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f0ad10eff99277b0675e4b469b495075.jpg","text":"TemporaryFile(/tmp/multipartBody7734014033984846598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_30_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/22/50f01b53418dcb54b429596bf29faee8.jpg","text":"TemporaryFile(/tmp/multipartBody8956096155372304704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_47_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/22/f768b00b3e4e010a6dddc2ec3845995e.jpg","text":"TemporaryFile(/tmp/multipartBody7477987461116238275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565055110,"filename":"image_22012025_17_56_35_5764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636288","file1":"1330636284","file0":"1330636282","file4":"1330636296","file5":"1330636299","file3":"1330636292"},"map_files_photo_id_array":[{"photo_id":"1330636299","filename":"file5"},{"photo_id":"1330636288","filename":"file2"},{"photo_id":"1330636296","filename":"file4"},{"photo_id":"1330636284","filename":"file1"},{"photo_id":"1330636282","filename":"file0"},{"photo_id":"1330636292","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636282":["hashtag1","hashtag2"]},{"1330636288":["hashtag1","hashtag2"]},{"1330636299":["hashtag1","hashtag2"]},{"1330636296":["hashtag1","hashtag2"]},{"1330636284":["hashtag1","hashtag2"]},{"1330636292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636282, 1330636288, 1330636299, 1330636296, 1330636284, 1330636292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65322422981262 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 17:57:22.173971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_36_6832.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_29_6571.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_23_5325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_36_6832.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_29_6571.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_23_5325.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 --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-22 17:59:05.561556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/58/image_22012025_17_58_52_5295.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_47_6573.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_41_5115.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_36_5658.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_30_6640.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_24_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/58/image_22012025_17_58_52_5295.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_47_6573.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_41_5115.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_36_5658.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_30_6640.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_24_6573.jpg
2025-01-22 17:59:05.535805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/58/image_22012025_17_58_52_5295.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_47_6573.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_41_5115.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_36_5658.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_30_6640.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_24_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/58/image_22012025_17_58_52_5295.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_47_6573.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_41_5115.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_36_5658.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_30_6640.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_24_6573.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":["1330636403","1330636406","1330636398","1330636386","1330636410","1330636413"],"photo_ids_order":["1330636386","1330636398","1330636403","1330636406","1330636410","1330636413"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/23faf7cedabca85b3bdf9cc7be48db9d.jpg","text":"TemporaryFile(/tmp/multipartBody1491728257481277065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_41_5115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/300d8c3b36cc71f83cb48741663328f1.jpg","text":"TemporaryFile(/tmp/multipartBody8326881880927815548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_36_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1bccc2975b5d04f4922cabea275504fe.jpg","text":"TemporaryFile(/tmp/multipartBody430190923466349025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_47_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/22/cca6ad037a4e00472a2446b413ceada2.jpg","text":"TemporaryFile(/tmp/multipartBody1215571682144033441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_52_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/22/a2ef3035cbf2cbe5c3537c9e84a2f113.jpg","text":"TemporaryFile(/tmp/multipartBody7074864501081085617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_30_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/37b7846fc8121e20121deb919cbddc9f.jpg","text":"TemporaryFile(/tmp/multipartBody4493763496186356687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565226362,"filename":"image_22012025_17_58_24_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636403","file1":"1330636398","file0":"1330636386","file4":"1330636410","file5":"1330636413","file3":"1330636406"},"map_files_photo_id_array":[{"photo_id":"1330636413","filename":"file5"},{"photo_id":"1330636403","filename":"file2"},{"photo_id":"1330636410","filename":"file4"},{"photo_id":"1330636398","filename":"file1"},{"photo_id":"1330636386","filename":"file0"},{"photo_id":"1330636406","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636403":["hashtag1","hashtag2"]},{"1330636406":["hashtag1","hashtag2"]},{"1330636398":["hashtag1","hashtag2"]},{"1330636386":["hashtag1","hashtag2"]},{"1330636410":["hashtag1","hashtag2"]},{"1330636413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636403, 1330636406, 1330636398, 1330636386, 1330636410, 1330636413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18895149230957 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636409","1330636399","1330636387","1330636414","1330636402","1330636405"],"photo_ids_order":["1330636387","1330636399","1330636402","1330636405","1330636409","1330636414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0189d709d5b39e9d022e42c327de2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2630254433384029828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_30_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e48dde823ceff2c2a445c40775d52b74.jpg","text":"TemporaryFile(/tmp/multipartBody5238822071292467375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_47_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/22/bb74a946823bb5e52abc7203d386efd3.jpg","text":"TemporaryFile(/tmp/multipartBody5178810374633324101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_52_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/22/1cccfe6dd1d985a22cccf498dfbac4dc.jpg","text":"TemporaryFile(/tmp/multipartBody5657464754901273976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_24_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/22/00dca1e2130f329b886ef93606547c2d.jpg","text":"TemporaryFile(/tmp/multipartBody2186893931596624210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_41_5115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/355b5d4f0cd112cc3b50e9ff8b07ff31.jpg","text":"TemporaryFile(/tmp/multipartBody7470409569153152543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565227151,"filename":"image_22012025_17_58_36_5658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636402","file1":"1330636399","file0":"1330636387","file4":"1330636409","file5":"1330636414","file3":"1330636405"},"map_files_photo_id_array":[{"photo_id":"1330636414","filename":"file5"},{"photo_id":"1330636402","filename":"file2"},{"photo_id":"1330636409","filename":"file4"},{"photo_id":"1330636399","filename":"file1"},{"photo_id":"1330636387","filename":"file0"},{"photo_id":"1330636405","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636409":["hashtag1","hashtag2"]},{"1330636399":["hashtag1","hashtag2"]},{"1330636387":["hashtag1","hashtag2"]},{"1330636414":["hashtag1","hashtag2"]},{"1330636402":["hashtag1","hashtag2"]},{"1330636405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636409, 1330636399, 1330636387, 1330636414, 1330636402, 1330636405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.425583600997925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:00:21.854479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/00/image_22012025_18_00_53_5211.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_47_6470.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_41_6508.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_34_5289.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_29_5732.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_24_6288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/00/image_22012025_18_00_53_5211.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_47_6470.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_41_6508.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_34_5289.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_29_5732.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_24_6288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636487","1330636457","1330636486","1330636468","1330636464","1330636484"],"photo_ids_order":["1330636457","1330636464","1330636468","1330636484","1330636486","1330636487"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dcf673632c3784fd39e28e0e6942a122.jpg","text":"TemporaryFile(/tmp/multipartBody282543419756575525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_24_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/22/451e71b171cf661fe81273fcd581374c.jpg","text":"TemporaryFile(/tmp/multipartBody7197993660023812931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_53_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/22/d6bf7ac5a4107e9d4415ceda78812f88.jpg","text":"TemporaryFile(/tmp/multipartBody7627741217433790952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_29_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81036c764a42072e15f4b46dfbed19d6.jpg","text":"TemporaryFile(/tmp/multipartBody3221818106717935587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_41_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/22/ec7e2114c3edfaafa32c59fa16e5b404.jpg","text":"TemporaryFile(/tmp/multipartBody7630758308463413746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_47_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/22/0ee3c937033c5332a7b51af35fcc657a.jpg","text":"TemporaryFile(/tmp/multipartBody1472821232323076753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565296053,"filename":"image_22012025_18_00_34_5289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636468","file1":"1330636464","file0":"1330636457","file4":"1330636486","file5":"1330636487","file3":"1330636484"},"map_files_photo_id_array":[{"photo_id":"1330636487","filename":"file5"},{"photo_id":"1330636468","filename":"file2"},{"photo_id":"1330636486","filename":"file4"},{"photo_id":"1330636464","filename":"file1"},{"photo_id":"1330636457","filename":"file0"},{"photo_id":"1330636484","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636487":["hashtag1","hashtag2"]},{"1330636457":["hashtag1","hashtag2"]},{"1330636486":["hashtag1","hashtag2"]},{"1330636468":["hashtag1","hashtag2"]},{"1330636464":["hashtag1","hashtag2"]},{"1330636484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636487, 1330636457, 1330636486, 1330636468, 1330636464, 1330636484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.83858251571655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:01:22.093600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/01/image_22012025_18_01_53_5327.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_47_6594.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_41_5777.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_35_5428.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_30_6627.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_23_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/01/image_22012025_18_01_53_5327.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_47_6594.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_41_5777.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_35_5428.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_30_6627.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_23_5285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636571","1330636574","1330636588","1330636584","1330636581","1330636577"],"photo_ids_order":["1330636571","1330636574","1330636577","1330636581","1330636584","1330636588"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9bd092be0b00ce621bea3a4e36728e89.jpg","text":"TemporaryFile(/tmp/multipartBody330316901385507401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_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/22/395e76145a953bfc1c7be3025d08a422.jpg","text":"TemporaryFile(/tmp/multipartBody5072467720646036377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_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/22/f6a636970c5a824a0e05156613680873.jpg","text":"TemporaryFile(/tmp/multipartBody5343183016832980936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_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/22/2da59e3d4e558504b2591bf2012e60e3.jpg","text":"TemporaryFile(/tmp/multipartBody2414856533008963248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_30_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/22/e6855160019e2682a6fad8e774835963.jpg","text":"TemporaryFile(/tmp/multipartBody2204043841148131345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_35_5428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f099245741b584e1454fdaffbd18aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6413362946636913122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565360508,"filename":"image_22012025_18_01_41_5777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636577","file1":"1330636574","file0":"1330636571","file4":"1330636584","file5":"1330636588","file3":"1330636581"},"map_files_photo_id_array":[{"photo_id":"1330636588","filename":"file5"},{"photo_id":"1330636577","filename":"file2"},{"photo_id":"1330636584","filename":"file4"},{"photo_id":"1330636574","filename":"file1"},{"photo_id":"1330636571","filename":"file0"},{"photo_id":"1330636581","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636571":["hashtag1","hashtag2"]},{"1330636574":["hashtag1","hashtag2"]},{"1330636588":["hashtag1","hashtag2"]},{"1330636584":["hashtag1","hashtag2"]},{"1330636581":["hashtag1","hashtag2"]},{"1330636577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636571, 1330636574, 1330636588, 1330636584, 1330636581, 1330636577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.28378653526306 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:02:22.250220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/02/image_22012025_18_02_53_6771.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_47_5443.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_41_5874.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_35_6150.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_30_6235.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_23_6562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/02/image_22012025_18_02_53_6771.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_47_5443.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_41_5874.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_35_6150.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_30_6235.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_23_6562.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.265272855758667 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:02:42.148861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/02/image_22012025_18_02_53_6771.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_47_5443.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_41_5874.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_35_6150.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_30_6235.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_23_6562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/02/image_22012025_18_02_53_6771.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_47_5443.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_41_5874.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_35_6150.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_30_6235.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_23_6562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636790","1330636799","1330636803","1330636793","1330636787","1330636796"],"photo_ids_order":["1330636787","1330636790","1330636793","1330636796","1330636799","1330636803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ee486c5b7a314144458d9c3e21a70d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2327937017211709382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_47_5443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a263aa52b7a288593ea972adef54320.jpg","text":"TemporaryFile(/tmp/multipartBody5551357527392477607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_30_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/22/1013162b72329e237a7942c8655c5902.jpg","text":"TemporaryFile(/tmp/multipartBody1675700512156595458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_23_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/22/a2c2e6d3731afdefe855556247212ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7352732213085100713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_41_5874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ed35ad7eeed2e044f110c3a9e3c2da8.jpg","text":"TemporaryFile(/tmp/multipartBody6912296357354102514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_53_6771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3dcc07809ba4d2633938cf70a525356.jpg","text":"TemporaryFile(/tmp/multipartBody6776102293137223724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565430659,"filename":"image_22012025_18_02_35_6150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636793","file1":"1330636790","file0":"1330636787","file4":"1330636799","file5":"1330636803","file3":"1330636796"},"map_files_photo_id_array":[{"photo_id":"1330636803","filename":"file5"},{"photo_id":"1330636793","filename":"file2"},{"photo_id":"1330636799","filename":"file4"},{"photo_id":"1330636790","filename":"file1"},{"photo_id":"1330636787","filename":"file0"},{"photo_id":"1330636796","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636790":["hashtag1","hashtag2"]},{"1330636799":["hashtag1","hashtag2"]},{"1330636803":["hashtag1","hashtag2"]},{"1330636793":["hashtag1","hashtag2"]},{"1330636787":["hashtag1","hashtag2"]},{"1330636796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636790, 1330636799, 1330636803, 1330636793, 1330636787, 1330636796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77930784225464 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:03:42.667710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/03/image_22012025_18_03_52_5891.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_47_6173.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_40_5249.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_35_6517.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_29_6038.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_23_5519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/03/image_22012025_18_03_52_5891.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_47_6173.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_40_5249.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_35_6517.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_29_6038.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_23_5519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330636847","1330636882","1330636852","1330636878","1330636857","1330636880"],"photo_ids_order":["1330636847","1330636852","1330636857","1330636878","1330636880","1330636882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7266e33de3f8f93adf2b264f198aae07.jpg","text":"TemporaryFile(/tmp/multipartBody6593899879523949998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_52_5891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f66aa1754468de217bb7b03d83a1a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3943510413131059788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_23_5519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c67a943ec6e17f6463561222e8aa38e.jpg","text":"TemporaryFile(/tmp/multipartBody4947998826453225430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_47_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/22/08077fd5dd7a128e23528aaf8659a756.jpg","text":"TemporaryFile(/tmp/multipartBody8144772500461511775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_35_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/22/e2c3898998636673b36bb673537d2645.jpg","text":"TemporaryFile(/tmp/multipartBody5305016878785706864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_40_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/22/e6e36ea23209bd4b4d553068fd3561f9.jpg","text":"TemporaryFile(/tmp/multipartBody4338359791207346668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565493630,"filename":"image_22012025_18_03_29_6038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330636857","file1":"1330636852","file0":"1330636847","file4":"1330636880","file5":"1330636882","file3":"1330636878"},"map_files_photo_id_array":[{"photo_id":"1330636882","filename":"file5"},{"photo_id":"1330636857","filename":"file2"},{"photo_id":"1330636880","filename":"file4"},{"photo_id":"1330636852","filename":"file1"},{"photo_id":"1330636847","filename":"file0"},{"photo_id":"1330636878","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330636847":["hashtag1","hashtag2"]},{"1330636882":["hashtag1","hashtag2"]},{"1330636852":["hashtag1","hashtag2"]},{"1330636878":["hashtag1","hashtag2"]},{"1330636857":["hashtag1","hashtag2"]},{"1330636880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330636847, 1330636882, 1330636852, 1330636878, 1330636857, 1330636880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.85003185272217 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:04:42.732582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/04/image_22012025_18_04_54_6950.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_47_5316.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_42_6526.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_35_6482.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_28_5337.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_23_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/04/image_22012025_18_04_54_6950.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_47_5316.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_42_6526.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_35_6482.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_28_5337.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_23_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":["1330637126","1330637012","1330636999","1330637122","1330637034","1330637007"],"photo_ids_order":["1330636999","1330637007","1330637012","1330637034","1330637122","1330637126"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d35531a26666517a3997e753164fe447.jpg","text":"TemporaryFile(/tmp/multipartBody3340021459224595806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_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/22/e4a764425b53a6c943e8d310c3b03dab.jpg","text":"TemporaryFile(/tmp/multipartBody408867255206328830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_42_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/22/d0bc5a7cbc55881939262fd581554f1f.jpg","text":"TemporaryFile(/tmp/multipartBody228028331178103379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_54_6950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b78e470c56192722e648d13aedbb59e6.jpg","text":"TemporaryFile(/tmp/multipartBody498283057404305029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_28_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/22/181231db39e84244a2caf2accc394dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3531952696098272100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_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/22/4b2b5fbea2d1a53a890024dd85a1c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody6745691632946105890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565560550,"filename":"image_22012025_18_04_47_5316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637012","file1":"1330637007","file0":"1330636999","file4":"1330637122","file5":"1330637126","file3":"1330637034"},"map_files_photo_id_array":[{"photo_id":"1330637126","filename":"file5"},{"photo_id":"1330637012","filename":"file2"},{"photo_id":"1330637122","filename":"file4"},{"photo_id":"1330637007","filename":"file1"},{"photo_id":"1330636999","filename":"file0"},{"photo_id":"1330637034","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637126":["hashtag1","hashtag2"]},{"1330637012":["hashtag1","hashtag2"]},{"1330636999":["hashtag1","hashtag2"]},{"1330637122":["hashtag1","hashtag2"]},{"1330637034":["hashtag1","hashtag2"]},{"1330637007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637126, 1330637012, 1330636999, 1330637122, 1330637034, 1330637007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.61261963844299 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:05:42.997184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/05/image_22012025_18_05_54_6262.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_41_6740.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_34_5560.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_29_5409.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_23_6537.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_17_5689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/05/image_22012025_18_05_54_6262.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_41_6740.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_34_5560.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_29_5409.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_23_6537.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_17_5689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637309","1330637300","1330637305","1330637283","1330637313","1330637297"],"photo_ids_order":["1330637283","1330637297","1330637300","1330637305","1330637309","1330637313"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d82c69fdf67cc717eb42edc3bbc42389.jpg","text":"TemporaryFile(/tmp/multipartBody651187471927320026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_23_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/22/335b9a099598caf8de1730be0aba4ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6424175332324837664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_34_5560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0695254008d7187417e86db2dc1effa6.jpg","text":"TemporaryFile(/tmp/multipartBody5506774443006986159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_29_5409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5793fc339e7636a31d7ec9248cd0397b.jpg","text":"TemporaryFile(/tmp/multipartBody6518109187538480521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_54_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/22/c95888076b62dd9e19c98fe2fea30be3.jpg","text":"TemporaryFile(/tmp/multipartBody8998558116330790882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_17_5689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a98e49eaf3c584cc954f2ab0b4d49b68.jpg","text":"TemporaryFile(/tmp/multipartBody2844135346433691857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565626212,"filename":"image_22012025_18_05_41_6740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637300","file1":"1330637297","file0":"1330637283","file4":"1330637309","file5":"1330637313","file3":"1330637305"},"map_files_photo_id_array":[{"photo_id":"1330637313","filename":"file5"},{"photo_id":"1330637300","filename":"file2"},{"photo_id":"1330637309","filename":"file4"},{"photo_id":"1330637297","filename":"file1"},{"photo_id":"1330637283","filename":"file0"},{"photo_id":"1330637305","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637309":["hashtag1","hashtag2"]},{"1330637300":["hashtag1","hashtag2"]},{"1330637305":["hashtag1","hashtag2"]},{"1330637283":["hashtag1","hashtag2"]},{"1330637313":["hashtag1","hashtag2"]},{"1330637297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637309, 1330637300, 1330637305, 1330637283, 1330637313, 1330637297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.71146845817566 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:06:42.430202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/06/image_22012025_18_06_35_5423.jpg', '/media/data/images/22012025/18/06/image_22012025_18_06_29_6668.jpg', '/media/data/images/22012025/18/06/image_22012025_18_06_23_5406.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_59_5673.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_11_6099.jpg', '/media/data/images/22012025/18/05/image_22012025_18_05_05_6101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/06/image_22012025_18_06_35_5423.jpg
/media/data/images/22012025/18/06/image_22012025_18_06_29_6668.jpg
/media/data/images/22012025/18/06/image_22012025_18_06_23_5406.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_59_5673.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_11_6099.jpg
/media/data/images/22012025/18/05/image_22012025_18_05_05_6101.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637341","1330637344","1330637338","1330637326","1330637334","1330637330"],"photo_ids_order":["1330637326","1330637330","1330637334","1330637338","1330637341","1330637344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c6e9fddf21b3c713ebaf83d2febaa00d.jpg","text":"TemporaryFile(/tmp/multipartBody5637164579452185088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_05_11_6099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bce644a5c802a781685e0e211db2b060.jpg","text":"TemporaryFile(/tmp/multipartBody93169010945107105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_05_05_6101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ecdcd397c5907ff3d0b2a68e85ae9646.jpg","text":"TemporaryFile(/tmp/multipartBody5547847836508918450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_05_59_5673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/827daec48dd3cd8771755b8e9b9ca640.jpg","text":"TemporaryFile(/tmp/multipartBody122004289896684626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_06_35_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/22/7ee6899c427e889b28e5deb3b1535daa.jpg","text":"TemporaryFile(/tmp/multipartBody992878705104908808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_06_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/22/b583cc3c6bc2eb77345df07a37f43be0.jpg","text":"TemporaryFile(/tmp/multipartBody2515326750904709645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565675208,"filename":"image_22012025_18_06_29_6668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637334","file1":"1330637330","file0":"1330637326","file4":"1330637341","file5":"1330637344","file3":"1330637338"},"map_files_photo_id_array":[{"photo_id":"1330637344","filename":"file5"},{"photo_id":"1330637334","filename":"file2"},{"photo_id":"1330637341","filename":"file4"},{"photo_id":"1330637330","filename":"file1"},{"photo_id":"1330637326","filename":"file0"},{"photo_id":"1330637338","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637341":["hashtag1","hashtag2"]},{"1330637344":["hashtag1","hashtag2"]},{"1330637338":["hashtag1","hashtag2"]},{"1330637326":["hashtag1","hashtag2"]},{"1330637334":["hashtag1","hashtag2"]},{"1330637330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637341, 1330637344, 1330637338, 1330637326, 1330637334, 1330637330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.17522597312927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:07:42.416119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/07/image_22012025_18_07_47_5613.jpg', '/media/data/images/22012025/18/07/image_22012025_18_07_34_5497.jpg', '/media/data/images/22012025/18/07/image_22012025_18_07_12_6781.jpg', '/media/data/images/22012025/18/06/image_22012025_18_07_00_6347.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_59_5332.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_17_4666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/07/image_22012025_18_07_47_5613.jpg
/media/data/images/22012025/18/07/image_22012025_18_07_34_5497.jpg
/media/data/images/22012025/18/07/image_22012025_18_07_12_6781.jpg
/media/data/images/22012025/18/06/image_22012025_18_07_00_6347.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_59_5332.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_17_4666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637374","1330637379","1330637370","1330637376","1330637381","1330637372"],"photo_ids_order":["1330637370","1330637372","1330637374","1330637376","1330637379","1330637381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adda8f676d424dc9cc7789ad1af6d02a.jpg","text":"TemporaryFile(/tmp/multipartBody1571133113216294958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_07_12_6781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d628449146a402183b39fa14b85d2349.jpg","text":"TemporaryFile(/tmp/multipartBody4421342329634563761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_04_59_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/22/f8e4c24ef3068f52813b52923c8c3cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4592084538124633189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_07_47_5613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9410a473216172e10caa1ba74e689ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1330401013774691180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_07_00_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/22/d054b6e3ad4b47bf581a3015cbe0456e.jpg","text":"TemporaryFile(/tmp/multipartBody9005474567698640557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_04_17_4666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d55e669f3dc55a721540c037a42341ad.jpg","text":"TemporaryFile(/tmp/multipartBody7670469087094881489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565758499,"filename":"image_22012025_18_07_34_5497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637374","file1":"1330637372","file0":"1330637370","file4":"1330637379","file5":"1330637381","file3":"1330637376"},"map_files_photo_id_array":[{"photo_id":"1330637381","filename":"file5"},{"photo_id":"1330637374","filename":"file2"},{"photo_id":"1330637379","filename":"file4"},{"photo_id":"1330637372","filename":"file1"},{"photo_id":"1330637370","filename":"file0"},{"photo_id":"1330637376","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637374":["hashtag1","hashtag2"]},{"1330637379":["hashtag1","hashtag2"]},{"1330637370":["hashtag1","hashtag2"]},{"1330637376":["hashtag1","hashtag2"]},{"1330637381":["hashtag1","hashtag2"]},{"1330637372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637374, 1330637379, 1330637370, 1330637376, 1330637381, 1330637372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.5062325000763 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 18:09:05.691828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/07/image_22012025_18_07_59_6255.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_12_6944.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_05_5997.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_59_6528.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_17_5572.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_12_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/07/image_22012025_18_07_59_6255.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_12_6944.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_05_5997.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_59_6528.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_17_5572.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_12_6411.jpg
2025-01-22 18:09:06.074264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/07/image_22012025_18_07_59_6255.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_12_6944.jpg', '/media/data/images/22012025/18/04/image_22012025_18_04_05_5997.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_59_6528.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_17_5572.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_12_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/07/image_22012025_18_07_59_6255.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_12_6944.jpg
/media/data/images/22012025/18/04/image_22012025_18_04_05_5997.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_59_6528.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_17_5572.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_12_6411.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":["1330637422","1330637425","1330637428","1330637466","1330637418","1330637471"],"photo_ids_order":["1330637418","1330637422","1330637425","1330637428","1330637466","1330637471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/55e9397f9269386e33c90c95cfff464e.jpg","text":"TemporaryFile(/tmp/multipartBody8055350677775442617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_04_12_6944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1a216a5bf66cb956f4848bca7d06022e.jpg","text":"TemporaryFile(/tmp/multipartBody3089566085384817598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_04_05_5997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/73b0bdc57c7f1b3e04ab6a85b5f8b703.jpg","text":"TemporaryFile(/tmp/multipartBody7668436523972676837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_03_59_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/22/305b5d956c4edb51fa84052feb621db0.jpg","text":"TemporaryFile(/tmp/multipartBody3602385449042079192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_03_17_5572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a825ede9f36924ed58ef748c85e373d1.jpg","text":"TemporaryFile(/tmp/multipartBody8619869280633948099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_07_59_6255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8bb60c7980c3c307a62c78dfed93d98.jpg","text":"TemporaryFile(/tmp/multipartBody2016249222671818824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843713,"filename":"image_22012025_18_03_12_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637425","file1":"1330637422","file0":"1330637418","file4":"1330637466","file5":"1330637471","file3":"1330637428"},"map_files_photo_id_array":[{"photo_id":"1330637471","filename":"file5"},{"photo_id":"1330637425","filename":"file2"},{"photo_id":"1330637466","filename":"file4"},{"photo_id":"1330637422","filename":"file1"},{"photo_id":"1330637418","filename":"file0"},{"photo_id":"1330637428","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637422":["hashtag1","hashtag2"]},{"1330637425":["hashtag1","hashtag2"]},{"1330637428":["hashtag1","hashtag2"]},{"1330637466":["hashtag1","hashtag2"]},{"1330637418":["hashtag1","hashtag2"]},{"1330637471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637422, 1330637425, 1330637428, 1330637466, 1330637418, 1330637471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.46205449104309 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637429","1330637423","1330637419","1330637475","1330637468","1330637426"],"photo_ids_order":["1330637419","1330637423","1330637426","1330637429","1330637468","1330637475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/917cc3f2f6a022b668cbcdaef167c0be.jpg","text":"TemporaryFile(/tmp/multipartBody1293688930262370900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_03_59_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/22/cc8b770712cefd8ef4bd7d58f7e7730c.jpg","text":"TemporaryFile(/tmp/multipartBody4486072179154055181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_04_12_6944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/94fbace1155ac8f560312471c27753b9.jpg","text":"TemporaryFile(/tmp/multipartBody8619849104436197060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_07_59_6255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f49be922c9d85a34d56193a5fa37d57.jpg","text":"TemporaryFile(/tmp/multipartBody6309046231494468681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_03_12_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/22/3bd44a7b06f3ba2366f9df54b6caf07f.jpg","text":"TemporaryFile(/tmp/multipartBody813953072351891465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_03_17_5572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3102f649ad55a5a709886e07961143c1.jpg","text":"TemporaryFile(/tmp/multipartBody3432647668603422962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565843933,"filename":"image_22012025_18_04_05_5997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637426","file1":"1330637423","file0":"1330637419","file4":"1330637468","file5":"1330637475","file3":"1330637429"},"map_files_photo_id_array":[{"photo_id":"1330637475","filename":"file5"},{"photo_id":"1330637426","filename":"file2"},{"photo_id":"1330637468","filename":"file4"},{"photo_id":"1330637423","filename":"file1"},{"photo_id":"1330637419","filename":"file0"},{"photo_id":"1330637429","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637429":["hashtag1","hashtag2"]},{"1330637423":["hashtag1","hashtag2"]},{"1330637419":["hashtag1","hashtag2"]},{"1330637475":["hashtag1","hashtag2"]},{"1330637468":["hashtag1","hashtag2"]},{"1330637426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637429, 1330637423, 1330637419, 1330637475, 1330637468, 1330637426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.49300980567932 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:10:21.977673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/10/image_22012025_18_10_35_5715.jpg', '/media/data/images/22012025/18/10/image_22012025_18_10_29_6316.jpg', '/media/data/images/22012025/18/10/image_22012025_18_10_23_5185.jpg', '/media/data/images/22012025/18/10/image_22012025_18_10_13_7007.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_59_5499.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_46_5573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/10/image_22012025_18_10_35_5715.jpg
/media/data/images/22012025/18/10/image_22012025_18_10_29_6316.jpg
/media/data/images/22012025/18/10/image_22012025_18_10_23_5185.jpg
/media/data/images/22012025/18/10/image_22012025_18_10_13_7007.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_59_5499.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_46_5573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637516","1330637539","1330637530","1330637535","1330637520","1330637525"],"photo_ids_order":["1330637516","1330637520","1330637525","1330637530","1330637535","1330637539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cc5a080111735a6609d0b2843b8abd34.jpg","text":"TemporaryFile(/tmp/multipartBody5892021772452829901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_10_35_5715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab5bb465285d37ddc554e5e6136c440f.jpg","text":"TemporaryFile(/tmp/multipartBody2245639723562914609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_09_46_5573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/15fda8eaadded5d624d6d0bfe7d572be.jpg","text":"TemporaryFile(/tmp/multipartBody5252564371431770127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_10_13_7007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf1f5b175a64a4304a72c23316b5244f.jpg","text":"TemporaryFile(/tmp/multipartBody6330963141024240577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_09_59_5499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2674ef6c977c98939b4ede29c449d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7059788425876924627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_10_29_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/22/ed8cc1e0e23d5aa9fe6b1ee831d23a60.jpg","text":"TemporaryFile(/tmp/multipartBody9012837603554772921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565897694,"filename":"image_22012025_18_10_23_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637525","file1":"1330637520","file0":"1330637516","file4":"1330637535","file5":"1330637539","file3":"1330637530"},"map_files_photo_id_array":[{"photo_id":"1330637539","filename":"file5"},{"photo_id":"1330637525","filename":"file2"},{"photo_id":"1330637535","filename":"file4"},{"photo_id":"1330637520","filename":"file1"},{"photo_id":"1330637516","filename":"file0"},{"photo_id":"1330637530","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637516":["hashtag1","hashtag2"]},{"1330637539":["hashtag1","hashtag2"]},{"1330637530":["hashtag1","hashtag2"]},{"1330637535":["hashtag1","hashtag2"]},{"1330637520":["hashtag1","hashtag2"]},{"1330637525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637516, 1330637539, 1330637530, 1330637535, 1330637520, 1330637525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.67195653915405 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:11:22.160286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/11/image_22012025_18_11_52_5299.jpg', '/media/data/images/22012025/18/11/image_22012025_18_11_47_6661.jpg', '/media/data/images/22012025/18/11/image_22012025_18_11_18_6151.jpg', '/media/data/images/22012025/18/11/image_22012025_18_11_05_5354.jpg', '/media/data/images/22012025/18/10/image_22012025_18_11_00_6839.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_41_5500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/11/image_22012025_18_11_52_5299.jpg
/media/data/images/22012025/18/11/image_22012025_18_11_47_6661.jpg
/media/data/images/22012025/18/11/image_22012025_18_11_18_6151.jpg
/media/data/images/22012025/18/11/image_22012025_18_11_05_5354.jpg
/media/data/images/22012025/18/10/image_22012025_18_11_00_6839.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_41_5500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330637569","1330637554","1330637557","1330637573","1330637561","1330637564"],"photo_ids_order":["1330637554","1330637557","1330637561","1330637564","1330637569","1330637573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b17da2e207191217621296bc380f348.jpg","text":"TemporaryFile(/tmp/multipartBody2524133951313777916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_11_00_6839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2016cc89c1bdf7aafa8326f8fc695c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2910598285573539344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_11_52_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/22/a9b4abd37780073002f2b1499ea54e25.jpg","text":"TemporaryFile(/tmp/multipartBody2945651615899455818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_11_47_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f5c1d21f6e4f68be9f010f1ac0b03a59.jpg","text":"TemporaryFile(/tmp/multipartBody1707437288510013512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_09_41_5500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/efebed8654b6bd4c984b1f467667c9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8155069571100908797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_11_18_6151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/589371f8c510602adcec79fa56c82d49.jpg","text":"TemporaryFile(/tmp/multipartBody9113304468581550232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737565967048,"filename":"image_22012025_18_11_05_5354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330637561","file1":"1330637557","file0":"1330637554","file4":"1330637569","file5":"1330637573","file3":"1330637564"},"map_files_photo_id_array":[{"photo_id":"1330637573","filename":"file5"},{"photo_id":"1330637561","filename":"file2"},{"photo_id":"1330637569","filename":"file4"},{"photo_id":"1330637557","filename":"file1"},{"photo_id":"1330637554","filename":"file0"},{"photo_id":"1330637564","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330637569":["hashtag1","hashtag2"]},{"1330637554":["hashtag1","hashtag2"]},{"1330637557":["hashtag1","hashtag2"]},{"1330637573":["hashtag1","hashtag2"]},{"1330637561":["hashtag1","hashtag2"]},{"1330637564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330637569, 1330637554, 1330637557, 1330637573, 1330637561, 1330637564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.058204650878906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:12:22.346768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/12/image_22012025_18_12_53_5314.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_48_7193.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_41_6005.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_35_5760.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_29_5978.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_23_5413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/12/image_22012025_18_12_53_5314.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_48_7193.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_41_6005.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_35_5760.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_29_5978.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_23_5413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330638667","1330638319","1330638672","1330637973","1330637685","1330638605"],"photo_ids_order":["1330637685","1330637973","1330638319","1330638605","1330638667","1330638672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d48558fee88a6d30504b5bfc7f54220.jpg","text":"TemporaryFile(/tmp/multipartBody2740138446349973826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_29_5978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4882f229d07e430bf481e402ff601c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2788872508020431722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_41_6005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a324b85cd87cfd8dd29f6ddce711685.jpg","text":"TemporaryFile(/tmp/multipartBody5371426675126427326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_23_5413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59fe8fefc00b1250d68484c97f18c980.jpg","text":"TemporaryFile(/tmp/multipartBody6457122204056179471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_48_7193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e30ae98c4567907c17b4cfe75cabacdc.jpg","text":"TemporaryFile(/tmp/multipartBody2115315646107974353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_53_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/22/da701ae1ca3fa98aa49d05003987d9b7.jpg","text":"TemporaryFile(/tmp/multipartBody3314276597484764936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566026880,"filename":"image_22012025_18_12_35_5760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330638319","file1":"1330637973","file0":"1330637685","file4":"1330638667","file5":"1330638672","file3":"1330638605"},"map_files_photo_id_array":[{"photo_id":"1330638672","filename":"file5"},{"photo_id":"1330638319","filename":"file2"},{"photo_id":"1330638667","filename":"file4"},{"photo_id":"1330637973","filename":"file1"},{"photo_id":"1330637685","filename":"file0"},{"photo_id":"1330638605","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330638667":["hashtag1","hashtag2"]},{"1330638319":["hashtag1","hashtag2"]},{"1330638672":["hashtag1","hashtag2"]},{"1330637973":["hashtag1","hashtag2"]},{"1330637685":["hashtag1","hashtag2"]},{"1330638605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330638667, 1330638319, 1330638672, 1330637973, 1330637685, 1330638605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63479256629944 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:13:22.577349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/13/image_22012025_18_13_53_5440.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_47_6867.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_41_4749.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_36_6056.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_30_6388.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_24_6713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/13/image_22012025_18_13_53_5440.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_47_6867.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_41_4749.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_36_6056.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_30_6388.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_24_6713.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":["1330638876","1330638870","1330638695","1330638698","1330638848","1330638853"],"photo_ids_order":["1330638695","1330638698","1330638848","1330638853","1330638870","1330638876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f25a7c88595e99ddfbde406e1893ce11.jpg","text":"TemporaryFile(/tmp/multipartBody3799122439059736258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_24_6713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65a5c6671c52b4afbda653d58ff16a0a.jpg","text":"TemporaryFile(/tmp/multipartBody514603485378635286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_30_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/22/b566f8b18a7365ac7cf70f3cd4ff511a.jpg","text":"TemporaryFile(/tmp/multipartBody2671409085995719624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_53_5440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/05b0679adb5ad279b1147120f8aa5df0.jpg","text":"TemporaryFile(/tmp/multipartBody962286453559085622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_47_6867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf50600ef2446b34b33d5675e807de4a.jpg","text":"TemporaryFile(/tmp/multipartBody8858381118959073603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_41_4749.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f1470457db403daec663c5b40ed506d.jpg","text":"TemporaryFile(/tmp/multipartBody6718473750449102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566087872,"filename":"image_22012025_18_13_36_6056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330638848","file1":"1330638698","file0":"1330638695","file4":"1330638870","file5":"1330638876","file3":"1330638853"},"map_files_photo_id_array":[{"photo_id":"1330638876","filename":"file5"},{"photo_id":"1330638848","filename":"file2"},{"photo_id":"1330638870","filename":"file4"},{"photo_id":"1330638698","filename":"file1"},{"photo_id":"1330638695","filename":"file0"},{"photo_id":"1330638853","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330638876":["hashtag1","hashtag2"]},{"1330638870":["hashtag1","hashtag2"]},{"1330638695":["hashtag1","hashtag2"]},{"1330638698":["hashtag1","hashtag2"]},{"1330638848":["hashtag1","hashtag2"]},{"1330638853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330638876, 1330638870, 1330638695, 1330638698, 1330638848, 1330638853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.03779697418213 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:14:42.734032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/14/image_22012025_18_14_53_5295.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_48_5912.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_42_6034.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_36_6221.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_30_6157.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_24_6655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/14/image_22012025_18_14_53_5295.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_48_5912.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_42_6034.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_36_6221.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_30_6157.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_24_6655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330639359","1330639425","1330639370","1330639352","1330639037","1330639337"],"photo_ids_order":["1330639037","1330639337","1330639352","1330639359","1330639370","1330639425"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4d3e21c6b8452ffb7cab6326116b96f5.jpg","text":"TemporaryFile(/tmp/multipartBody6468276092838144684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_36_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/22/2a4e109af0c9dabffe86cd709abc5d26.jpg","text":"TemporaryFile(/tmp/multipartBody1665972498722773347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_24_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a98fb1185683c997ca26c92ea4c73aa9.jpg","text":"TemporaryFile(/tmp/multipartBody3034322686851482776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_30_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/22/8461b65a43f72482077237bbb6186386.jpg","text":"TemporaryFile(/tmp/multipartBody1129629911167267731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_42_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e252a045c3910a8c4c9eea8046973bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2056178013173502492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_53_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/22/ff7be3206baffb947c4042df43274bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7583602265250827335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566154324,"filename":"image_22012025_18_14_48_5912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330639352","file1":"1330639337","file0":"1330639037","file4":"1330639370","file5":"1330639425","file3":"1330639359"},"map_files_photo_id_array":[{"photo_id":"1330639425","filename":"file5"},{"photo_id":"1330639352","filename":"file2"},{"photo_id":"1330639370","filename":"file4"},{"photo_id":"1330639337","filename":"file1"},{"photo_id":"1330639037","filename":"file0"},{"photo_id":"1330639359","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330639359":["hashtag1","hashtag2"]},{"1330639425":["hashtag1","hashtag2"]},{"1330639370":["hashtag1","hashtag2"]},{"1330639352":["hashtag1","hashtag2"]},{"1330639037":["hashtag1","hashtag2"]},{"1330639337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330639359, 1330639425, 1330639370, 1330639352, 1330639037, 1330639337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.52741074562073 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:15:42.244226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/15/image_22012025_18_15_54_6624.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_47_5837.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_41_6503.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_34_5312.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_29_6553.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_23_5290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/15/image_22012025_18_15_54_6624.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_47_5837.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_41_6503.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_34_5312.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_29_6553.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_23_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":["1330639563","1330640493","1330640181","1330639874","1330639591","1330640750"],"photo_ids_order":["1330639563","1330639591","1330639874","1330640181","1330640493","1330640750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2122a355e7d6d4c83e68921ea1efc9f1.jpg","text":"TemporaryFile(/tmp/multipartBody1760448092627265815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_54_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/22/829ac3948903e65fcf8fe460bf75b510.jpg","text":"TemporaryFile(/tmp/multipartBody3171769196858621939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_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/22/cfd1a6d1111b1f48a46822fe41403346.jpg","text":"TemporaryFile(/tmp/multipartBody8988639261854628722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_34_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/22/e935a9aac70b370fcf90be4e606697c0.jpg","text":"TemporaryFile(/tmp/multipartBody5764961242943294950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_41_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/22/5ea7041c685a079088a01081d72665ed.jpg","text":"TemporaryFile(/tmp/multipartBody3983739227076254872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_47_5837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9df1f1df41db8fa537cd8e32df215e9c.jpg","text":"TemporaryFile(/tmp/multipartBody3288005982231999364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566211240,"filename":"image_22012025_18_15_23_5290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330639874","file1":"1330639591","file0":"1330639563","file4":"1330640493","file5":"1330640750","file3":"1330640181"},"map_files_photo_id_array":[{"photo_id":"1330640750","filename":"file5"},{"photo_id":"1330639874","filename":"file2"},{"photo_id":"1330640493","filename":"file4"},{"photo_id":"1330639591","filename":"file1"},{"photo_id":"1330639563","filename":"file0"},{"photo_id":"1330640181","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330639563":["hashtag1","hashtag2"]},{"1330640493":["hashtag1","hashtag2"]},{"1330640181":["hashtag1","hashtag2"]},{"1330639874":["hashtag1","hashtag2"]},{"1330639591":["hashtag1","hashtag2"]},{"1330640750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330639563, 1330640493, 1330640181, 1330639874, 1330639591, 1330640750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.659780979156494 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:16:42.466887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/16/image_22012025_18_16_53_5429.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_48_6314.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_41_6509.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_35_5271.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_29_6653.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_23_5286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/16/image_22012025_18_16_53_5429.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_48_6314.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_41_6509.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_35_5271.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_29_6653.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_23_5286.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330640788","1330640798","1330640802","1330640810","1330640794","1330640807"],"photo_ids_order":["1330640788","1330640794","1330640798","1330640802","1330640807","1330640810"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf0dc106f51ff66958036de23fb837a2.jpg","text":"TemporaryFile(/tmp/multipartBody2540011198818959950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_53_5429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/351701f0aef3d373cbd64070b413074a.jpg","text":"TemporaryFile(/tmp/multipartBody949396053474996677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_41_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/22/d3272585d3551750e61d6c52309c7349.jpg","text":"TemporaryFile(/tmp/multipartBody6063505293156786334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_35_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/22/039e2f7ec0697b41fe6cfb34348de4ec.jpg","text":"TemporaryFile(/tmp/multipartBody720014807907315101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_23_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/22/459c2ba7fa81c092c1c1cbb63c24ab55.jpg","text":"TemporaryFile(/tmp/multipartBody7168625314514155146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_48_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/22/bd1613b774a26b5e37fd0d5f354530b2.jpg","text":"TemporaryFile(/tmp/multipartBody2670196853578569032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566284011,"filename":"image_22012025_18_16_29_6653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330640798","file1":"1330640794","file0":"1330640788","file4":"1330640807","file5":"1330640810","file3":"1330640802"},"map_files_photo_id_array":[{"photo_id":"1330640810","filename":"file5"},{"photo_id":"1330640798","filename":"file2"},{"photo_id":"1330640807","filename":"file4"},{"photo_id":"1330640794","filename":"file1"},{"photo_id":"1330640788","filename":"file0"},{"photo_id":"1330640802","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330640788":["hashtag1","hashtag2"]},{"1330640798":["hashtag1","hashtag2"]},{"1330640802":["hashtag1","hashtag2"]},{"1330640810":["hashtag1","hashtag2"]},{"1330640794":["hashtag1","hashtag2"]},{"1330640807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330640788, 1330640798, 1330640802, 1330640810, 1330640794, 1330640807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.49954295158386 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:17:42.552947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/17/image_22012025_18_17_54_6446.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_47_5641.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_41_6552.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_35_5309.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_29_6659.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_23_5302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/17/image_22012025_18_17_54_6446.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_47_5641.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_41_6552.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_35_5309.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_29_6659.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_23_5302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330640950","1330641183","1330640821","1330640880","1330641131","1330641181"],"photo_ids_order":["1330640821","1330640880","1330640950","1330641131","1330641181","1330641183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dcbc1de3d63cce4d5fcf9fe75c405ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5017270214174756828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_41_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/22/65f3a8422d5de4d23291f74ef425dca5.jpg","text":"TemporaryFile(/tmp/multipartBody125312063223121393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_23_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/22/1dc1a21b210c501e5db6d2a19efa7377.jpg","text":"TemporaryFile(/tmp/multipartBody7169150923219605562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_54_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/22/784cdc26f13b16613eaf4ec7ab590d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1983045626556393182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_47_5641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7f9518d141ff6f793694fc4c594f214.jpg","text":"TemporaryFile(/tmp/multipartBody8563432652009898146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_35_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/22/03d92f14697d47ec1491cc6a13884933.jpg","text":"TemporaryFile(/tmp/multipartBody1577515591250244196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566331246,"filename":"image_22012025_18_17_29_6659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330640950","file1":"1330640880","file0":"1330640821","file4":"1330641181","file5":"1330641183","file3":"1330641131"},"map_files_photo_id_array":[{"photo_id":"1330641183","filename":"file5"},{"photo_id":"1330640950","filename":"file2"},{"photo_id":"1330641181","filename":"file4"},{"photo_id":"1330640880","filename":"file1"},{"photo_id":"1330640821","filename":"file0"},{"photo_id":"1330641131","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330640950":["hashtag1","hashtag2"]},{"1330641183":["hashtag1","hashtag2"]},{"1330640821":["hashtag1","hashtag2"]},{"1330640880":["hashtag1","hashtag2"]},{"1330641131":["hashtag1","hashtag2"]},{"1330641181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330640950, 1330641183, 1330640821, 1330640880, 1330641131, 1330641181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19054079055786 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:18:42.784691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/18/image_22012025_18_18_53_5299.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_48_6451.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_41_6489.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_35_5204.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_29_6453.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_23_6507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/18/image_22012025_18_18_53_5299.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_48_6451.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_41_6489.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_35_5204.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_29_6453.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_23_6507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330641351","1330641354","1330641327","1330641312","1330641317","1330641346"],"photo_ids_order":["1330641312","1330641317","1330641327","1330641346","1330641351","1330641354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fe7013d43085cd36b149fc7b3c273966.jpg","text":"TemporaryFile(/tmp/multipartBody7234241735256523143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_29_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/22/c56e9ca70fd49952ff0f70623ab072cb.jpg","text":"TemporaryFile(/tmp/multipartBody6629974738892409012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_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/22/a062dd73da5bc3e0674f84dfdfb3cb61.jpg","text":"TemporaryFile(/tmp/multipartBody7612716890895187479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_41_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/22/dfdc91e0f484d59e40d6282a44cef88a.jpg","text":"TemporaryFile(/tmp/multipartBody5941519563052027492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_53_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/22/926106e14aceed1871e77c2e84f2ae31.jpg","text":"TemporaryFile(/tmp/multipartBody7340796738081805960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_48_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/22/cfb52d9f2176c627029e6d551f8671ee.jpg","text":"TemporaryFile(/tmp/multipartBody7140849552764051645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566393692,"filename":"image_22012025_18_18_35_5204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330641327","file1":"1330641317","file0":"1330641312","file4":"1330641351","file5":"1330641354","file3":"1330641346"},"map_files_photo_id_array":[{"photo_id":"1330641354","filename":"file5"},{"photo_id":"1330641327","filename":"file2"},{"photo_id":"1330641351","filename":"file4"},{"photo_id":"1330641317","filename":"file1"},{"photo_id":"1330641312","filename":"file0"},{"photo_id":"1330641346","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330641351":["hashtag1","hashtag2"]},{"1330641354":["hashtag1","hashtag2"]},{"1330641327":["hashtag1","hashtag2"]},{"1330641312":["hashtag1","hashtag2"]},{"1330641317":["hashtag1","hashtag2"]},{"1330641346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330641351, 1330641354, 1330641327, 1330641312, 1330641317, 1330641346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72234010696411 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:19:42.680476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/19/image_22012025_18_19_53_6284.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_46_4872.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_42_6595.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_35_6555.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_28_5303.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_23_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/19/image_22012025_18_19_53_6284.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_46_4872.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_42_6595.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_35_6555.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_28_5303.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_23_6536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330641411","1330641414","1330641405","1330641407","1330641401","1330641409"],"photo_ids_order":["1330641401","1330641405","1330641407","1330641409","1330641411","1330641414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6b564f4e38392e5caec1293dce42cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3567603247875897694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_28_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/22/f87bd3a4a622bad16974785db11ed8e4.jpg","text":"TemporaryFile(/tmp/multipartBody779216858210342379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_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/22/da0d3c60c74b29dfb6c49c32597f9893.jpg","text":"TemporaryFile(/tmp/multipartBody2208230336019251976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_46_4872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/403b6719e8ee575eb78527df7d217106.jpg","text":"TemporaryFile(/tmp/multipartBody122678734087691430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_42_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/22/ba185e7bea7c543d0f3dc01e36a65f47.jpg","text":"TemporaryFile(/tmp/multipartBody3129764567777532964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_53_6284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0b927212937d53a3cdfb5f827966ff8.jpg","text":"TemporaryFile(/tmp/multipartBody4787737939890521117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566480452,"filename":"image_22012025_18_19_35_6555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330641407","file1":"1330641405","file0":"1330641401","file4":"1330641411","file5":"1330641414","file3":"1330641409"},"map_files_photo_id_array":[{"photo_id":"1330641414","filename":"file5"},{"photo_id":"1330641407","filename":"file2"},{"photo_id":"1330641411","filename":"file4"},{"photo_id":"1330641405","filename":"file1"},{"photo_id":"1330641401","filename":"file0"},{"photo_id":"1330641409","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330641411":["hashtag1","hashtag2"]},{"1330641414":["hashtag1","hashtag2"]},{"1330641405":["hashtag1","hashtag2"]},{"1330641407":["hashtag1","hashtag2"]},{"1330641401":["hashtag1","hashtag2"]},{"1330641409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330641411, 1330641414, 1330641405, 1330641407, 1330641401, 1330641409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.49785447120667 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:21:03.672230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/20/image_22012025_18_20_54_5580.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_48_7604.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_40_5383.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_35_6626.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_28_5385.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_23_5390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/20/image_22012025_18_20_54_5580.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_48_7604.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_40_5383.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_35_6626.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_28_5385.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_23_5390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330642283","1330642271","1330642067","1330642289","1330642268","1330642293"],"photo_ids_order":["1330642067","1330642268","1330642271","1330642283","1330642289","1330642293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f038a337a54b0480a5e24e2ce611c02e.jpg","text":"TemporaryFile(/tmp/multipartBody7146477969333461195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_35_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/22/8bff9d5a2735aff3fe964a864bfb54d4.jpg","text":"TemporaryFile(/tmp/multipartBody3237537836918659286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_40_5383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e572d707cab5d6d7b3d4d63cb756e1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6726597270759901037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_54_5580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a71e8efb1399382ca16ea0797c557042.jpg","text":"TemporaryFile(/tmp/multipartBody3347130889978853882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_28_5385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2dbf55ffd809766ae1dc10ec68128e9e.jpg","text":"TemporaryFile(/tmp/multipartBody1036620771142983978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_48_7604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1110550dd1da6ff9c23e5c458b4bf003.jpg","text":"TemporaryFile(/tmp/multipartBody802903821178275135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566539478,"filename":"image_22012025_18_20_23_5390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642271","file1":"1330642268","file0":"1330642067","file4":"1330642289","file5":"1330642293","file3":"1330642283"},"map_files_photo_id_array":[{"photo_id":"1330642293","filename":"file5"},{"photo_id":"1330642271","filename":"file2"},{"photo_id":"1330642289","filename":"file4"},{"photo_id":"1330642268","filename":"file1"},{"photo_id":"1330642067","filename":"file0"},{"photo_id":"1330642283","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642283":["hashtag1","hashtag2"]},{"1330642271":["hashtag1","hashtag2"]},{"1330642067":["hashtag1","hashtag2"]},{"1330642289":["hashtag1","hashtag2"]},{"1330642268":["hashtag1","hashtag2"]},{"1330642293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642283, 1330642271, 1330642067, 1330642289, 1330642268, 1330642293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.689242124557495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:22:03.584181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/21/image_22012025_18_21_53_6548.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_47_5414.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_42_6663.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_35_5378.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_29_7042.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_23_4788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/21/image_22012025_18_21_53_6548.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_47_5414.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_42_6663.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_35_5378.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_29_7042.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_23_4788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330642629","1330642323","1330642326","1330642484","1330642330","1330642417"],"photo_ids_order":["1330642323","1330642326","1330642330","1330642417","1330642484","1330642629"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2c77db6cabd2cdaee31aa090786c4723.jpg","text":"TemporaryFile(/tmp/multipartBody2028283291584776354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_23_4788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14aab8db6b98df026929eda93802ea93.jpg","text":"TemporaryFile(/tmp/multipartBody2732347088325242122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_53_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/22/8dc59e2cc6c8cca0ea8298ee2d777519.jpg","text":"TemporaryFile(/tmp/multipartBody2435656799848278660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_47_5414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8ea5058c5dc6a212bde239aca7f42c4.jpg","text":"TemporaryFile(/tmp/multipartBody3826043395869190436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_29_7042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b2728247c845c6b93c492663986c202.jpg","text":"TemporaryFile(/tmp/multipartBody1521186322355730053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_42_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/22/3bc35702e1e30f6cffa9e78bccbafe38.jpg","text":"TemporaryFile(/tmp/multipartBody2623368257322560288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566599002,"filename":"image_22012025_18_21_35_5378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642330","file1":"1330642326","file0":"1330642323","file4":"1330642484","file5":"1330642629","file3":"1330642417"},"map_files_photo_id_array":[{"photo_id":"1330642629","filename":"file5"},{"photo_id":"1330642330","filename":"file2"},{"photo_id":"1330642484","filename":"file4"},{"photo_id":"1330642326","filename":"file1"},{"photo_id":"1330642323","filename":"file0"},{"photo_id":"1330642417","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642629":["hashtag1","hashtag2"]},{"1330642323":["hashtag1","hashtag2"]},{"1330642326":["hashtag1","hashtag2"]},{"1330642484":["hashtag1","hashtag2"]},{"1330642330":["hashtag1","hashtag2"]},{"1330642417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642629, 1330642323, 1330642326, 1330642484, 1330642330, 1330642417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.80418825149536 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:23:04.535895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/22/image_22012025_18_22_53_6484.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_47_5303.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_41_6529.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_35_5290.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_29_6565.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_23_5177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/22/image_22012025_18_22_53_6484.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_47_5303.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_41_6529.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_35_5290.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_29_6565.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_23_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":["1330642752","1330642725","1330642734","1330642747","1330642720","1330642744"],"photo_ids_order":["1330642720","1330642725","1330642734","1330642744","1330642747","1330642752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3396a16b9b301e7b06aae975972dff4.jpg","text":"TemporaryFile(/tmp/multipartBody2483698080556586648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_23_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/22/c1cfc689e9d68dd117499654fe46d920.jpg","text":"TemporaryFile(/tmp/multipartBody8960486659889097618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_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/22/58d7330d2c79f1917ea8228f78f2b13e.jpg","text":"TemporaryFile(/tmp/multipartBody8320065073911691732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_41_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/22/28ba130befb6d4490c01ec1c33006925.jpg","text":"TemporaryFile(/tmp/multipartBody4659936907989193812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_29_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/22/41ce3fcaddb7fe989b1cad24681b70be.jpg","text":"TemporaryFile(/tmp/multipartBody3685424247542687317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_53_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/22/acf60f18fc6d43756962aa835e09bfdc.jpg","text":"TemporaryFile(/tmp/multipartBody4169181030572004017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566652400,"filename":"image_22012025_18_22_35_5290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642734","file1":"1330642725","file0":"1330642720","file4":"1330642747","file5":"1330642752","file3":"1330642744"},"map_files_photo_id_array":[{"photo_id":"1330642752","filename":"file5"},{"photo_id":"1330642734","filename":"file2"},{"photo_id":"1330642747","filename":"file4"},{"photo_id":"1330642725","filename":"file1"},{"photo_id":"1330642720","filename":"file0"},{"photo_id":"1330642744","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642752":["hashtag1","hashtag2"]},{"1330642725":["hashtag1","hashtag2"]},{"1330642734":["hashtag1","hashtag2"]},{"1330642747":["hashtag1","hashtag2"]},{"1330642720":["hashtag1","hashtag2"]},{"1330642744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642752, 1330642725, 1330642734, 1330642747, 1330642720, 1330642744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96570682525635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 18:24:04.915869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/23/image_22012025_18_23_53_6451.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_47_5694.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_41_6436.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_34_5253.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_29_6491.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_23_5446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/23/image_22012025_18_23_53_6451.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_47_5694.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_41_6436.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_34_5253.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_29_6491.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_23_5446.jpg
2025-01-22 18:24:05.105037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/23/image_22012025_18_23_53_6451.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_47_5694.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_41_6436.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_34_5253.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_29_6491.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_23_5446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/23/image_22012025_18_23_53_6451.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_47_5694.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_41_6436.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_34_5253.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_29_6491.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_23_5446.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: 35.34351563453674 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":["1330642880","1330642883","1330642865","1330642859","1330642885","1330642869"],"photo_ids_order":["1330642859","1330642865","1330642869","1330642880","1330642883","1330642885"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a9d5c212c7150d5fbc263317a2b7419.jpg","text":"TemporaryFile(/tmp/multipartBody1646676541452778005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_34_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/22/00f877f41010ecd51a81799bbb6bd286.jpg","text":"TemporaryFile(/tmp/multipartBody6099362107507715642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_29_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/22/454fd2d47135a745b53ef09d825a0fad.jpg","text":"TemporaryFile(/tmp/multipartBody8576525441397268748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_47_5694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/153f1e06076f96e5836f7c0f638f23af.jpg","text":"TemporaryFile(/tmp/multipartBody5641995967693483973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_53_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/22/da30428563cb229882e5ab32bd8e7e5f.jpg","text":"TemporaryFile(/tmp/multipartBody61097339861537359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_23_5446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3f878564b842e82853eaf54aed7daac8.jpg","text":"TemporaryFile(/tmp/multipartBody2568794499021182264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566744417,"filename":"image_22012025_18_23_41_6436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642869","file1":"1330642865","file0":"1330642859","file4":"1330642883","file5":"1330642885","file3":"1330642880"},"map_files_photo_id_array":[{"photo_id":"1330642885","filename":"file5"},{"photo_id":"1330642869","filename":"file2"},{"photo_id":"1330642883","filename":"file4"},{"photo_id":"1330642865","filename":"file1"},{"photo_id":"1330642859","filename":"file0"},{"photo_id":"1330642880","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642880":["hashtag1","hashtag2"]},{"1330642883":["hashtag1","hashtag2"]},{"1330642865":["hashtag1","hashtag2"]},{"1330642859":["hashtag1","hashtag2"]},{"1330642885":["hashtag1","hashtag2"]},{"1330642869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642880, 1330642883, 1330642865, 1330642859, 1330642885, 1330642869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.62585926055908 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:25:22.880133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/25/image_22012025_18_25_52_5289.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_47_5238.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_42_6029.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_36_6099.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_30_5944.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_24_6324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/25/image_22012025_18_25_52_5289.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_47_5238.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_42_6029.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_36_6099.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_30_5944.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_24_6324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330642940","1330642930","1330642927","1330642936","1330642924","1330642918"],"photo_ids_order":["1330642918","1330642924","1330642927","1330642930","1330642936","1330642940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d659d27d823ffd8d9606a4550dcc3fca.jpg","text":"TemporaryFile(/tmp/multipartBody9134114779991061679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_24_6324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/613590cfb6d3f84751dcd63f4c984798.jpg","text":"TemporaryFile(/tmp/multipartBody7009398380346127501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_36_6099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8d2a4ca70abba96ed671c408b44feab.jpg","text":"TemporaryFile(/tmp/multipartBody5127370620215704175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_42_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef51b6f633b00af035aeb3d9f933b00f.jpg","text":"TemporaryFile(/tmp/multipartBody785290275396437702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_30_5944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/80038a321c64e0a93417acb985ea1518.jpg","text":"TemporaryFile(/tmp/multipartBody7982505636572322510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_47_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/22/4c8d5fe0c05f632146c846973f52182d.jpg","text":"TemporaryFile(/tmp/multipartBody1456106017003099928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566786244,"filename":"image_22012025_18_25_52_5289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642927","file1":"1330642924","file0":"1330642918","file4":"1330642936","file5":"1330642940","file3":"1330642930"},"map_files_photo_id_array":[{"photo_id":"1330642940","filename":"file5"},{"photo_id":"1330642927","filename":"file2"},{"photo_id":"1330642936","filename":"file4"},{"photo_id":"1330642924","filename":"file1"},{"photo_id":"1330642918","filename":"file0"},{"photo_id":"1330642930","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642940":["hashtag1","hashtag2"]},{"1330642930":["hashtag1","hashtag2"]},{"1330642927":["hashtag1","hashtag2"]},{"1330642936":["hashtag1","hashtag2"]},{"1330642924":["hashtag1","hashtag2"]},{"1330642918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642940, 1330642930, 1330642927, 1330642936, 1330642924, 1330642918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.510528564453125 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:26:03.390489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/25/image_22012025_18_25_18_6410.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_11_4705.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_07_7092.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_59_6448.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_53_5277.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_47_6482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/25/image_22012025_18_25_18_6410.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_11_4705.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_07_7092.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_59_6448.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_53_5277.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_47_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":["1330642965","1330642970","1330642961","1330642958","1330642951","1330642974"],"photo_ids_order":["1330642951","1330642958","1330642961","1330642965","1330642970","1330642974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a64807bf42c2b5f4e093c142efa4174.jpg","text":"TemporaryFile(/tmp/multipartBody1967903736024790381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_24_59_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/22/e5c827daa2e837e570da8b7bc070fb0a.jpg","text":"TemporaryFile(/tmp/multipartBody7362659702832107013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_24_53_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/22/fe34938f29f8aab970c354344a6c665c.jpg","text":"TemporaryFile(/tmp/multipartBody9199305058428142086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_25_07_7092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7c2e99e5566739c2d33dceeb833dc3a7.jpg","text":"TemporaryFile(/tmp/multipartBody7906322916684325448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_25_11_4705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/04374bec861835fb50bcb67c0326997f.jpg","text":"TemporaryFile(/tmp/multipartBody4040503372395430603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_25_18_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/22/3cfdda1108bf23684b2a45d8bc70281c.jpg","text":"TemporaryFile(/tmp/multipartBody6173981494723251908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566829461,"filename":"image_22012025_18_24_47_6482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330642961","file1":"1330642958","file0":"1330642951","file4":"1330642970","file5":"1330642974","file3":"1330642965"},"map_files_photo_id_array":[{"photo_id":"1330642974","filename":"file5"},{"photo_id":"1330642961","filename":"file2"},{"photo_id":"1330642970","filename":"file4"},{"photo_id":"1330642958","filename":"file1"},{"photo_id":"1330642951","filename":"file0"},{"photo_id":"1330642965","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330642965":["hashtag1","hashtag2"]},{"1330642970":["hashtag1","hashtag2"]},{"1330642961":["hashtag1","hashtag2"]},{"1330642958":["hashtag1","hashtag2"]},{"1330642951":["hashtag1","hashtag2"]},{"1330642974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330642965, 1330642970, 1330642961, 1330642958, 1330642951, 1330642974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.594345808029175 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:27:04.101661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/26/image_22012025_18_26_53_5222.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_47_6453.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_41_6450.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_34_5267.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_29_5857.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_23_6488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/26/image_22012025_18_26_53_5222.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_47_6453.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_41_6450.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_34_5267.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_29_5857.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_23_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":["1330643048","1330643039","1330643044","1330643053","1330643041","1330643031"],"photo_ids_order":["1330643031","1330643039","1330643041","1330643044","1330643048","1330643053"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/66421055c58e1ec08c4ff2479d325c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5576456962310138653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_29_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fcaf6f796c8556b167980d1b6658f3eb.jpg","text":"TemporaryFile(/tmp/multipartBody1192954148090859951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_47_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/22/b093389f35efb0891e902dfc20da3b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1111702968610016589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_34_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/22/6c49f410c6590d3cd09b99673d31d802.jpg","text":"TemporaryFile(/tmp/multipartBody1380276082889465873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_23_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/22/bf6a2b5f503a4da8ba9e755ef86fdb80.jpg","text":"TemporaryFile(/tmp/multipartBody3140098498334959008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_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/22/a4fd59862de6804655926844cc8e8c92.jpg","text":"TemporaryFile(/tmp/multipartBody6347111224978567484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566902039,"filename":"image_22012025_18_26_53_5222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643041","file1":"1330643039","file0":"1330643031","file4":"1330643048","file5":"1330643053","file3":"1330643044"},"map_files_photo_id_array":[{"photo_id":"1330643053","filename":"file5"},{"photo_id":"1330643041","filename":"file2"},{"photo_id":"1330643048","filename":"file4"},{"photo_id":"1330643039","filename":"file1"},{"photo_id":"1330643031","filename":"file0"},{"photo_id":"1330643044","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643048":["hashtag1","hashtag2"]},{"1330643039":["hashtag1","hashtag2"]},{"1330643044":["hashtag1","hashtag2"]},{"1330643053":["hashtag1","hashtag2"]},{"1330643041":["hashtag1","hashtag2"]},{"1330643031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643048, 1330643039, 1330643044, 1330643053, 1330643041, 1330643031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.209073543548584 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:28:03.871740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/27/image_22012025_18_27_52_5249.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_47_6553.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_41_5310.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_35_6533.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_29_6513.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_22_5308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/27/image_22012025_18_27_52_5249.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_47_6553.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_41_5310.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_35_6533.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_29_6513.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_22_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":["1330643285","1330643300","1330643290","1330643293","1330643287","1330643296"],"photo_ids_order":["1330643285","1330643287","1330643290","1330643293","1330643296","1330643300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/58ecc408c1877e8a8b4113cfdd5729ce.jpg","text":"TemporaryFile(/tmp/multipartBody7871094450739902538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_52_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/22/5ca3bf78d11a2fdc0442bc9082de2799.jpg","text":"TemporaryFile(/tmp/multipartBody1091483865412421119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_22_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/22/13e5bdde69e92e58fa18d9561cfe2539.jpg","text":"TemporaryFile(/tmp/multipartBody3908557298177820079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_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/22/8c57120b27dc9120481632d651845f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6894625766016654123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_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/22/fefe9d55bd924fdbdc52927724bf63cf.jpg","text":"TemporaryFile(/tmp/multipartBody5733921160195742112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_47_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/22/68c2fb74374c8ecdfecdd65ccfaa82fc.jpg","text":"TemporaryFile(/tmp/multipartBody6151628565447539921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737566960912,"filename":"image_22012025_18_27_29_6513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643290","file1":"1330643287","file0":"1330643285","file4":"1330643296","file5":"1330643300","file3":"1330643293"},"map_files_photo_id_array":[{"photo_id":"1330643300","filename":"file5"},{"photo_id":"1330643290","filename":"file2"},{"photo_id":"1330643296","filename":"file4"},{"photo_id":"1330643287","filename":"file1"},{"photo_id":"1330643285","filename":"file0"},{"photo_id":"1330643293","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643285":["hashtag1","hashtag2"]},{"1330643300":["hashtag1","hashtag2"]},{"1330643290":["hashtag1","hashtag2"]},{"1330643293":["hashtag1","hashtag2"]},{"1330643287":["hashtag1","hashtag2"]},{"1330643296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643285, 1330643300, 1330643290, 1330643293, 1330643287, 1330643296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.01455044746399 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 18:29:05.290734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/28/image_22012025_18_28_53_6495.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_46_5249.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_41_6532.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_35_5285.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_29_6538.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_23_6029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/28/image_22012025_18_28_53_6495.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_46_5249.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_41_6532.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_35_5285.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_29_6538.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_23_6029.jpg
2025-01-22 18:29:05.418676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/28/image_22012025_18_28_53_6495.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_46_5249.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_41_6532.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_35_5285.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_29_6538.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_23_6029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/28/image_22012025_18_28_53_6495.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_46_5249.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_41_6532.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_35_5285.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_29_6538.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_23_6029.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":["1330643374","1330643383","1330643341","1330643397","1330643358","1330643334"],"photo_ids_order":["1330643334","1330643341","1330643358","1330643374","1330643383","1330643397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b1fcf5543ee2fac373b7f4bef7bd7405.jpg","text":"TemporaryFile(/tmp/multipartBody82026097339267449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_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/22/5358c32f05f36266969aad73f16f0ce6.jpg","text":"TemporaryFile(/tmp/multipartBody1486593241006831740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_29_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/22/fea2cc7e1980171ddd97a79db4016249.jpg","text":"TemporaryFile(/tmp/multipartBody137123577129687456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_46_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/22/14fe4cdb9b42364cc76a227661c280d7.jpg","text":"TemporaryFile(/tmp/multipartBody5459325763124874531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_23_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4460f4b06806d765267569e1ecec8ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3494489751635886540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_41_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/22/fca608b538af6116a1ec84bb08ba5dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8531251752186197060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019235,"filename":"image_22012025_18_28_53_6495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643358","file1":"1330643341","file0":"1330643334","file4":"1330643383","file5":"1330643397","file3":"1330643374"},"map_files_photo_id_array":[{"photo_id":"1330643397","filename":"file5"},{"photo_id":"1330643358","filename":"file2"},{"photo_id":"1330643383","filename":"file4"},{"photo_id":"1330643341","filename":"file1"},{"photo_id":"1330643334","filename":"file0"},{"photo_id":"1330643374","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643374":["hashtag1","hashtag2"]},{"1330643383":["hashtag1","hashtag2"]},{"1330643341":["hashtag1","hashtag2"]},{"1330643397":["hashtag1","hashtag2"]},{"1330643358":["hashtag1","hashtag2"]},{"1330643334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643374, 1330643383, 1330643341, 1330643397, 1330643358, 1330643334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.89563703536987 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330643406","1330643386","1330643335","1330643359","1330643373","1330643340"],"photo_ids_order":["1330643335","1330643340","1330643359","1330643373","1330643386","1330643406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e19978e584b752473f4047227ae4ca47.jpg","text":"TemporaryFile(/tmp/multipartBody7215677990530324382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_23_6029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8618e06e219884a9fca4f76123a43794.jpg","text":"TemporaryFile(/tmp/multipartBody2617410039453219740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_29_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/22/59cd7cb1f23fd60f53aa51d24bec7395.jpg","text":"TemporaryFile(/tmp/multipartBody7899668943094496905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_53_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/22/dc7271717e77aa14c307e2bbc99c8e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3132181975295963784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_41_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/22/393b675415f8aaa73c7d57a549054875.jpg","text":"TemporaryFile(/tmp/multipartBody667957916147339846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_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/22/75003336e41b8c98514324b3e3301f25.jpg","text":"TemporaryFile(/tmp/multipartBody1471178702257238759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567019454,"filename":"image_22012025_18_28_46_5249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643359","file1":"1330643340","file0":"1330643335","file4":"1330643386","file5":"1330643406","file3":"1330643373"},"map_files_photo_id_array":[{"photo_id":"1330643406","filename":"file5"},{"photo_id":"1330643359","filename":"file2"},{"photo_id":"1330643386","filename":"file4"},{"photo_id":"1330643340","filename":"file1"},{"photo_id":"1330643335","filename":"file0"},{"photo_id":"1330643373","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643406":["hashtag1","hashtag2"]},{"1330643386":["hashtag1","hashtag2"]},{"1330643335":["hashtag1","hashtag2"]},{"1330643359":["hashtag1","hashtag2"]},{"1330643373":["hashtag1","hashtag2"]},{"1330643340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643406, 1330643386, 1330643335, 1330643359, 1330643373, 1330643340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.14815545082092 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:30:04.365320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/29/image_22012025_18_29_53_6473.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_47_5273.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_41_6544.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_35_5279.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_29_6513.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_23_6350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/29/image_22012025_18_29_53_6473.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_47_5273.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_41_6544.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_35_5279.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_29_6513.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_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":["1330643493","1330643611","1330643643","1330643667","1330643541","1330643514"],"photo_ids_order":["1330643493","1330643514","1330643541","1330643611","1330643643","1330643667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2858fe8cc836f456d579c4a149a0844.jpg","text":"TemporaryFile(/tmp/multipartBody9050219343504534187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_53_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/22/09eecadbad508217844dcefd3637030b.jpg","text":"TemporaryFile(/tmp/multipartBody926251856437764840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_35_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/22/8c76b311823a490acf85ddc3eb7382fb.jpg","text":"TemporaryFile(/tmp/multipartBody5842454102845665077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_29_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/22/51ab6f9ac2ad9b835bfe12458ea815e8.jpg","text":"TemporaryFile(/tmp/multipartBody56421847989995946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_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/22/9e723d43dc9ca1473aca9a99fb7baabe.jpg","text":"TemporaryFile(/tmp/multipartBody557272334234914701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_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/22/98fc9233a13d76288eec43d5fbc7190c.jpg","text":"TemporaryFile(/tmp/multipartBody1635173604213049943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567086985,"filename":"image_22012025_18_29_47_5273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643541","file1":"1330643514","file0":"1330643493","file4":"1330643643","file5":"1330643667","file3":"1330643611"},"map_files_photo_id_array":[{"photo_id":"1330643667","filename":"file5"},{"photo_id":"1330643541","filename":"file2"},{"photo_id":"1330643643","filename":"file4"},{"photo_id":"1330643514","filename":"file1"},{"photo_id":"1330643493","filename":"file0"},{"photo_id":"1330643611","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643493":["hashtag1","hashtag2"]},{"1330643611":["hashtag1","hashtag2"]},{"1330643643":["hashtag1","hashtag2"]},{"1330643667":["hashtag1","hashtag2"]},{"1330643541":["hashtag1","hashtag2"]},{"1330643514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643493, 1330643611, 1330643643, 1330643667, 1330643541, 1330643514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04220509529114 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:31:04.801247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/30/image_22012025_18_30_53_6471.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_46_5328.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_41_6521.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_35_5266.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_29_6496.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_23_5334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/30/image_22012025_18_30_53_6471.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_46_5328.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_41_6521.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_35_5266.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_29_6496.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_23_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":["1330643753","1330643757","1330643742","1330643751","1330643745","1330643748"],"photo_ids_order":["1330643742","1330643745","1330643748","1330643751","1330643753","1330643757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ff366ddee0ddc2f3aadc070c1051ec5.jpg","text":"TemporaryFile(/tmp/multipartBody5684591735758170905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_29_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/22/92adfc7bd68603dd9bbc040f8b4e1c96.jpg","text":"TemporaryFile(/tmp/multipartBody9111046938641407948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_23_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/22/f96dacc7e7d45fa2a828f459f28d1b0f.jpg","text":"TemporaryFile(/tmp/multipartBody744339574124466995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_53_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/22/c13c6242f06c9e9b3300bcd284aaec31.jpg","text":"TemporaryFile(/tmp/multipartBody7696187547605372777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_35_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/22/72c54dba3bbf6c3cebba94054711299a.jpg","text":"TemporaryFile(/tmp/multipartBody7522307699046686967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_46_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/22/347322a33c50bee46b1d5a79e33ddf17.jpg","text":"TemporaryFile(/tmp/multipartBody8214168546235841449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567140595,"filename":"image_22012025_18_30_41_6521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643748","file1":"1330643745","file0":"1330643742","file4":"1330643753","file5":"1330643757","file3":"1330643751"},"map_files_photo_id_array":[{"photo_id":"1330643757","filename":"file5"},{"photo_id":"1330643748","filename":"file2"},{"photo_id":"1330643753","filename":"file4"},{"photo_id":"1330643745","filename":"file1"},{"photo_id":"1330643742","filename":"file0"},{"photo_id":"1330643751","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643753":["hashtag1","hashtag2"]},{"1330643757":["hashtag1","hashtag2"]},{"1330643742":["hashtag1","hashtag2"]},{"1330643751":["hashtag1","hashtag2"]},{"1330643745":["hashtag1","hashtag2"]},{"1330643748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643753, 1330643757, 1330643742, 1330643751, 1330643745, 1330643748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.94906687736511 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:32:03.641230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/31/image_22012025_18_31_53_6536.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_46_5314.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_41_6530.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_35_5297.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_29_5388.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_24_6680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/31/image_22012025_18_31_53_6536.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_46_5314.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_41_6530.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_35_5297.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_29_5388.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_24_6680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.65955901145935 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:32:21.975431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/32/image_22012025_18_32_53_6512.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_47_5303.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_41_6431.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_35_6487.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_28_5252.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_23_5964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/32/image_22012025_18_32_53_6512.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_47_5303.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_41_6431.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_35_6487.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_28_5252.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_23_5964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330643912","1330643900","1330643918","1330643906","1330643895","1330643922"],"photo_ids_order":["1330643895","1330643900","1330643906","1330643912","1330643918","1330643922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09e8c68697bd36d0f5d306f7745954ed.jpg","text":"TemporaryFile(/tmp/multipartBody3185808258929507416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_35_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/22/9106fd8d066921004e393a8087fd40ee.jpg","text":"TemporaryFile(/tmp/multipartBody7096560139320831855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_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/22/ac5c2d827b183f998f1e7a4ac59efed5.jpg","text":"TemporaryFile(/tmp/multipartBody6321759789685300886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_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/22/04a393a1a84557992383a58a95bb83b6.jpg","text":"TemporaryFile(/tmp/multipartBody7425244742777535873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_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/22/e76be5a4dfcd5d0c6a4d4fb160759263.jpg","text":"TemporaryFile(/tmp/multipartBody4176724635395584489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_53_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/22/e74b60d78c614250badba34ce2be8050.jpg","text":"TemporaryFile(/tmp/multipartBody5856402466111040172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567215695,"filename":"image_22012025_18_32_23_5964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643906","file1":"1330643900","file0":"1330643895","file4":"1330643918","file5":"1330643922","file3":"1330643912"},"map_files_photo_id_array":[{"photo_id":"1330643922","filename":"file5"},{"photo_id":"1330643906","filename":"file2"},{"photo_id":"1330643918","filename":"file4"},{"photo_id":"1330643900","filename":"file1"},{"photo_id":"1330643895","filename":"file0"},{"photo_id":"1330643912","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643912":["hashtag1","hashtag2"]},{"1330643900":["hashtag1","hashtag2"]},{"1330643918":["hashtag1","hashtag2"]},{"1330643906":["hashtag1","hashtag2"]},{"1330643895":["hashtag1","hashtag2"]},{"1330643922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643912, 1330643900, 1330643918, 1330643906, 1330643895, 1330643922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.33139967918396 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:33:22.240370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/33/image_22012025_18_33_59_6487.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_47_6612.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_40_5702.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_35_5851.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_29_5558.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_24_5723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/33/image_22012025_18_33_59_6487.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_47_6612.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_40_5702.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_35_5851.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_29_5558.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_24_5723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330643948","1330643992","1330643965","1330643997","1330643961","1330643937"],"photo_ids_order":["1330643937","1330643948","1330643961","1330643965","1330643992","1330643997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fe3f52ae0ba623cc64fad927841fe203.jpg","text":"TemporaryFile(/tmp/multipartBody3138789115072104649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_47_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/22/9af9d6245ca45f636655b667ac7d3e46.jpg","text":"TemporaryFile(/tmp/multipartBody3926721563353721265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_29_5558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/21ce7acafcc866107a0076931ee622b7.jpg","text":"TemporaryFile(/tmp/multipartBody602916246376105914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_35_5851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/967696a38ac0aa8bcd7b8b8bbc84a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4944062784685530946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_24_5723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96f4724d27ca3c24901d1271411283de.jpg","text":"TemporaryFile(/tmp/multipartBody8472401010452133525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_40_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/39aece788f0500b0a549a8efc5a3ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody3493659592427866893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567280938,"filename":"image_22012025_18_33_59_6487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330643961","file1":"1330643948","file0":"1330643937","file4":"1330643992","file5":"1330643997","file3":"1330643965"},"map_files_photo_id_array":[{"photo_id":"1330643997","filename":"file5"},{"photo_id":"1330643961","filename":"file2"},{"photo_id":"1330643992","filename":"file4"},{"photo_id":"1330643948","filename":"file1"},{"photo_id":"1330643937","filename":"file0"},{"photo_id":"1330643965","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330643948":["hashtag1","hashtag2"]},{"1330643992":["hashtag1","hashtag2"]},{"1330643965":["hashtag1","hashtag2"]},{"1330643997":["hashtag1","hashtag2"]},{"1330643961":["hashtag1","hashtag2"]},{"1330643937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330643948, 1330643992, 1330643965, 1330643997, 1330643961, 1330643937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.20699095726013 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:34:22.451049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/34/image_22012025_18_34_53_5299.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_47_6579.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_41_5261.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_35_6710.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_29_6083.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_23_5371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/34/image_22012025_18_34_53_5299.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_47_6579.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_41_5261.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_35_6710.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_29_6083.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_23_5371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644044","1330644032","1330644035","1330644040","1330644037","1330644028"],"photo_ids_order":["1330644028","1330644032","1330644035","1330644037","1330644040","1330644044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fd454284f787153cd0a7e8d22449710.jpg","text":"TemporaryFile(/tmp/multipartBody427253637400341902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_23_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/22/71e43c1905271828317f8f44d2487abb.jpg","text":"TemporaryFile(/tmp/multipartBody2723419541452633331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_47_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/22/2c24f38e7623ed4239a0b37e374b8458.jpg","text":"TemporaryFile(/tmp/multipartBody2110570289097247156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_41_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/00af0725b154fc62062f503c65ed1013.jpg","text":"TemporaryFile(/tmp/multipartBody1316524324882917136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_29_6083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/059af5279ad127a040a2b1d2dfb8f3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6213231194918137885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_35_6710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/274579e82159a2317b76b36790f25db7.jpg","text":"TemporaryFile(/tmp/multipartBody3273051579936635341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567338227,"filename":"image_22012025_18_34_53_5299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644035","file1":"1330644032","file0":"1330644028","file4":"1330644040","file5":"1330644044","file3":"1330644037"},"map_files_photo_id_array":[{"photo_id":"1330644044","filename":"file5"},{"photo_id":"1330644035","filename":"file2"},{"photo_id":"1330644040","filename":"file4"},{"photo_id":"1330644032","filename":"file1"},{"photo_id":"1330644028","filename":"file0"},{"photo_id":"1330644037","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644044":["hashtag1","hashtag2"]},{"1330644032":["hashtag1","hashtag2"]},{"1330644035":["hashtag1","hashtag2"]},{"1330644040":["hashtag1","hashtag2"]},{"1330644037":["hashtag1","hashtag2"]},{"1330644028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644044, 1330644032, 1330644035, 1330644040, 1330644037, 1330644028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.81286358833313 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:35:22.634406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/35/image_22012025_18_35_53_5259.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_47_6567.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_41_5054.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_36_6335.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_29_6108.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_23_6635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/35/image_22012025_18_35_53_5259.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_47_6567.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_41_5054.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_36_6335.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_29_6108.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_23_6635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644086","1330644068","1330644079","1330644070","1330644075","1330644083"],"photo_ids_order":["1330644068","1330644070","1330644075","1330644079","1330644083","1330644086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e67c81d85811829668383d8f7f1807b.jpg","text":"TemporaryFile(/tmp/multipartBody1901462986837983345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_23_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/22/4ad548914b83a35acc24005a0626a331.jpg","text":"TemporaryFile(/tmp/multipartBody8344672450345591797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_53_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/22/aea7ad6d9250ad8e1d9fda024bb4b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody240191068188535433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_36_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/22/422d12da6c4e2099a7a655433ab25840.jpg","text":"TemporaryFile(/tmp/multipartBody5276330851124440075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_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/22/209713b9536cc0fc21b5a6b5f54d6d61.jpg","text":"TemporaryFile(/tmp/multipartBody2405485461998272979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_41_5054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/64f296a824dd97b3ba494281748b2cba.jpg","text":"TemporaryFile(/tmp/multipartBody2281487245770552682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567394887,"filename":"image_22012025_18_35_29_6108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644075","file1":"1330644070","file0":"1330644068","file4":"1330644083","file5":"1330644086","file3":"1330644079"},"map_files_photo_id_array":[{"photo_id":"1330644086","filename":"file5"},{"photo_id":"1330644075","filename":"file2"},{"photo_id":"1330644083","filename":"file4"},{"photo_id":"1330644070","filename":"file1"},{"photo_id":"1330644068","filename":"file0"},{"photo_id":"1330644079","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644086":["hashtag1","hashtag2"]},{"1330644068":["hashtag1","hashtag2"]},{"1330644079":["hashtag1","hashtag2"]},{"1330644070":["hashtag1","hashtag2"]},{"1330644075":["hashtag1","hashtag2"]},{"1330644083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644086, 1330644068, 1330644079, 1330644070, 1330644075, 1330644083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.27777981758118 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:36:22.760041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/36/image_22012025_18_36_53_6514.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_46_5290.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_41_6512.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_35_5220.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_29_6156.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_24_6633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/36/image_22012025_18_36_53_6514.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_46_5290.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_41_6512.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_35_5220.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_29_6156.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_24_6633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644125","1330644119","1330644110","1330644122","1330644169","1330644115"],"photo_ids_order":["1330644110","1330644115","1330644119","1330644122","1330644125","1330644169"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8cfb7741d2c0a5307e0368c938d6ee5f.jpg","text":"TemporaryFile(/tmp/multipartBody5015459302438568584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_29_6156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6504ed7aa446bea6f0b033bb850c50b.jpg","text":"TemporaryFile(/tmp/multipartBody8631273469127187433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_41_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/22/bf9d074b1d2b3a07c6b0a5c88b98a8dc.jpg","text":"TemporaryFile(/tmp/multipartBody3926089070448564381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_53_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/22/785ce8ee60c9ee15fab6e5cec19670b6.jpg","text":"TemporaryFile(/tmp/multipartBody1220332702767730588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_35_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/22/472e8b9e37f085057801141fb9997c81.jpg","text":"TemporaryFile(/tmp/multipartBody1890388961150968656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_24_6633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e63d01d06faa374ffcc6d9a58b49dd57.jpg","text":"TemporaryFile(/tmp/multipartBody2681542173595087623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567458975,"filename":"image_22012025_18_36_46_5290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644119","file1":"1330644115","file0":"1330644110","file4":"1330644125","file5":"1330644169","file3":"1330644122"},"map_files_photo_id_array":[{"photo_id":"1330644169","filename":"file5"},{"photo_id":"1330644119","filename":"file2"},{"photo_id":"1330644125","filename":"file4"},{"photo_id":"1330644115","filename":"file1"},{"photo_id":"1330644110","filename":"file0"},{"photo_id":"1330644122","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644125":["hashtag1","hashtag2"]},{"1330644119":["hashtag1","hashtag2"]},{"1330644110":["hashtag1","hashtag2"]},{"1330644122":["hashtag1","hashtag2"]},{"1330644169":["hashtag1","hashtag2"]},{"1330644115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644125, 1330644119, 1330644110, 1330644122, 1330644169, 1330644115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.71923542022705 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:37:22.953422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/37/image_22012025_18_37_53_5273.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_48_6486.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_41_5525.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_35_6378.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_29_6128.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_23_6626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/37/image_22012025_18_37_53_5273.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_48_6486.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_41_5525.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_35_6378.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_29_6128.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_23_6626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.686969995498657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:37:42.829626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/37/image_22012025_18_37_53_5273.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_48_6486.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_41_5525.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_35_6378.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_29_6128.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_23_6626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/37/image_22012025_18_37_53_5273.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_48_6486.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_41_5525.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_35_6378.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_29_6128.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_23_6626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644305","1330644301","1330644297","1330644309","1330644300","1330644353"],"photo_ids_order":["1330644297","1330644300","1330644301","1330644305","1330644309","1330644353"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/be8d0b4277f9366b7d61158493acb85a.jpg","text":"TemporaryFile(/tmp/multipartBody2670054359803382912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_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/22/e76a83c7c72579b43596f7cf29816de6.jpg","text":"TemporaryFile(/tmp/multipartBody160594462891251992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_41_5525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ac54a3fd4de10e1463b6bc632427bf88.jpg","text":"TemporaryFile(/tmp/multipartBody6009625955351894993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_53_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e7bb39cc75e01cefba64338b72bde8d.jpg","text":"TemporaryFile(/tmp/multipartBody1307573841652304133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_29_6128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3567319c1e1fd6bcb6483cb94f7b17b2.jpg","text":"TemporaryFile(/tmp/multipartBody8336656454489075395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_48_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/22/afea53b34bbeab711f0d568ed418d742.jpg","text":"TemporaryFile(/tmp/multipartBody6569288856029431268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567532876,"filename":"image_22012025_18_37_23_6626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644301","file1":"1330644300","file0":"1330644297","file4":"1330644309","file5":"1330644353","file3":"1330644305"},"map_files_photo_id_array":[{"photo_id":"1330644353","filename":"file5"},{"photo_id":"1330644301","filename":"file2"},{"photo_id":"1330644309","filename":"file4"},{"photo_id":"1330644300","filename":"file1"},{"photo_id":"1330644297","filename":"file0"},{"photo_id":"1330644305","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644305":["hashtag1","hashtag2"]},{"1330644301":["hashtag1","hashtag2"]},{"1330644297":["hashtag1","hashtag2"]},{"1330644309":["hashtag1","hashtag2"]},{"1330644300":["hashtag1","hashtag2"]},{"1330644353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644305, 1330644301, 1330644297, 1330644309, 1330644300, 1330644353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86772418022156 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:38:42.135737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/38/image_22012025_18_38_59_6547.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_47_5712.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_41_6812.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_35_4823.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_30_6026.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_24_6690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/38/image_22012025_18_38_59_6547.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_47_5712.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_41_6812.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_35_4823.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_30_6026.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_24_6690.jpg
 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: 20.967782258987427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:39:22.197267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/39/image_22012025_18_39_53_5452.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_47_6304.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_41_5279.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_35_6541.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_29_6612.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_22_5312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/39/image_22012025_18_39_53_5452.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_47_6304.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_41_5279.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_35_6541.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_29_6612.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_22_5312.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644614","1330644617","1330644781","1330644619","1330644616","1330644779"],"photo_ids_order":["1330644614","1330644616","1330644617","1330644619","1330644779","1330644781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/669b583c17dcf71913c96f801a6e9663.jpg","text":"TemporaryFile(/tmp/multipartBody6150784416326352194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_53_5452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a2d595e68a630ddfa78f43cfbfc2c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody5896597189012703850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_41_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/22/2c1bbc9e2a4c99b2003ba78985c24560.jpg","text":"TemporaryFile(/tmp/multipartBody3273211887083363244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_22_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/22/36a02148724cf0f720c27284a48ca77e.jpg","text":"TemporaryFile(/tmp/multipartBody8056569797797280698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_35_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/22/44c9d803cfced6f7044c1fefeea06431.jpg","text":"TemporaryFile(/tmp/multipartBody7737683281464764321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_47_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/22/13c994c56430baa3642258255a531df3.jpg","text":"TemporaryFile(/tmp/multipartBody4503617064384676419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567651343,"filename":"image_22012025_18_39_29_6612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644617","file1":"1330644616","file0":"1330644614","file4":"1330644779","file5":"1330644781","file3":"1330644619"},"map_files_photo_id_array":[{"photo_id":"1330644781","filename":"file5"},{"photo_id":"1330644617","filename":"file2"},{"photo_id":"1330644779","filename":"file4"},{"photo_id":"1330644616","filename":"file1"},{"photo_id":"1330644614","filename":"file0"},{"photo_id":"1330644619","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644614":["hashtag1","hashtag2"]},{"1330644617":["hashtag1","hashtag2"]},{"1330644781":["hashtag1","hashtag2"]},{"1330644619":["hashtag1","hashtag2"]},{"1330644616":["hashtag1","hashtag2"]},{"1330644779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644614, 1330644617, 1330644781, 1330644619, 1330644616, 1330644779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.51059031486511 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:40:42.465757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/40/image_22012025_18_40_53_5388.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_48_5947.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_42_6041.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_36_6188.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_30_5986.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_24_6738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/40/image_22012025_18_40_53_5388.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_48_5947.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_42_6041.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_36_6188.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_30_5986.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_24_6738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644848","1330644836","1330644815","1330644847","1330644822","1330644819"],"photo_ids_order":["1330644815","1330644819","1330644822","1330644836","1330644847","1330644848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f46d13271b9814b27e36c8b373597e04.jpg","text":"TemporaryFile(/tmp/multipartBody6969524137447425062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_24_6738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a0435db1267d7986b4cfa8d78211d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7804252805488154251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_36_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/22/41c862795fa42212d654eb5eb25b260c.jpg","text":"TemporaryFile(/tmp/multipartBody5909487891246433045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_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/22/eda1987b4b22eeba993b9fd22f1c176a.jpg","text":"TemporaryFile(/tmp/multipartBody1751851379200999878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_30_5986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a4b0a3c67c0c7d6a76c8e6b32d49e50a.jpg","text":"TemporaryFile(/tmp/multipartBody8196762921130142206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_42_6041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d5d5c10a511791f7be9533b920df625d.jpg","text":"TemporaryFile(/tmp/multipartBody4732066101494670730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567713406,"filename":"image_22012025_18_40_48_5947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644822","file1":"1330644819","file0":"1330644815","file4":"1330644847","file5":"1330644848","file3":"1330644836"},"map_files_photo_id_array":[{"photo_id":"1330644848","filename":"file5"},{"photo_id":"1330644822","filename":"file2"},{"photo_id":"1330644847","filename":"file4"},{"photo_id":"1330644819","filename":"file1"},{"photo_id":"1330644815","filename":"file0"},{"photo_id":"1330644836","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644848":["hashtag1","hashtag2"]},{"1330644836":["hashtag1","hashtag2"]},{"1330644815":["hashtag1","hashtag2"]},{"1330644847":["hashtag1","hashtag2"]},{"1330644822":["hashtag1","hashtag2"]},{"1330644819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644848, 1330644836, 1330644815, 1330644847, 1330644822, 1330644819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.46884560585022 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:41:42.623561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/41/image_22012025_18_41_53_5903.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_46_5482.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_41_6528.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_34_5266.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_29_6501.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_23_5248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/41/image_22012025_18_41_53_5903.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_46_5482.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_41_6528.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_34_5266.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_29_6501.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_23_5248.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644889","1330644882","1330644891","1330644885","1330644893","1330644887"],"photo_ids_order":["1330644882","1330644885","1330644887","1330644889","1330644891","1330644893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/454bba3daf2381ca4999ce3a08b3f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody2161979972180390677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_34_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/22/29353a5a2740744a43b88abda6726a22.jpg","text":"TemporaryFile(/tmp/multipartBody9098100285821370981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_53_5903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6be2157f7ff4317cd7b4378af0f0fc20.jpg","text":"TemporaryFile(/tmp/multipartBody7091794994074418654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_29_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/22/f00770548a08fdc9760f46c7f3aebc09.jpg","text":"TemporaryFile(/tmp/multipartBody7554233316632081817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_46_5482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a057e22c25c5441685eb1633358a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody4779416945841828667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_23_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/22/52a2e52ffe1d4a072f1934587da4b2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2478292944583432425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567769918,"filename":"image_22012025_18_41_41_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644887","file1":"1330644885","file0":"1330644882","file4":"1330644891","file5":"1330644893","file3":"1330644889"},"map_files_photo_id_array":[{"photo_id":"1330644893","filename":"file5"},{"photo_id":"1330644887","filename":"file2"},{"photo_id":"1330644891","filename":"file4"},{"photo_id":"1330644885","filename":"file1"},{"photo_id":"1330644882","filename":"file0"},{"photo_id":"1330644889","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644889":["hashtag1","hashtag2"]},{"1330644882":["hashtag1","hashtag2"]},{"1330644891":["hashtag1","hashtag2"]},{"1330644885":["hashtag1","hashtag2"]},{"1330644893":["hashtag1","hashtag2"]},{"1330644887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644889, 1330644882, 1330644891, 1330644885, 1330644893, 1330644887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10665154457092 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:42:22.855843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/42/image_22012025_18_42_53_6244.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_47_5823.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_41_6522.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_35_5299.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_29_6580.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_23_5303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/42/image_22012025_18_42_53_6244.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_47_5823.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_41_6522.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_35_5299.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_29_6580.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_23_5303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330644959","1330644950","1330644947","1330644970","1330644955","1330644941"],"photo_ids_order":["1330644941","1330644947","1330644950","1330644955","1330644959","1330644970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0c327b5066aed62b2b33ea524415a78f.jpg","text":"TemporaryFile(/tmp/multipartBody3310484585170350470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_29_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/22/4a3325ae62fe0c99babd74223d1c2bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2303953652283589292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_41_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/22/70ff52ad4b8a11770805e762bee505a1.jpg","text":"TemporaryFile(/tmp/multipartBody1718323362870919292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_47_5823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01e1315d233e5035aaccafbd29e2366d.jpg","text":"TemporaryFile(/tmp/multipartBody6668749802796524049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_23_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/22/1f90826c5b6ebe95de2403e6fc384259.jpg","text":"TemporaryFile(/tmp/multipartBody3812801574939341856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_35_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/22/95e8010116178296f5089eb365b1430b.jpg","text":"TemporaryFile(/tmp/multipartBody6585720954778384062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567820395,"filename":"image_22012025_18_42_53_6244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330644950","file1":"1330644947","file0":"1330644941","file4":"1330644959","file5":"1330644970","file3":"1330644955"},"map_files_photo_id_array":[{"photo_id":"1330644970","filename":"file5"},{"photo_id":"1330644950","filename":"file2"},{"photo_id":"1330644959","filename":"file4"},{"photo_id":"1330644947","filename":"file1"},{"photo_id":"1330644941","filename":"file0"},{"photo_id":"1330644955","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330644959":["hashtag1","hashtag2"]},{"1330644950":["hashtag1","hashtag2"]},{"1330644947":["hashtag1","hashtag2"]},{"1330644970":["hashtag1","hashtag2"]},{"1330644955":["hashtag1","hashtag2"]},{"1330644941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330644959, 1330644950, 1330644947, 1330644970, 1330644955, 1330644941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.2735538482666 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:43:22.073571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/43/image_22012025_18_43_59_6459.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_47_5359.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_41_5939.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_35_6185.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_30_5832.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_23_6593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/43/image_22012025_18_43_59_6459.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_47_5359.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_41_5939.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_35_6185.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_30_5832.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_23_6593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645034","1330645036","1330645032","1330645029","1330645020","1330645025"],"photo_ids_order":["1330645020","1330645025","1330645029","1330645032","1330645034","1330645036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d1c6d2eb0fbe3e67a4affaff5d97a691.jpg","text":"TemporaryFile(/tmp/multipartBody443170250095639170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_30_5832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/585bca4300a2e2ec40a3f80f3eca757b.jpg","text":"TemporaryFile(/tmp/multipartBody2141784277486081281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_23_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/22/72a561417de3ba719cf70f78012eb386.jpg","text":"TemporaryFile(/tmp/multipartBody8565834398595577262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_35_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/22/6001e4b0242c592fac933375f31dacdb.jpg","text":"TemporaryFile(/tmp/multipartBody8587117108470755899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_41_5939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a1ba248c287d116668486a8c82a63f5.jpg","text":"TemporaryFile(/tmp/multipartBody8324847293920427577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_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/22/26b8c403f51e9672a9fce3c403af1061.jpg","text":"TemporaryFile(/tmp/multipartBody3485909543414657022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567879765,"filename":"image_22012025_18_43_47_5359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645029","file1":"1330645025","file0":"1330645020","file4":"1330645034","file5":"1330645036","file3":"1330645032"},"map_files_photo_id_array":[{"photo_id":"1330645036","filename":"file5"},{"photo_id":"1330645029","filename":"file2"},{"photo_id":"1330645034","filename":"file4"},{"photo_id":"1330645025","filename":"file1"},{"photo_id":"1330645020","filename":"file0"},{"photo_id":"1330645032","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645034":["hashtag1","hashtag2"]},{"1330645036":["hashtag1","hashtag2"]},{"1330645032":["hashtag1","hashtag2"]},{"1330645029":["hashtag1","hashtag2"]},{"1330645020":["hashtag1","hashtag2"]},{"1330645025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645034, 1330645036, 1330645032, 1330645029, 1330645020, 1330645025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.27589416503906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:44:22.175038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/44/image_22012025_18_44_52_5283.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_47_6536.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_41_6110.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_34_6036.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_29_5922.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_23_5414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/44/image_22012025_18_44_52_5283.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_47_6536.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_41_6110.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_34_6036.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_29_5922.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_23_5414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645090","1330645078","1330645072","1330645083","1330645088","1330645067"],"photo_ids_order":["1330645067","1330645072","1330645078","1330645083","1330645088","1330645090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/018fab65db513a70a95cc05727d75d87.jpg","text":"TemporaryFile(/tmp/multipartBody1521775270914320878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_23_5414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7cdb691e010c2db13afcf22e97863da.jpg","text":"TemporaryFile(/tmp/multipartBody267672683780584811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_41_6110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a39fb1374ae5a483ee9802048c6cea9e.jpg","text":"TemporaryFile(/tmp/multipartBody5416302796955420496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_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/22/d3255b89a67360a391ec62e5121b1e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7292833324955102475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_34_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/22/d034661559de4022032bd61b27c32cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2049175528426335078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_29_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fb88fe1e415f8da2e105ae9418d3824e.jpg","text":"TemporaryFile(/tmp/multipartBody6559412937173603996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567946786,"filename":"image_22012025_18_44_52_5283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645078","file1":"1330645072","file0":"1330645067","file4":"1330645088","file5":"1330645090","file3":"1330645083"},"map_files_photo_id_array":[{"photo_id":"1330645090","filename":"file5"},{"photo_id":"1330645078","filename":"file2"},{"photo_id":"1330645088","filename":"file4"},{"photo_id":"1330645072","filename":"file1"},{"photo_id":"1330645067","filename":"file0"},{"photo_id":"1330645083","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645090":["hashtag1","hashtag2"]},{"1330645078":["hashtag1","hashtag2"]},{"1330645072":["hashtag1","hashtag2"]},{"1330645083":["hashtag1","hashtag2"]},{"1330645088":["hashtag1","hashtag2"]},{"1330645067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645090, 1330645078, 1330645072, 1330645083, 1330645088, 1330645067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.840370893478394 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:45:22.374849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/45/image_22012025_18_45_53_5300.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_47_6159.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_41_5665.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_36_6641.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_29_5842.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_23_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/45/image_22012025_18_45_53_5300.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_47_6159.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_41_5665.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_36_6641.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_29_5842.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_23_6566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645112","1330645135","1330645129","1330645108","1330645097","1330645101"],"photo_ids_order":["1330645097","1330645101","1330645108","1330645112","1330645129","1330645135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59cad2ec821527b1da749295972d4e22.jpg","text":"TemporaryFile(/tmp/multipartBody403492103733219725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_36_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/22/00f0cefc5d3a453bc634344f7a6a5d0f.jpg","text":"TemporaryFile(/tmp/multipartBody5495762248848098811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_23_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/22/3f464276542835a23753b3b31ca57a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2600624153916763646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_29_5842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9983e16df2c1d3fa99a282126ce3f07d.jpg","text":"TemporaryFile(/tmp/multipartBody1185360366052038201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_41_5665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/81ca6a7a92f5c4d4792fa84f217f68bd.jpg","text":"TemporaryFile(/tmp/multipartBody623513240277880393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_53_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/22/891db21e5fa1eb9af8b8c38fffdc027a.jpg","text":"TemporaryFile(/tmp/multipartBody165766652853373770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737567991812,"filename":"image_22012025_18_45_47_6159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645108","file1":"1330645101","file0":"1330645097","file4":"1330645129","file5":"1330645135","file3":"1330645112"},"map_files_photo_id_array":[{"photo_id":"1330645135","filename":"file5"},{"photo_id":"1330645108","filename":"file2"},{"photo_id":"1330645129","filename":"file4"},{"photo_id":"1330645101","filename":"file1"},{"photo_id":"1330645097","filename":"file0"},{"photo_id":"1330645112","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645112":["hashtag1","hashtag2"]},{"1330645135":["hashtag1","hashtag2"]},{"1330645129":["hashtag1","hashtag2"]},{"1330645108":["hashtag1","hashtag2"]},{"1330645097":["hashtag1","hashtag2"]},{"1330645101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645112, 1330645135, 1330645129, 1330645108, 1330645097, 1330645101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.413822174072266 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:46:22.454577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/46/image_22012025_18_46_53_5316.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_47_6537.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_41_6488.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_34_5363.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_29_6089.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_23_5391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/46/image_22012025_18_46_53_5316.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_47_6537.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_41_6488.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_34_5363.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_29_6089.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_23_5391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645378","1330645330","1330645348","1330645335","1330645382","1330645388"],"photo_ids_order":["1330645330","1330645335","1330645348","1330645378","1330645382","1330645388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36f51e2dc74f353203bd52cb975df779.jpg","text":"TemporaryFile(/tmp/multipartBody4509662825281117235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_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/22/cf597594451bea1e2aa2c5f7173fb4c3.jpg","text":"TemporaryFile(/tmp/multipartBody8066116534601349589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_53_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/22/0c773f95ba5c3184fbec493fbdd702de.jpg","text":"TemporaryFile(/tmp/multipartBody6310826474696158142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_41_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/22/a1fc1beccefc1a6e27ad3bb2b17194d7.jpg","text":"TemporaryFile(/tmp/multipartBody901974515513198468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_47_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/22/778be667932c4dd7038770bc2ef42738.jpg","text":"TemporaryFile(/tmp/multipartBody5613096220895528308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_29_6089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a663a5ea51bbb2794da63a18e57ef72.jpg","text":"TemporaryFile(/tmp/multipartBody5212893129036171218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568054687,"filename":"image_22012025_18_46_23_5391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645348","file1":"1330645335","file0":"1330645330","file4":"1330645382","file5":"1330645388","file3":"1330645378"},"map_files_photo_id_array":[{"photo_id":"1330645388","filename":"file5"},{"photo_id":"1330645348","filename":"file2"},{"photo_id":"1330645382","filename":"file4"},{"photo_id":"1330645335","filename":"file1"},{"photo_id":"1330645330","filename":"file0"},{"photo_id":"1330645378","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645378":["hashtag1","hashtag2"]},{"1330645330":["hashtag1","hashtag2"]},{"1330645348":["hashtag1","hashtag2"]},{"1330645335":["hashtag1","hashtag2"]},{"1330645382":["hashtag1","hashtag2"]},{"1330645388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645378, 1330645330, 1330645348, 1330645335, 1330645382, 1330645388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.51315879821777 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:47:22.632272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/47/image_22012025_18_47_53_5286.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_47_6532.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_41_5299.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_35_6704.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_29_5572.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_24_6545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/47/image_22012025_18_47_53_5286.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_47_6532.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_41_5299.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_35_6704.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_29_5572.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_24_6545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645645","1330645659","1330645674","1330645656","1330645637","1330645640"],"photo_ids_order":["1330645637","1330645640","1330645645","1330645656","1330645659","1330645674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e47bb21b44ac63ad764232c10fdb574.jpg","text":"TemporaryFile(/tmp/multipartBody1802309377561045172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_41_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/22/3dade87857b510588d22a8c9d843e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5886989613203664127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_29_5572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5e054dae7fdc449dfa166b3d3b175e5.jpg","text":"TemporaryFile(/tmp/multipartBody9005891716170306573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_24_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/22/39c39a76cd53de648c0859e0bac9a5c2.jpg","text":"TemporaryFile(/tmp/multipartBody6134074183450153753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_35_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/22/ecc3d6f0a901cd72421b48f5469046f0.jpg","text":"TemporaryFile(/tmp/multipartBody7895767957315530798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_53_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/22/0d0d24f2669157d3ace47a48bdae608d.jpg","text":"TemporaryFile(/tmp/multipartBody1291818716771127056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568119912,"filename":"image_22012025_18_47_47_6532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645645","file1":"1330645640","file0":"1330645637","file4":"1330645659","file5":"1330645674","file3":"1330645656"},"map_files_photo_id_array":[{"photo_id":"1330645674","filename":"file5"},{"photo_id":"1330645645","filename":"file2"},{"photo_id":"1330645659","filename":"file4"},{"photo_id":"1330645640","filename":"file1"},{"photo_id":"1330645637","filename":"file0"},{"photo_id":"1330645656","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645645":["hashtag1","hashtag2"]},{"1330645659":["hashtag1","hashtag2"]},{"1330645674":["hashtag1","hashtag2"]},{"1330645656":["hashtag1","hashtag2"]},{"1330645637":["hashtag1","hashtag2"]},{"1330645640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645645, 1330645659, 1330645674, 1330645656, 1330645637, 1330645640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75689196586609 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:48:22.875838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/48/image_22012025_18_48_59_6484.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_46_5305.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_41_6101.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_35_6365.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_29_5926.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_23_6358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/48/image_22012025_18_48_59_6484.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_46_5305.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_41_6101.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_35_6365.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_29_5926.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_23_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":["1330645798","1330645792","1330645857","1330645781","1330645841","1330645802"],"photo_ids_order":["1330645781","1330645792","1330645798","1330645802","1330645841","1330645857"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b2d467ac5e5d47993d00ef3bbc350823.jpg","text":"TemporaryFile(/tmp/multipartBody8825646281020948616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_41_6101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4812b405e512c28641f8a1878187df1.jpg","text":"TemporaryFile(/tmp/multipartBody8663454478451571338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_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/22/8c5d6ac617cb79d05045a160cb6b3d46.jpg","text":"TemporaryFile(/tmp/multipartBody3723577079524494135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_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/22/6cca242301029e431bd45cbce9ad567c.jpg","text":"TemporaryFile(/tmp/multipartBody8331543547740429700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_59_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/22/a9816db66ee400ca6d986030903b20a9.jpg","text":"TemporaryFile(/tmp/multipartBody8437208425026362164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_29_5926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/935ea5e700e179e4b900ef5491d1add5.jpg","text":"TemporaryFile(/tmp/multipartBody5707820484197596490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568177401,"filename":"image_22012025_18_48_35_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645798","file1":"1330645792","file0":"1330645781","file4":"1330645841","file5":"1330645857","file3":"1330645802"},"map_files_photo_id_array":[{"photo_id":"1330645857","filename":"file5"},{"photo_id":"1330645798","filename":"file2"},{"photo_id":"1330645841","filename":"file4"},{"photo_id":"1330645792","filename":"file1"},{"photo_id":"1330645781","filename":"file0"},{"photo_id":"1330645802","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645798":["hashtag1","hashtag2"]},{"1330645792":["hashtag1","hashtag2"]},{"1330645857":["hashtag1","hashtag2"]},{"1330645781":["hashtag1","hashtag2"]},{"1330645841":["hashtag1","hashtag2"]},{"1330645802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645798, 1330645792, 1330645857, 1330645781, 1330645841, 1330645802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.40048813819885 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:49:21.834674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/49/image_22012025_18_49_53_5277.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_47_6499.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_41_5623.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_35_6260.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_29_5601.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_23_6606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/49/image_22012025_18_49_53_5277.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_47_6499.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_41_5623.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_35_6260.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_29_5601.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_23_6606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330645975","1330645978","1330645954","1330645967","1330645961","1330645949"],"photo_ids_order":["1330645949","1330645954","1330645961","1330645967","1330645975","1330645978"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6ba7383f8d670b59e769657117c4b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7645638747200063279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_29_5601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c7a752f8b2f2654cba64e604be0f38a.jpg","text":"TemporaryFile(/tmp/multipartBody7287349454556961960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_23_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/22/bcba3880650755a9d85a96c69952f138.jpg","text":"TemporaryFile(/tmp/multipartBody1218706307222707355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_47_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/22/75aa1caf1aa23cdfc203d61fac6af023.jpg","text":"TemporaryFile(/tmp/multipartBody464932741367680189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_35_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/22/c103471f809ebfdfb95365a58e203ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1265211178434050287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_41_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54287f84717f9c2ce8232cf8aac95d53.jpg","text":"TemporaryFile(/tmp/multipartBody6583211931064264799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568231328,"filename":"image_22012025_18_49_53_5277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330645961","file1":"1330645954","file0":"1330645949","file4":"1330645975","file5":"1330645978","file3":"1330645967"},"map_files_photo_id_array":[{"photo_id":"1330645978","filename":"file5"},{"photo_id":"1330645961","filename":"file2"},{"photo_id":"1330645975","filename":"file4"},{"photo_id":"1330645954","filename":"file1"},{"photo_id":"1330645949","filename":"file0"},{"photo_id":"1330645967","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330645975":["hashtag1","hashtag2"]},{"1330645978":["hashtag1","hashtag2"]},{"1330645954":["hashtag1","hashtag2"]},{"1330645967":["hashtag1","hashtag2"]},{"1330645961":["hashtag1","hashtag2"]},{"1330645949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330645975, 1330645978, 1330645954, 1330645967, 1330645961, 1330645949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74551820755005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:50:22.161214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/50/image_22012025_18_50_53_6447.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_47_6476.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_40_5253.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_35_6259.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_29_6133.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_23_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/50/image_22012025_18_50_53_6447.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_47_6476.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_40_5253.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_35_6259.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_29_6133.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_23_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":["1330646061","1330646090","1330646072","1330646102","1330646083","1330646077"],"photo_ids_order":["1330646061","1330646072","1330646077","1330646083","1330646090","1330646102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c6fbd3cc7413ff42b622a3b917713eb.jpg","text":"TemporaryFile(/tmp/multipartBody1665063083372146888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_53_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/22/4633b2883201fba7f916e4c8b030d288.jpg","text":"TemporaryFile(/tmp/multipartBody3543979142481532376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_29_6133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0a0a5ecac4ead74979f011cf598f1567.jpg","text":"TemporaryFile(/tmp/multipartBody1643577236914886688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_47_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/22/571f4d3e70952642ec66aa8e6ad1dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody5362634438241690195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_23_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/22/d73c2e534d2a11717dc0ac2b09ba8cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4907002900775827743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_35_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/22/c3d29707bc3c19d92b2aea3ef45a8acb.jpg","text":"TemporaryFile(/tmp/multipartBody6127027460005994871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568295905,"filename":"image_22012025_18_50_40_5253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646077","file1":"1330646072","file0":"1330646061","file4":"1330646090","file5":"1330646102","file3":"1330646083"},"map_files_photo_id_array":[{"photo_id":"1330646102","filename":"file5"},{"photo_id":"1330646077","filename":"file2"},{"photo_id":"1330646090","filename":"file4"},{"photo_id":"1330646072","filename":"file1"},{"photo_id":"1330646061","filename":"file0"},{"photo_id":"1330646083","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646061":["hashtag1","hashtag2"]},{"1330646090":["hashtag1","hashtag2"]},{"1330646072":["hashtag1","hashtag2"]},{"1330646102":["hashtag1","hashtag2"]},{"1330646083":["hashtag1","hashtag2"]},{"1330646077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646061, 1330646090, 1330646072, 1330646102, 1330646083, 1330646077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.86738896369934 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:51:22.260924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/51/image_22012025_18_51_53_5292.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_47_6550.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_41_5670.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_35_6358.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_29_6011.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_23_5394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/51/image_22012025_18_51_53_5292.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_47_6550.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_41_5670.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_35_6358.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_29_6011.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_23_5394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646146","1330646133","1330646159","1330646153","1330646156","1330646149"],"photo_ids_order":["1330646133","1330646146","1330646149","1330646153","1330646156","1330646159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2de9bb646a34d432ca03d5db7f9dfeed.jpg","text":"TemporaryFile(/tmp/multipartBody6941251379423355063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_47_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/22/3d9cf35660c4e9ce2211ee108e4b2919.jpg","text":"TemporaryFile(/tmp/multipartBody6448408697725086684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_53_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/22/8939db15a731bbae743742ed9f0ea5b1.jpg","text":"TemporaryFile(/tmp/multipartBody6137886401264994183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_23_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/22/069a4a1798debbe3744ca5db0e4e8795.jpg","text":"TemporaryFile(/tmp/multipartBody2049500861332364776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_35_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/22/25adb419ef940ffb6ad35498ee794aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6903478580337758364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_29_6011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b64488dc462fc65622b5c8b62c2c3c56.jpg","text":"TemporaryFile(/tmp/multipartBody6299294656465168701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568370692,"filename":"image_22012025_18_51_41_5670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646149","file1":"1330646146","file0":"1330646133","file4":"1330646156","file5":"1330646159","file3":"1330646153"},"map_files_photo_id_array":[{"photo_id":"1330646159","filename":"file5"},{"photo_id":"1330646149","filename":"file2"},{"photo_id":"1330646156","filename":"file4"},{"photo_id":"1330646146","filename":"file1"},{"photo_id":"1330646133","filename":"file0"},{"photo_id":"1330646153","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646146":["hashtag1","hashtag2"]},{"1330646133":["hashtag1","hashtag2"]},{"1330646159":["hashtag1","hashtag2"]},{"1330646153":["hashtag1","hashtag2"]},{"1330646156":["hashtag1","hashtag2"]},{"1330646149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646146, 1330646133, 1330646159, 1330646153, 1330646156, 1330646149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.64316201210022 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:52:42.586329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/52/image_22012025_18_52_53_6422.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_47_6350.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_41_5244.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_35_6631.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_29_6292.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_23_5356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/52/image_22012025_18_52_53_6422.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_47_6350.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_41_5244.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_35_6631.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_29_6292.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_23_5356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646196","1330646199","1330646202","1330646189","1330646183","1330646192"],"photo_ids_order":["1330646183","1330646189","1330646192","1330646196","1330646199","1330646202"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/264c4fc1679c963a90c5cf5faef2e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody256822678958105056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_35_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b566daa14961fd82995974625865b0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7664273541051362736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_29_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/22/7d06272e8bed2c74ad8830561d9034cb.jpg","text":"TemporaryFile(/tmp/multipartBody8284211844260270377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_23_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/22/eb7f7afff5ac5434407014860cfd6f71.jpg","text":"TemporaryFile(/tmp/multipartBody6754892243966654354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_47_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/22/315397cff8bb522554bec2a9c515e6b4.jpg","text":"TemporaryFile(/tmp/multipartBody4136151344475420116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_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/22/9eda65ed91fbcfdf9b14bcdd5710991e.jpg","text":"TemporaryFile(/tmp/multipartBody2111570168334762221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568434027,"filename":"image_22012025_18_52_41_5244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646192","file1":"1330646189","file0":"1330646183","file4":"1330646199","file5":"1330646202","file3":"1330646196"},"map_files_photo_id_array":[{"photo_id":"1330646202","filename":"file5"},{"photo_id":"1330646192","filename":"file2"},{"photo_id":"1330646199","filename":"file4"},{"photo_id":"1330646189","filename":"file1"},{"photo_id":"1330646183","filename":"file0"},{"photo_id":"1330646196","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646196":["hashtag1","hashtag2"]},{"1330646199":["hashtag1","hashtag2"]},{"1330646202":["hashtag1","hashtag2"]},{"1330646189":["hashtag1","hashtag2"]},{"1330646183":["hashtag1","hashtag2"]},{"1330646192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646196, 1330646199, 1330646202, 1330646189, 1330646183, 1330646192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96101093292236 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:53:42.657033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/53/image_22012025_18_53_58_5743.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_48_5768.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_41_6474.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_35_6454.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_28_5240.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_23_6478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/53/image_22012025_18_53_58_5743.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_48_5768.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_41_6474.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_35_6454.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_28_5240.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_23_6478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646274","1330646253","1330646270","1330646264","1330646258","1330646248"],"photo_ids_order":["1330646248","1330646253","1330646258","1330646264","1330646270","1330646274"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4ac52d201cbbd522aac72a06f63ddfd8.jpg","text":"TemporaryFile(/tmp/multipartBody7118137764248953549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_23_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/22/7bc81f6dba46781cbc5ac300b684d40a.jpg","text":"TemporaryFile(/tmp/multipartBody1899538705737592738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_48_5768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/99476e61a398f936b904a297ebd40f29.jpg","text":"TemporaryFile(/tmp/multipartBody7186835886241190781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_28_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/22/20be11043bf8c90c6a31d138aca79952.jpg","text":"TemporaryFile(/tmp/multipartBody1148982925880657425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_35_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/22/3535ab9738a6302a60c5cdfa7b8f583d.jpg","text":"TemporaryFile(/tmp/multipartBody6406072412620609105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_41_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/22/98f0421afa429474f414b39331957f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2035102683847487297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568503287,"filename":"image_22012025_18_53_58_5743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646258","file1":"1330646253","file0":"1330646248","file4":"1330646270","file5":"1330646274","file3":"1330646264"},"map_files_photo_id_array":[{"photo_id":"1330646274","filename":"file5"},{"photo_id":"1330646258","filename":"file2"},{"photo_id":"1330646270","filename":"file4"},{"photo_id":"1330646253","filename":"file1"},{"photo_id":"1330646248","filename":"file0"},{"photo_id":"1330646264","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646274":["hashtag1","hashtag2"]},{"1330646253":["hashtag1","hashtag2"]},{"1330646270":["hashtag1","hashtag2"]},{"1330646264":["hashtag1","hashtag2"]},{"1330646258":["hashtag1","hashtag2"]},{"1330646248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646274, 1330646253, 1330646270, 1330646264, 1330646258, 1330646248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.426926136016846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:54:42.728785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/54/image_22012025_18_54_53_5636.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_47_5982.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_41_6524.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_35_5287.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_29_6529.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_23_6478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/54/image_22012025_18_54_53_5636.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_47_5982.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_41_6524.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_35_5287.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_29_6529.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_23_6478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646305","1330646291","1330646294","1330646297","1330646300","1330646303"],"photo_ids_order":["1330646291","1330646294","1330646297","1330646300","1330646303","1330646305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/40b5241dd763cc512e2e67bb8e5001f5.jpg","text":"TemporaryFile(/tmp/multipartBody8242680296672846707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_23_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/22/3bf6491ecd12806ebcf211bad7e15feb.jpg","text":"TemporaryFile(/tmp/multipartBody6703098619050114938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_53_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65a04b2bd3139562ae09b2179e7fab6b.jpg","text":"TemporaryFile(/tmp/multipartBody8308646285049663972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_47_5982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5534c96dd27c3e0c940605a6a006e060.jpg","text":"TemporaryFile(/tmp/multipartBody5451561891818283006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_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/22/847dc271560a01e03223fa817231907a.jpg","text":"TemporaryFile(/tmp/multipartBody3341146273909481560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_35_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/22/a6cebc56f7a99a8892197e5c722fb036.jpg","text":"TemporaryFile(/tmp/multipartBody1448066548326879543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568549875,"filename":"image_22012025_18_54_29_6529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646297","file1":"1330646294","file0":"1330646291","file4":"1330646303","file5":"1330646305","file3":"1330646300"},"map_files_photo_id_array":[{"photo_id":"1330646305","filename":"file5"},{"photo_id":"1330646297","filename":"file2"},{"photo_id":"1330646303","filename":"file4"},{"photo_id":"1330646294","filename":"file1"},{"photo_id":"1330646291","filename":"file0"},{"photo_id":"1330646300","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646305":["hashtag1","hashtag2"]},{"1330646291":["hashtag1","hashtag2"]},{"1330646294":["hashtag1","hashtag2"]},{"1330646297":["hashtag1","hashtag2"]},{"1330646300":["hashtag1","hashtag2"]},{"1330646303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646305, 1330646291, 1330646294, 1330646297, 1330646300, 1330646303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94927787780762 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:55:41.917163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/55/image_22012025_18_55_53_5912.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_47_5492.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_41_6489.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_35_5247.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_29_6458.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_23_6488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/55/image_22012025_18_55_53_5912.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_47_5492.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_41_6489.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_35_5247.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_29_6458.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_23_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":["1330646341","1330646335","1330646344","1330646338","1330646331","1330646334"],"photo_ids_order":["1330646331","1330646334","1330646335","1330646338","1330646341","1330646344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f0d43926bedc678096163ebcff9e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody494724627431792874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_29_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/22/6402bf5e3a734565d1c2bb8f9db341d1.jpg","text":"TemporaryFile(/tmp/multipartBody3381093755378099770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_41_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/22/84d80af79b0a2ed20947f48d53b40789.jpg","text":"TemporaryFile(/tmp/multipartBody6648346646607585748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_23_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/22/1a518e6bef195db305265eafd813b04a.jpg","text":"TemporaryFile(/tmp/multipartBody1897588582587166837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_35_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/22/f41a01da043ecc8d7187bddc24cd7fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4654646315457708738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_53_5912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/098a6dca65299394cb74142f59f6db02.jpg","text":"TemporaryFile(/tmp/multipartBody8302852751195501413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568612160,"filename":"image_22012025_18_55_47_5492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646335","file1":"1330646334","file0":"1330646331","file4":"1330646341","file5":"1330646344","file3":"1330646338"},"map_files_photo_id_array":[{"photo_id":"1330646344","filename":"file5"},{"photo_id":"1330646335","filename":"file2"},{"photo_id":"1330646341","filename":"file4"},{"photo_id":"1330646334","filename":"file1"},{"photo_id":"1330646331","filename":"file0"},{"photo_id":"1330646338","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646341":["hashtag1","hashtag2"]},{"1330646335":["hashtag1","hashtag2"]},{"1330646344":["hashtag1","hashtag2"]},{"1330646338":["hashtag1","hashtag2"]},{"1330646331":["hashtag1","hashtag2"]},{"1330646334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646341, 1330646335, 1330646344, 1330646338, 1330646331, 1330646334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.7725772857666 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:56:42.169212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/56/image_22012025_18_56_53_6143.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_47_6864.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_40_5241.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_35_6451.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_29_5206.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_23_6498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/56/image_22012025_18_56_53_6143.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_47_6864.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_40_5241.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_35_6451.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_29_5206.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_23_6498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646382","1330646376","1330646379","1330646373","1330646369","1330646384"],"photo_ids_order":["1330646369","1330646373","1330646376","1330646379","1330646382","1330646384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/491001226a9054891f984460f873744c.jpg","text":"TemporaryFile(/tmp/multipartBody1949189553800608881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_29_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/22/f9e3c8a62cb416d7ccb98d1e41d3c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody1311713450284783775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_40_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/22/7719b118b06f866bb12130d255bdbf18.jpg","text":"TemporaryFile(/tmp/multipartBody6163397961228911229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_35_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/22/9b3a1910eb988aebad02ee4df68fdfd9.jpg","text":"TemporaryFile(/tmp/multipartBody8175381432400738879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_47_6864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dfe545cc2ed75e755b5890eb7bbc3da0.jpg","text":"TemporaryFile(/tmp/multipartBody3011557541413807996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_53_6143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/917c0a0834d0f1113d955c46f5888f12.jpg","text":"TemporaryFile(/tmp/multipartBody4287864683802658967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568670584,"filename":"image_22012025_18_56_23_6498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646376","file1":"1330646373","file0":"1330646369","file4":"1330646382","file5":"1330646384","file3":"1330646379"},"map_files_photo_id_array":[{"photo_id":"1330646384","filename":"file5"},{"photo_id":"1330646376","filename":"file2"},{"photo_id":"1330646382","filename":"file4"},{"photo_id":"1330646373","filename":"file1"},{"photo_id":"1330646369","filename":"file0"},{"photo_id":"1330646379","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646382":["hashtag1","hashtag2"]},{"1330646376":["hashtag1","hashtag2"]},{"1330646379":["hashtag1","hashtag2"]},{"1330646373":["hashtag1","hashtag2"]},{"1330646369":["hashtag1","hashtag2"]},{"1330646384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646382, 1330646376, 1330646379, 1330646373, 1330646369, 1330646384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.896053075790405 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 18:57:42.205412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/57/image_22012025_18_57_53_5048.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_48_6851.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_41_5309.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_35_6446.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_29_6556.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_22_5230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/57/image_22012025_18_57_53_5048.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_48_6851.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_41_5309.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_35_6446.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_29_6556.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_22_5230.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.884041786193848 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 18:59:05.089386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/58/image_22012025_18_58_58_5280.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_48_7372.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_40_5261.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_35_6468.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_29_5207.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_23_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/58/image_22012025_18_58_58_5280.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_48_7372.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_40_5261.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_35_6468.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_29_5207.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_23_6477.jpg
2025-01-22 18:59:05.276725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/58/image_22012025_18_58_58_5280.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_48_7372.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_40_5261.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_35_6468.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_29_5207.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_23_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/58/image_22012025_18_58_58_5280.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_48_7372.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_40_5261.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_35_6468.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_29_5207.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_23_6477.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":["1330646509","1330646530","1330646523","1330646535","1330646537","1330646516"],"photo_ids_order":["1330646509","1330646516","1330646523","1330646530","1330646535","1330646537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/922329d1fb39d78a9a72f7a9f78f1181.jpg","text":"TemporaryFile(/tmp/multipartBody4929970641572396630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_58_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/22/69576b5442eab16626bcb7b23ea2d202.jpg","text":"TemporaryFile(/tmp/multipartBody6976792669114797181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_35_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/22/22626831738a3324ddfcf187c1895df2.jpg","text":"TemporaryFile(/tmp/multipartBody7915836488722748749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_40_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38d896050b3b7efeea29f2e6801fbfab.jpg","text":"TemporaryFile(/tmp/multipartBody7454881904237681261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_29_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/22/75d9e3c12db6150541ceb4eb326964eb.jpg","text":"TemporaryFile(/tmp/multipartBody6775618620473932161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_23_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/22/a43011fe2110be4dbaef3feaea028071.jpg","text":"TemporaryFile(/tmp/multipartBody9099495129365960484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568815076,"filename":"image_22012025_18_58_48_7372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646523","file1":"1330646516","file0":"1330646509","file4":"1330646535","file5":"1330646537","file3":"1330646530"},"map_files_photo_id_array":[{"photo_id":"1330646537","filename":"file5"},{"photo_id":"1330646523","filename":"file2"},{"photo_id":"1330646535","filename":"file4"},{"photo_id":"1330646516","filename":"file1"},{"photo_id":"1330646509","filename":"file0"},{"photo_id":"1330646530","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646509":["hashtag1","hashtag2"]},{"1330646530":["hashtag1","hashtag2"]},{"1330646523":["hashtag1","hashtag2"]},{"1330646535":["hashtag1","hashtag2"]},{"1330646537":["hashtag1","hashtag2"]},{"1330646516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646509, 1330646530, 1330646523, 1330646535, 1330646537, 1330646516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90095806121826 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646533","1330646524","1330646538","1330646529","1330646517","1330646510"],"photo_ids_order":["1330646510","1330646517","1330646524","1330646529","1330646533","1330646538"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3d6f9546e30be8ef243c85823549a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6306176601853082821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_29_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/22/29bb0393f7998a00779618890715b7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4141353985890368932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_40_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/78871643575e00cdc4b409a92450cdfc.jpg","text":"TemporaryFile(/tmp/multipartBody2963046866815108373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_23_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/22/4b54b497e77454f933f11039ee0541e6.jpg","text":"TemporaryFile(/tmp/multipartBody8141706595266999148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_35_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/22/823bbc1bf62b5ac4c540036237da689f.jpg","text":"TemporaryFile(/tmp/multipartBody8489917235902069761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_48_7372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/db1cb2e804c109100c0cd543bb83e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1803010505539049156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568814787,"filename":"image_22012025_18_58_58_5280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646524","file1":"1330646517","file0":"1330646510","file4":"1330646533","file5":"1330646538","file3":"1330646529"},"map_files_photo_id_array":[{"photo_id":"1330646538","filename":"file5"},{"photo_id":"1330646524","filename":"file2"},{"photo_id":"1330646533","filename":"file4"},{"photo_id":"1330646517","filename":"file1"},{"photo_id":"1330646510","filename":"file0"},{"photo_id":"1330646529","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646533":["hashtag1","hashtag2"]},{"1330646524":["hashtag1","hashtag2"]},{"1330646538":["hashtag1","hashtag2"]},{"1330646529":["hashtag1","hashtag2"]},{"1330646517":["hashtag1","hashtag2"]},{"1330646510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646533, 1330646524, 1330646538, 1330646529, 1330646517, 1330646510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18244242668152 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:00:03.922450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/59/image_22012025_18_59_52_5214.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_47_6491.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_41_5244.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_35_6494.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_29_6309.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_23_5254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/59/image_22012025_18_59_52_5214.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_47_6491.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_41_5244.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_35_6494.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_29_6309.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_23_5254.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330646620","1330646652","1330646672","1330646843","1330646692","1330646743"],"photo_ids_order":["1330646620","1330646652","1330646672","1330646692","1330646743","1330646843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/553daf6e6295b77c50738d02345467e0.jpg","text":"TemporaryFile(/tmp/multipartBody3458097343706649120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_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/22/f509935549a0039efb377973f2c3b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3656059011935672762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_47_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/22/5225559babc522b25f08835d99386c52.jpg","text":"TemporaryFile(/tmp/multipartBody6610752781239554850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_41_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/22/9e3588166cc530c505cb78f04a0287e6.jpg","text":"TemporaryFile(/tmp/multipartBody1702582344177146299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_23_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/22/529886659ff82c5974cb9da28ef4ed65.jpg","text":"TemporaryFile(/tmp/multipartBody7653824704485934205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_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/22/f42c944472572c25c99b590af471261f.jpg","text":"TemporaryFile(/tmp/multipartBody7884743018616035413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568870668,"filename":"image_22012025_18_59_29_6309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646672","file1":"1330646652","file0":"1330646620","file4":"1330646743","file5":"1330646843","file3":"1330646692"},"map_files_photo_id_array":[{"photo_id":"1330646843","filename":"file5"},{"photo_id":"1330646672","filename":"file2"},{"photo_id":"1330646743","filename":"file4"},{"photo_id":"1330646652","filename":"file1"},{"photo_id":"1330646620","filename":"file0"},{"photo_id":"1330646692","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330646620":["hashtag1","hashtag2"]},{"1330646652":["hashtag1","hashtag2"]},{"1330646672":["hashtag1","hashtag2"]},{"1330646843":["hashtag1","hashtag2"]},{"1330646692":["hashtag1","hashtag2"]},{"1330646743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330646620, 1330646652, 1330646672, 1330646843, 1330646692, 1330646743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.083789348602295 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:01:03.590342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/00/image_22012025_19_00_53_5293.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_47_6424.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_41_6483.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_35_5245.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_29_6451.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_23_5666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/00/image_22012025_19_00_53_5293.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_47_6424.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_41_6483.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_35_5245.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_29_6451.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_23_5666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330647174","1330646917","1330646932","1330646926","1330646921","1330647466"],"photo_ids_order":["1330646917","1330646921","1330646926","1330646932","1330647174","1330647466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68af99ca374bc24440b9bb40607db1a9.jpg","text":"TemporaryFile(/tmp/multipartBody6566499028236046983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_29_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/22/b3f251ef6623791dc8cf4af2133e1595.jpg","text":"TemporaryFile(/tmp/multipartBody7644497009462225003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_53_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/22/24cfa31f085e791be7b896442ad98eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4296170981127997162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_35_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/22/7919bede6aa91c2402b49072e0203ed5.jpg","text":"TemporaryFile(/tmp/multipartBody9167739045811552473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_41_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/22/d7b908b8a96b7845505c689ab127fdee.jpg","text":"TemporaryFile(/tmp/multipartBody6031958896023306706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_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/22/62051c85a8ea273a8c3aa6b8c8e2629e.jpg","text":"TemporaryFile(/tmp/multipartBody7005895252956468617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737568933563,"filename":"image_22012025_19_00_23_5666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330646926","file1":"1330646921","file0":"1330646917","file4":"1330647174","file5":"1330647466","file3":"1330646932"},"map_files_photo_id_array":[{"photo_id":"1330647466","filename":"file5"},{"photo_id":"1330646926","filename":"file2"},{"photo_id":"1330647174","filename":"file4"},{"photo_id":"1330646921","filename":"file1"},{"photo_id":"1330646917","filename":"file0"},{"photo_id":"1330646932","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330647174":["hashtag1","hashtag2"]},{"1330646917":["hashtag1","hashtag2"]},{"1330646932":["hashtag1","hashtag2"]},{"1330646926":["hashtag1","hashtag2"]},{"1330646921":["hashtag1","hashtag2"]},{"1330647466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330647174, 1330646917, 1330646932, 1330646926, 1330646921, 1330647466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83674120903015 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:02:03.268136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/01/image_22012025_19_01_52_5284.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_47_6464.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_41_5248.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_35_6495.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_29_6468.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_22_5216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/01/image_22012025_19_01_52_5284.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_47_6464.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_41_5248.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_35_6495.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_29_6468.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_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: 9.052867412567139 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:02:22.083504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/02/image_22012025_19_02_53_5241.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_47_6567.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_41_6437.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_34_5253.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_29_6490.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_23_5252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/02/image_22012025_19_02_53_5241.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_47_6567.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_41_6437.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_34_5253.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_29_6490.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_23_5252.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330648611","1330648625","1330648616","1330648601","1330648621","1330648606"],"photo_ids_order":["1330648601","1330648606","1330648611","1330648616","1330648621","1330648625"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/df3e9dab4257c956834d0f2ab4e7e7be.jpg","text":"TemporaryFile(/tmp/multipartBody6001870165729099130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_41_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/22/09721edde0b87c9e23ce806cedc019e0.jpg","text":"TemporaryFile(/tmp/multipartBody5132988663939660607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_23_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/22/0d6579a90a445b9216b5fc33c61884ec.jpg","text":"TemporaryFile(/tmp/multipartBody3732068001399339789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_34_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/22/7fbd7fbce2b3cfdf03dc9baac05833c9.jpg","text":"TemporaryFile(/tmp/multipartBody3405170516231165630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_53_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/22/85794091932b84bb0fee713c7b6ab0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5084366546434760028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_29_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/22/ebb12aeea625d0d346e86dcbc864ef64.jpg","text":"TemporaryFile(/tmp/multipartBody7346997737814208491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569015878,"filename":"image_22012025_19_02_47_6567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330648611","file1":"1330648606","file0":"1330648601","file4":"1330648621","file5":"1330648625","file3":"1330648616"},"map_files_photo_id_array":[{"photo_id":"1330648625","filename":"file5"},{"photo_id":"1330648611","filename":"file2"},{"photo_id":"1330648621","filename":"file4"},{"photo_id":"1330648606","filename":"file1"},{"photo_id":"1330648601","filename":"file0"},{"photo_id":"1330648616","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330648611":["hashtag1","hashtag2"]},{"1330648625":["hashtag1","hashtag2"]},{"1330648616":["hashtag1","hashtag2"]},{"1330648601":["hashtag1","hashtag2"]},{"1330648621":["hashtag1","hashtag2"]},{"1330648606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330648611, 1330648625, 1330648616, 1330648601, 1330648621, 1330648606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.82972812652588 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:03:22.227391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/03/image_22012025_19_03_59_6289.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_47_6518.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_41_5486.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_35_6480.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_29_6258.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_23_5319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/03/image_22012025_19_03_59_6289.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_47_6518.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_41_5486.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_35_6480.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_29_6258.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_23_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":["1330648675","1330648654","1330648657","1330648662","1330648659","1330648650"],"photo_ids_order":["1330648650","1330648654","1330648657","1330648659","1330648662","1330648675"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/64469bf44bf36bf0d590fe68314a8909.jpg","text":"TemporaryFile(/tmp/multipartBody6984087440928950721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_23_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/22/535457dbd67a3e4218086c467b3185c0.jpg","text":"TemporaryFile(/tmp/multipartBody5132116706331564409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_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/22/af830a679b341966d01ea1b0b7154642.jpg","text":"TemporaryFile(/tmp/multipartBody4147078231354485334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_41_5486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a16783de4ca63f3f2509bdd8fc454bca.jpg","text":"TemporaryFile(/tmp/multipartBody6160835636595140975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_29_6258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d17dcdbc18aab2338645704cb8ef248.jpg","text":"TemporaryFile(/tmp/multipartBody880978190622763163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_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/22/e9302120b53e3c7617df6f36478022d4.jpg","text":"TemporaryFile(/tmp/multipartBody4106696144762675287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569078582,"filename":"image_22012025_19_03_59_6289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330648657","file1":"1330648654","file0":"1330648650","file4":"1330648662","file5":"1330648675","file3":"1330648659"},"map_files_photo_id_array":[{"photo_id":"1330648675","filename":"file5"},{"photo_id":"1330648657","filename":"file2"},{"photo_id":"1330648662","filename":"file4"},{"photo_id":"1330648654","filename":"file1"},{"photo_id":"1330648650","filename":"file0"},{"photo_id":"1330648659","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330648675":["hashtag1","hashtag2"]},{"1330648654":["hashtag1","hashtag2"]},{"1330648657":["hashtag1","hashtag2"]},{"1330648662":["hashtag1","hashtag2"]},{"1330648659":["hashtag1","hashtag2"]},{"1330648650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330648675, 1330648654, 1330648657, 1330648662, 1330648659, 1330648650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.24927520751953 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:04:22.446725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/04/image_22012025_19_04_53_6505.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_47_5275.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_41_6434.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_35_5343.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_30_6640.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_23_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/04/image_22012025_19_04_53_6505.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_47_5275.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_41_6434.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_35_5343.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_30_6640.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_23_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":["1330649258","1330649300","1330649392","1330649260","1330649295","1330649268"],"photo_ids_order":["1330649258","1330649260","1330649268","1330649295","1330649300","1330649392"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c2daf872a2f0598c76d4d21fd9661f7b.jpg","text":"TemporaryFile(/tmp/multipartBody8972105947286057563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_53_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/22/6e88d638486267c159d0d2edcd3a4e64.jpg","text":"TemporaryFile(/tmp/multipartBody761836570116125176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_30_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d76cbb35198819aba10734ccf491bfc7.jpg","text":"TemporaryFile(/tmp/multipartBody6874554062888870994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_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/22/5920c421cc13db7bbef78fafd5f778a1.jpg","text":"TemporaryFile(/tmp/multipartBody1586659929419770506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_47_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/22/e60005fddc852e08165a11225a73ea43.jpg","text":"TemporaryFile(/tmp/multipartBody5239365701110415430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_35_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/22/220ff07400f806fa24717135491d9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6915226928421063423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569130535,"filename":"image_22012025_19_04_41_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330649268","file1":"1330649260","file0":"1330649258","file4":"1330649300","file5":"1330649392","file3":"1330649295"},"map_files_photo_id_array":[{"photo_id":"1330649392","filename":"file5"},{"photo_id":"1330649268","filename":"file2"},{"photo_id":"1330649300","filename":"file4"},{"photo_id":"1330649260","filename":"file1"},{"photo_id":"1330649258","filename":"file0"},{"photo_id":"1330649295","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330649258":["hashtag1","hashtag2"]},{"1330649300":["hashtag1","hashtag2"]},{"1330649392":["hashtag1","hashtag2"]},{"1330649260":["hashtag1","hashtag2"]},{"1330649295":["hashtag1","hashtag2"]},{"1330649268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330649258, 1330649300, 1330649392, 1330649260, 1330649295, 1330649268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95008063316345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:05:22.703940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/05/image_22012025_19_05_53_6481.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_47_6471.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_40_5270.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_35_5786.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_30_6461.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_23_6558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/05/image_22012025_19_05_53_6481.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_47_6471.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_40_5270.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_35_5786.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_30_6461.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_23_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":["1330649891","1330649650","1330650589","1330650413","1330650157","1330650576"],"photo_ids_order":["1330649650","1330649891","1330650157","1330650413","1330650576","1330650589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2c65e0f90089a1da22ce1a3f197f7287.jpg","text":"TemporaryFile(/tmp/multipartBody1626913420778989396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_47_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/22/8306697dbf863b4810c2e8585fb8541d.jpg","text":"TemporaryFile(/tmp/multipartBody2656852166815580674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_53_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/22/81bc47ddb6b1fc0bb1b157af23dceb8a.jpg","text":"TemporaryFile(/tmp/multipartBody3354883209409076620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_23_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/22/5e6c6e7a0bb699f17b41a28ecd6ded30.jpg","text":"TemporaryFile(/tmp/multipartBody22758115615448795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_35_5786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ae644e2e56282c2763babc2d4ddbe715.jpg","text":"TemporaryFile(/tmp/multipartBody1831274791104881455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_40_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/22/4041e0b4fd73e13c8164acb274fd653c.jpg","text":"TemporaryFile(/tmp/multipartBody2267152998100530128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569201199,"filename":"image_22012025_19_05_30_6461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330650157","file1":"1330649891","file0":"1330649650","file4":"1330650576","file5":"1330650589","file3":"1330650413"},"map_files_photo_id_array":[{"photo_id":"1330650589","filename":"file5"},{"photo_id":"1330650157","filename":"file2"},{"photo_id":"1330650576","filename":"file4"},{"photo_id":"1330649891","filename":"file1"},{"photo_id":"1330649650","filename":"file0"},{"photo_id":"1330650413","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330649891":["hashtag1","hashtag2"]},{"1330649650":["hashtag1","hashtag2"]},{"1330650589":["hashtag1","hashtag2"]},{"1330650413":["hashtag1","hashtag2"]},{"1330650157":["hashtag1","hashtag2"]},{"1330650576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330649891, 1330649650, 1330650589, 1330650413, 1330650157, 1330650576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.040029525756836 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:06:22.784613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/06/image_22012025_19_06_52_5238.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_47_6604.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_41_5894.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_35_5363.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_30_6465.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_23_6572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/06/image_22012025_19_06_52_5238.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_47_6604.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_41_5894.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_35_5363.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_30_6465.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_23_6572.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.06076455116272 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:06:42.706813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/06/image_22012025_19_06_52_5238.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_47_6604.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_41_5894.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_35_5363.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_30_6465.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_23_6572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/06/image_22012025_19_06_52_5238.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_47_6604.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_41_5894.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_35_5363.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_30_6465.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_23_6572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330650955","1330650949","1330651023","1330650960","1330651026","1330650867"],"photo_ids_order":["1330650867","1330650949","1330650955","1330650960","1330651023","1330651026"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ac9b20fc4d5646734015e7bb4a1c3f37.jpg","text":"TemporaryFile(/tmp/multipartBody8147807300460003419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_41_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c32752fe34f761fc6028a2c984b3d427.jpg","text":"TemporaryFile(/tmp/multipartBody2322920424866178390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_47_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/22/a74f142a5ce1b1243b62ab51e76fd4f6.jpg","text":"TemporaryFile(/tmp/multipartBody1614049741394184348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_30_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/22/cb1a58be533b9b18a10c3f7a5e4fc281.jpg","text":"TemporaryFile(/tmp/multipartBody8751442216284048039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_35_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/22/3adde5d2ba3eac78e2e53580a12e4842.jpg","text":"TemporaryFile(/tmp/multipartBody4503561884116067515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_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/22/88df4f30026ee8cdc1401a2e8a6aeaaf.jpg","text":"TemporaryFile(/tmp/multipartBody1299030028707712826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569275559,"filename":"image_22012025_19_06_52_5238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330650955","file1":"1330650949","file0":"1330650867","file4":"1330651023","file5":"1330651026","file3":"1330650960"},"map_files_photo_id_array":[{"photo_id":"1330651026","filename":"file5"},{"photo_id":"1330650955","filename":"file2"},{"photo_id":"1330651023","filename":"file4"},{"photo_id":"1330650949","filename":"file1"},{"photo_id":"1330650867","filename":"file0"},{"photo_id":"1330650960","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330650955":["hashtag1","hashtag2"]},{"1330650949":["hashtag1","hashtag2"]},{"1330651023":["hashtag1","hashtag2"]},{"1330650960":["hashtag1","hashtag2"]},{"1330651026":["hashtag1","hashtag2"]},{"1330650867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330650955, 1330650949, 1330651023, 1330650960, 1330651026, 1330650867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.49752426147461 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:07:41.912216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/07/image_22012025_19_07_54_7232.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_47_5429.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_41_6482.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_35_6208.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_29_5128.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_23_6574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/07/image_22012025_19_07_54_7232.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_47_5429.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_41_6482.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_35_6208.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_29_5128.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_23_6574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330651103","1330651123","1330651117","1330651105","1330651143","1330651137"],"photo_ids_order":["1330651103","1330651105","1330651117","1330651123","1330651137","1330651143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/80f6bb58757a798f248555b398ef108c.jpg","text":"TemporaryFile(/tmp/multipartBody3283463732285104435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_54_7232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/10fbb8208c277f6605c16dc34e424d46.jpg","text":"TemporaryFile(/tmp/multipartBody1884275138772016499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_35_6208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/92635b484f5b2638da27d5b716a7bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6140710774601896639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_41_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/22/1e5d85d208e05fc7bffeb5481c8810a8.jpg","text":"TemporaryFile(/tmp/multipartBody3668084358938834731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_47_5429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01695b3011afa4088cbd589afbd75444.jpg","text":"TemporaryFile(/tmp/multipartBody7216607111969975874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_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/22/c435325d0a1c1208bbc50ac8d0b038fe.jpg","text":"TemporaryFile(/tmp/multipartBody5523200621935174869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569337286,"filename":"image_22012025_19_07_29_5128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651117","file1":"1330651105","file0":"1330651103","file4":"1330651137","file5":"1330651143","file3":"1330651123"},"map_files_photo_id_array":[{"photo_id":"1330651143","filename":"file5"},{"photo_id":"1330651117","filename":"file2"},{"photo_id":"1330651137","filename":"file4"},{"photo_id":"1330651105","filename":"file1"},{"photo_id":"1330651103","filename":"file0"},{"photo_id":"1330651123","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651103":["hashtag1","hashtag2"]},{"1330651123":["hashtag1","hashtag2"]},{"1330651117":["hashtag1","hashtag2"]},{"1330651105":["hashtag1","hashtag2"]},{"1330651143":["hashtag1","hashtag2"]},{"1330651137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651103, 1330651123, 1330651117, 1330651105, 1330651143, 1330651137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.6874144077301 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:08:41.966465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/08/image_22012025_19_08_58_5048.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_48_6199.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_42_6448.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_35_6498.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_29_5261.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/08/image_22012025_19_08_58_5048.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_48_6199.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_42_6448.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_35_6498.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_29_5261.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg
 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: 27.175044298171997 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:09:22.132659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/09/image_22012025_19_09_54_5729.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_48_6490.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_42_6463.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_35_6470.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_29_5251.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_23_6498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/09/image_22012025_19_09_54_5729.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_48_6490.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_42_6463.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_35_6470.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_29_5251.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_23_6498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330651266","1330651263","1330651257","1330651251","1330651245","1330651239"],"photo_ids_order":["1330651239","1330651245","1330651251","1330651257","1330651263","1330651266"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/866ef94ed909d9066a5e453678c1da8d.jpg","text":"TemporaryFile(/tmp/multipartBody6440857252140608777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_23_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/22/505ef4c88f8dd24f15cbd16882475450.jpg","text":"TemporaryFile(/tmp/multipartBody892338496173777601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_29_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/22/01b9d6189da39d254b91035dfe65c629.jpg","text":"TemporaryFile(/tmp/multipartBody2293065173868692894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_35_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/22/b8b37191c8ec66f886821164e038be8d.jpg","text":"TemporaryFile(/tmp/multipartBody4916922766535214247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_42_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/22/8407bf97175feb59a8292a1703f41c25.jpg","text":"TemporaryFile(/tmp/multipartBody9165408952725097957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_48_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/22/e34b2d31f0d50ad2ed12deffbc6afd13.jpg","text":"TemporaryFile(/tmp/multipartBody2120704227596067333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569431779,"filename":"image_22012025_19_09_54_5729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651251","file1":"1330651245","file0":"1330651239","file4":"1330651263","file5":"1330651266","file3":"1330651257"},"map_files_photo_id_array":[{"photo_id":"1330651266","filename":"file5"},{"photo_id":"1330651251","filename":"file2"},{"photo_id":"1330651263","filename":"file4"},{"photo_id":"1330651245","filename":"file1"},{"photo_id":"1330651239","filename":"file0"},{"photo_id":"1330651257","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651266":["hashtag1","hashtag2"]},{"1330651263":["hashtag1","hashtag2"]},{"1330651257":["hashtag1","hashtag2"]},{"1330651251":["hashtag1","hashtag2"]},{"1330651245":["hashtag1","hashtag2"]},{"1330651239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651266, 1330651263, 1330651257, 1330651251, 1330651245, 1330651239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.821446657180786 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:10:22.397551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/10/image_22012025_19_10_53_6451.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_47_6452.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_40_5226.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_35_5911.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_29_5884.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_23_6488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/10/image_22012025_19_10_53_6451.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_47_6452.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_40_5226.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_35_5911.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_29_5884.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_23_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":["1330651310","1330651304","1330651288","1330651321","1330651300","1330651295"],"photo_ids_order":["1330651288","1330651295","1330651300","1330651304","1330651310","1330651321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11d3d706f2414e0e8c82881139b139f3.jpg","text":"TemporaryFile(/tmp/multipartBody6630521152296353061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_29_5884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c84637eaf32d878d529aff5b8cdf73d8.jpg","text":"TemporaryFile(/tmp/multipartBody4807292898300041149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_35_5911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4d166bc702ae2d8e379a9cde21050355.jpg","text":"TemporaryFile(/tmp/multipartBody7487580530133720169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_53_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/22/d5d702885da40b82e86490dfc5708137.jpg","text":"TemporaryFile(/tmp/multipartBody7161670189856895375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_23_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/22/d2edfe721c579cf59c5cb455dfefcb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8610021816056459988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_40_5226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/67d5652630c6d1b277011098616316c4.jpg","text":"TemporaryFile(/tmp/multipartBody1463030962422856287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569503816,"filename":"image_22012025_19_10_47_6452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651300","file1":"1330651295","file0":"1330651288","file4":"1330651310","file5":"1330651321","file3":"1330651304"},"map_files_photo_id_array":[{"photo_id":"1330651321","filename":"file5"},{"photo_id":"1330651300","filename":"file2"},{"photo_id":"1330651310","filename":"file4"},{"photo_id":"1330651295","filename":"file1"},{"photo_id":"1330651288","filename":"file0"},{"photo_id":"1330651304","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651310":["hashtag1","hashtag2"]},{"1330651304":["hashtag1","hashtag2"]},{"1330651288":["hashtag1","hashtag2"]},{"1330651321":["hashtag1","hashtag2"]},{"1330651300":["hashtag1","hashtag2"]},{"1330651295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651310, 1330651304, 1330651288, 1330651321, 1330651300, 1330651295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.1298291683197 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:11:22.536564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/11/image_22012025_19_11_52_5257.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_47_5761.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_42_6696.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_35_6302.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_29_5501.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_23_5344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/11/image_22012025_19_11_52_5257.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_47_5761.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_42_6696.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_35_6302.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_29_5501.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_23_5344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330651397","1330651367","1330651393","1330651345","1330651339","1330651371"],"photo_ids_order":["1330651339","1330651345","1330651367","1330651371","1330651393","1330651397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d818a71d1ed9e81a1b283340b648641e.jpg","text":"TemporaryFile(/tmp/multipartBody6356741344753974365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_23_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/22/c0f1df041ee5f58b23fe811fc80c76f1.jpg","text":"TemporaryFile(/tmp/multipartBody2528200188735488728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_42_6696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d623a670fe016e9929bd870ec94cfb3.jpg","text":"TemporaryFile(/tmp/multipartBody490951404236115703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_29_5501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad3dbbdbe8e564f394238cbb291de07b.jpg","text":"TemporaryFile(/tmp/multipartBody3011076114250764686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_47_5761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25f88e4800819883c37979069055061f.jpg","text":"TemporaryFile(/tmp/multipartBody3032101619582482022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_52_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/22/cbf504abcbcfe7dd5532d650c1bcc0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5089370196951506739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569561139,"filename":"image_22012025_19_11_35_6302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651367","file1":"1330651345","file0":"1330651339","file4":"1330651393","file5":"1330651397","file3":"1330651371"},"map_files_photo_id_array":[{"photo_id":"1330651397","filename":"file5"},{"photo_id":"1330651367","filename":"file2"},{"photo_id":"1330651393","filename":"file4"},{"photo_id":"1330651345","filename":"file1"},{"photo_id":"1330651339","filename":"file0"},{"photo_id":"1330651371","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651397":["hashtag1","hashtag2"]},{"1330651367":["hashtag1","hashtag2"]},{"1330651393":["hashtag1","hashtag2"]},{"1330651345":["hashtag1","hashtag2"]},{"1330651339":["hashtag1","hashtag2"]},{"1330651371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651397, 1330651367, 1330651393, 1330651345, 1330651339, 1330651371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.24947929382324 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:12:22.761642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/12/image_22012025_19_12_53_6498.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_47_5277.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_42_7218.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_35_5272.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_29_6655.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_23_5281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/12/image_22012025_19_12_53_6498.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_47_5277.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_42_7218.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_35_5272.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_29_6655.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_23_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":["1330651468","1330651453","1330651483","1330651456","1330651473","1330651461"],"photo_ids_order":["1330651453","1330651456","1330651461","1330651468","1330651473","1330651483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e613dc37c8a7ad0418f6ee029eeb8dca.jpg","text":"TemporaryFile(/tmp/multipartBody5577070724247603332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_35_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/22/b1977ff7313b32074cd40e6647b1ad01.jpg","text":"TemporaryFile(/tmp/multipartBody4801570966344713738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_53_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/22/9db14daea7b4bde79134d95db6edde45.jpg","text":"TemporaryFile(/tmp/multipartBody8310404062355807980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_23_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/22/2e4755affa8e5aa04e4413268bccd537.jpg","text":"TemporaryFile(/tmp/multipartBody2344927210013538018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_47_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/22/b4b716928ae8e1bbbec86a5a39c71b46.jpg","text":"TemporaryFile(/tmp/multipartBody2321955160540856668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_29_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e9fa24cdc01b1a353f681aeec80ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody1758143097611504443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569614862,"filename":"image_22012025_19_12_42_7218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651461","file1":"1330651456","file0":"1330651453","file4":"1330651473","file5":"1330651483","file3":"1330651468"},"map_files_photo_id_array":[{"photo_id":"1330651483","filename":"file5"},{"photo_id":"1330651461","filename":"file2"},{"photo_id":"1330651473","filename":"file4"},{"photo_id":"1330651456","filename":"file1"},{"photo_id":"1330651453","filename":"file0"},{"photo_id":"1330651468","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651468":["hashtag1","hashtag2"]},{"1330651453":["hashtag1","hashtag2"]},{"1330651483":["hashtag1","hashtag2"]},{"1330651456":["hashtag1","hashtag2"]},{"1330651473":["hashtag1","hashtag2"]},{"1330651461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651468, 1330651453, 1330651483, 1330651456, 1330651473, 1330651461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54165983200073 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:13:22.870302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/13/image_22012025_19_13_59_6472.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_47_6440.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_41_5260.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_36_6234.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_30_6123.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_23_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/13/image_22012025_19_13_59_6472.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_47_6440.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_41_5260.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_36_6234.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_30_6123.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_23_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":["1330651512","1330651523","1330651508","1330651517","1330651504","1330651501"],"photo_ids_order":["1330651501","1330651504","1330651508","1330651512","1330651517","1330651523"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14fe6afce41a4943ff29f59c7f94e941.jpg","text":"TemporaryFile(/tmp/multipartBody8853065098418824758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_36_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/22/2f078f946daec4633eec082d7d8be290.jpg","text":"TemporaryFile(/tmp/multipartBody8594948103994058127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_23_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/22/e7dd5b27003fdf60e2e42bd3109342e3.jpg","text":"TemporaryFile(/tmp/multipartBody3578902284180638644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_41_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/22/adeda59263e5086f074a0d667694e794.jpg","text":"TemporaryFile(/tmp/multipartBody228370913833901779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_30_6123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7d8fcf91cb0dc325f84608816733de8.jpg","text":"TemporaryFile(/tmp/multipartBody4712268116041995714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_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/22/5cd21158c719839d847d8f583c6fffed.jpg","text":"TemporaryFile(/tmp/multipartBody3599726864770617764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569670965,"filename":"image_22012025_19_13_59_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651508","file1":"1330651504","file0":"1330651501","file4":"1330651517","file5":"1330651523","file3":"1330651512"},"map_files_photo_id_array":[{"photo_id":"1330651523","filename":"file5"},{"photo_id":"1330651508","filename":"file2"},{"photo_id":"1330651517","filename":"file4"},{"photo_id":"1330651504","filename":"file1"},{"photo_id":"1330651501","filename":"file0"},{"photo_id":"1330651512","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651512":["hashtag1","hashtag2"]},{"1330651523":["hashtag1","hashtag2"]},{"1330651508":["hashtag1","hashtag2"]},{"1330651517":["hashtag1","hashtag2"]},{"1330651504":["hashtag1","hashtag2"]},{"1330651501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651512, 1330651523, 1330651508, 1330651517, 1330651504, 1330651501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08657431602478 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:14:22.069308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/14/image_22012025_19_14_52_5261.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_47_6477.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_41_5212.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_35_6109.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_30_6299.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_23_6521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/14/image_22012025_19_14_52_5261.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_47_6477.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_41_5212.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_35_6109.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_30_6299.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_23_6521.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.265148401260376 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:14:42.150014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/14/image_22012025_19_14_52_5261.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_47_6477.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_41_5212.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_35_6109.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_30_6299.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_23_6521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/14/image_22012025_19_14_52_5261.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_47_6477.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_41_5212.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_35_6109.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_30_6299.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_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":["1330651571","1330651570","1330651567","1330651563","1330651557","1330651560"],"photo_ids_order":["1330651557","1330651560","1330651563","1330651567","1330651570","1330651571"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aa20d9476d2e260c8c9c056c7b5d2d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6423005419150877463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_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/22/fff9245486ceddcc189e2f22c6d272bb.jpg","text":"TemporaryFile(/tmp/multipartBody7592490015495850291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_30_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/22/dc8893ff25fb9f536b093d6b999f7055.jpg","text":"TemporaryFile(/tmp/multipartBody3849584707029117175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_35_6109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4045619b7e23b7b355e0147d36ee7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1746478357311902959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_41_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/22/f7f0775821e0e09ebb81f28d8788035f.jpg","text":"TemporaryFile(/tmp/multipartBody8852490531713021566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_52_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0095fd236e829c447a43d18da58f1ace.jpg","text":"TemporaryFile(/tmp/multipartBody4843807871777006206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569753023,"filename":"image_22012025_19_14_47_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651563","file1":"1330651560","file0":"1330651557","file4":"1330651570","file5":"1330651571","file3":"1330651567"},"map_files_photo_id_array":[{"photo_id":"1330651571","filename":"file5"},{"photo_id":"1330651563","filename":"file2"},{"photo_id":"1330651570","filename":"file4"},{"photo_id":"1330651560","filename":"file1"},{"photo_id":"1330651557","filename":"file0"},{"photo_id":"1330651567","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651571":["hashtag1","hashtag2"]},{"1330651570":["hashtag1","hashtag2"]},{"1330651567":["hashtag1","hashtag2"]},{"1330651563":["hashtag1","hashtag2"]},{"1330651557":["hashtag1","hashtag2"]},{"1330651560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651571, 1330651570, 1330651567, 1330651563, 1330651557, 1330651560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.221280336380005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:15:42.326948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/15/image_22012025_19_15_54_6529.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_47_5678.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_42_6947.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_35_6160.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_29_5568.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_23_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/15/image_22012025_19_15_54_6529.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_47_5678.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_42_6947.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_35_6160.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_29_5568.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_23_5342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330651652","1330651604","1330651706","1330651607","1330651663","1330651612"],"photo_ids_order":["1330651604","1330651607","1330651612","1330651652","1330651663","1330651706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ace8755d9044252f2ce27b5bd8614d90.jpg","text":"TemporaryFile(/tmp/multipartBody7304250620421815718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_35_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/22/84d2994ff7e9ce1a01fd522897a3f57f.jpg","text":"TemporaryFile(/tmp/multipartBody5162315376286995563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_54_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/22/3fbbf67f0937dfc3d135eea9ea1502fd.jpg","text":"TemporaryFile(/tmp/multipartBody7630290145673774244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_23_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/22/4ed7f0d9a7018670bd75be4822997455.jpg","text":"TemporaryFile(/tmp/multipartBody2428997951831729209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_47_5678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2ee2d856ee2591df5a20017b44d88060.jpg","text":"TemporaryFile(/tmp/multipartBody5950768186232746987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_29_5568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c8cd478ee5f01ff9b5ad0357c7ce687a.jpg","text":"TemporaryFile(/tmp/multipartBody2231750615056839851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569816759,"filename":"image_22012025_19_15_42_6947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651612","file1":"1330651607","file0":"1330651604","file4":"1330651663","file5":"1330651706","file3":"1330651652"},"map_files_photo_id_array":[{"photo_id":"1330651706","filename":"file5"},{"photo_id":"1330651612","filename":"file2"},{"photo_id":"1330651663","filename":"file4"},{"photo_id":"1330651607","filename":"file1"},{"photo_id":"1330651604","filename":"file0"},{"photo_id":"1330651652","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330651652":["hashtag1","hashtag2"]},{"1330651604":["hashtag1","hashtag2"]},{"1330651706":["hashtag1","hashtag2"]},{"1330651607":["hashtag1","hashtag2"]},{"1330651663":["hashtag1","hashtag2"]},{"1330651612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330651652, 1330651604, 1330651706, 1330651607, 1330651663, 1330651612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.380784034729004 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:16:42.355602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/16/image_22012025_19_16_53_6178.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_47_5616.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_42_6481.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_35_6483.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_29_5279.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_23_6474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/16/image_22012025_19_16_53_6178.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_47_5616.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_42_6481.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_35_6483.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_29_5279.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_23_6474.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.503015995025635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:17:04.300524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/16/image_22012025_19_16_53_6178.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_47_5616.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_42_6481.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_35_6483.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_29_5279.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_23_6474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/16/image_22012025_19_16_53_6178.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_47_5616.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_42_6481.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_35_6483.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_29_5279.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_23_6474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330652003","1330651981","1330651990","1330651986","1330652007","1330651976"],"photo_ids_order":["1330651976","1330651981","1330651986","1330651990","1330652003","1330652007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/befa7fa2ecafd5b9d11fde521baa9ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3182380771104589588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_29_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/22/a03c429d77ec1747cdf6dd8ea9cb4eab.jpg","text":"TemporaryFile(/tmp/multipartBody6302546027206887531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_47_5616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2d1367a0672b8214d6fe036009d801c9.jpg","text":"TemporaryFile(/tmp/multipartBody6087691744946326717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_35_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/22/6a1294dd3b5bfaa5528bc7d75282f942.jpg","text":"TemporaryFile(/tmp/multipartBody7115832475389558412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_42_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/22/a1cf6f93d089dbb1a7d46b6297c544fe.jpg","text":"TemporaryFile(/tmp/multipartBody2392364979212348347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_23_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/22/0c7ac2b4e17af658bcc20f9a32a7dd73.jpg","text":"TemporaryFile(/tmp/multipartBody207929090863310312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569912589,"filename":"image_22012025_19_16_53_6178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330651986","file1":"1330651981","file0":"1330651976","file4":"1330652003","file5":"1330652007","file3":"1330651990"},"map_files_photo_id_array":[{"photo_id":"1330652007","filename":"file5"},{"photo_id":"1330651986","filename":"file2"},{"photo_id":"1330652003","filename":"file4"},{"photo_id":"1330651981","filename":"file1"},{"photo_id":"1330651976","filename":"file0"},{"photo_id":"1330651990","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330652003":["hashtag1","hashtag2"]},{"1330651981":["hashtag1","hashtag2"]},{"1330651990":["hashtag1","hashtag2"]},{"1330651986":["hashtag1","hashtag2"]},{"1330652007":["hashtag1","hashtag2"]},{"1330651976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330652003, 1330651981, 1330651990, 1330651986, 1330652007, 1330651976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.13360619544983 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:18:22.686858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/18/image_22012025_19_18_59_6444.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_47_5240.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_41_6962.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_34_5151.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_29_5619.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_24_6761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/18/image_22012025_19_18_59_6444.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_47_5240.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_41_6962.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_34_5151.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_29_5619.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_24_6761.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":["1330652095","1330652110","1330652109","1330652093","1330652106","1330652100"],"photo_ids_order":["1330652093","1330652095","1330652100","1330652106","1330652109","1330652110"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e48839a5cdf8bf242eefa741376aff8a.jpg","text":"TemporaryFile(/tmp/multipartBody8423843260513552749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_47_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/22/d8922b4f62cc3d1e10fcfa7540077e25.jpg","text":"TemporaryFile(/tmp/multipartBody8144314240767777595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_24_6761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54c691c6900de04badd63c1e5618675f.jpg","text":"TemporaryFile(/tmp/multipartBody114564240660416081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_29_5619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e124b152f87d5173651935721183d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2473734166726042051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_59_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/22/9f062e3c76c9909379a73dfe10acf4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5827062495897967981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_34_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/22/f03b9bfe15bb4d7c4d082cae79425440.jpg","text":"TemporaryFile(/tmp/multipartBody7534083084028741608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737569996941,"filename":"image_22012025_19_18_41_6962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330652100","file1":"1330652095","file0":"1330652093","file4":"1330652109","file5":"1330652110","file3":"1330652106"},"map_files_photo_id_array":[{"photo_id":"1330652110","filename":"file5"},{"photo_id":"1330652100","filename":"file2"},{"photo_id":"1330652109","filename":"file4"},{"photo_id":"1330652095","filename":"file1"},{"photo_id":"1330652093","filename":"file0"},{"photo_id":"1330652106","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330652095":["hashtag1","hashtag2"]},{"1330652110":["hashtag1","hashtag2"]},{"1330652109":["hashtag1","hashtag2"]},{"1330652093":["hashtag1","hashtag2"]},{"1330652106":["hashtag1","hashtag2"]},{"1330652100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330652095, 1330652110, 1330652109, 1330652093, 1330652106, 1330652100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.65554738044739 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:19:42.827236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/19/image_22012025_19_19_54_6585.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_47_5731.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_41_6098.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_35_5265.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_29_6780.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_23_5258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/19/image_22012025_19_19_54_6585.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_47_5731.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_41_6098.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_35_5265.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_29_6780.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_23_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":["1330652132","1330652161","1330652155","1330652158","1330652151","1330652148"],"photo_ids_order":["1330652132","1330652148","1330652151","1330652155","1330652158","1330652161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/450a2058bdfdc6e9c899160a0c343314.jpg","text":"TemporaryFile(/tmp/multipartBody2016416448668744176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_54_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/22/5b6be7cf70615824801900d426f8e91d.jpg","text":"TemporaryFile(/tmp/multipartBody9205676927890691929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_23_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/22/5a2eaccb8ebd6c85945326e5f9d4fe09.jpg","text":"TemporaryFile(/tmp/multipartBody4189018702455842847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_35_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/22/c9a7ebcaae34a9dc51599721940eef50.jpg","text":"TemporaryFile(/tmp/multipartBody607643118035008648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_29_6780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/52a70f85dd6104770ae5325c7dd6b286.jpg","text":"TemporaryFile(/tmp/multipartBody5600210593197530985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_41_6098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4fe5bc6fe86177d181f2802b8c4f6534.jpg","text":"TemporaryFile(/tmp/multipartBody4900082873979762940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570053883,"filename":"image_22012025_19_19_47_5731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330652151","file1":"1330652148","file0":"1330652132","file4":"1330652158","file5":"1330652161","file3":"1330652155"},"map_files_photo_id_array":[{"photo_id":"1330652161","filename":"file5"},{"photo_id":"1330652151","filename":"file2"},{"photo_id":"1330652158","filename":"file4"},{"photo_id":"1330652148","filename":"file1"},{"photo_id":"1330652132","filename":"file0"},{"photo_id":"1330652155","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330652132":["hashtag1","hashtag2"]},{"1330652161":["hashtag1","hashtag2"]},{"1330652155":["hashtag1","hashtag2"]},{"1330652158":["hashtag1","hashtag2"]},{"1330652151":["hashtag1","hashtag2"]},{"1330652148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330652132, 1330652161, 1330652155, 1330652158, 1330652151, 1330652148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50106072425842 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:20:42.024884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/20/image_22012025_19_20_54_5802.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_48_6865.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_41_6510.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_34_5286.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_29_6439.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_23_5232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/20/image_22012025_19_20_54_5802.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_48_6865.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_41_6510.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_34_5286.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_29_6439.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_23_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":["1330652233","1330652220","1330652208","1330652202","1330652192","1330652189"],"photo_ids_order":["1330652189","1330652192","1330652202","1330652208","1330652220","1330652233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d358ef1bdf0ba618db202d89026095f.jpg","text":"TemporaryFile(/tmp/multipartBody2526787293970218615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_23_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/22/59f74a13ac3d345dd6af8eea852cabfc.jpg","text":"TemporaryFile(/tmp/multipartBody2926963130474422879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_29_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/22/5fb624f098f029fd1a803f75b6ed0402.jpg","text":"TemporaryFile(/tmp/multipartBody5037057412723620291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_34_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/22/574ef52adc7a81396829139261515fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6287213124700099226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_41_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/22/52cde469414dba850eb592344f95410b.jpg","text":"TemporaryFile(/tmp/multipartBody6300294599577909853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_48_6865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/617f0c274e61431b0508d5be6b2fc94e.jpg","text":"TemporaryFile(/tmp/multipartBody7417658068666217079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570118411,"filename":"image_22012025_19_20_54_5802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330652202","file1":"1330652192","file0":"1330652189","file4":"1330652220","file5":"1330652233","file3":"1330652208"},"map_files_photo_id_array":[{"photo_id":"1330652233","filename":"file5"},{"photo_id":"1330652202","filename":"file2"},{"photo_id":"1330652220","filename":"file4"},{"photo_id":"1330652192","filename":"file1"},{"photo_id":"1330652189","filename":"file0"},{"photo_id":"1330652208","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330652233":["hashtag1","hashtag2"]},{"1330652220":["hashtag1","hashtag2"]},{"1330652208":["hashtag1","hashtag2"]},{"1330652202":["hashtag1","hashtag2"]},{"1330652192":["hashtag1","hashtag2"]},{"1330652189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330652233, 1330652220, 1330652208, 1330652202, 1330652192, 1330652189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.88948941230774 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:21:42.229573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/21/image_22012025_19_21_52_5056.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_48_5959.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_41_6440.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_35_6488.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_28_5248.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_23_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/21/image_22012025_19_21_52_5056.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_48_5959.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_41_6440.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_35_6488.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_28_5248.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_23_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":["1330653091","1330653073","1330653067","1330653078","1330653069","1330653135"],"photo_ids_order":["1330653067","1330653069","1330653073","1330653078","1330653091","1330653135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e3c383a070219ad1ba83aa9f16b7d20.jpg","text":"TemporaryFile(/tmp/multipartBody1781492188088247247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_28_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/22/49022fdd206139b211b668945bde329d.jpg","text":"TemporaryFile(/tmp/multipartBody763944355831105270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_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/22/6c7788e70cdd7d042c2600286bfe44a8.jpg","text":"TemporaryFile(/tmp/multipartBody6434326943103610557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_52_5056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a441ccdd5c2bad99a91472dda55383a.jpg","text":"TemporaryFile(/tmp/multipartBody6961733888755771764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_35_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/22/6adae82baded968a5c07c395ae4511e7.jpg","text":"TemporaryFile(/tmp/multipartBody8975127422358116939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_48_5959.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b871df3335368eb2addcd1815d68ee45.jpg","text":"TemporaryFile(/tmp/multipartBody406128473142955155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570171561,"filename":"image_22012025_19_21_23_6430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330653073","file1":"1330653069","file0":"1330653067","file4":"1330653091","file5":"1330653135","file3":"1330653078"},"map_files_photo_id_array":[{"photo_id":"1330653135","filename":"file5"},{"photo_id":"1330653073","filename":"file2"},{"photo_id":"1330653091","filename":"file4"},{"photo_id":"1330653069","filename":"file1"},{"photo_id":"1330653067","filename":"file0"},{"photo_id":"1330653078","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330653091":["hashtag1","hashtag2"]},{"1330653073":["hashtag1","hashtag2"]},{"1330653067":["hashtag1","hashtag2"]},{"1330653078":["hashtag1","hashtag2"]},{"1330653069":["hashtag1","hashtag2"]},{"1330653135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330653091, 1330653073, 1330653067, 1330653078, 1330653069, 1330653135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.79987573623657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:22:42.211309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/22/image_22012025_19_22_53_6624.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_47_5539.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_41_6462.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_35_6467.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_28_5221.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_23_6452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/22/image_22012025_19_22_53_6624.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_47_5539.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_41_6462.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_35_6467.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_28_5221.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_23_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":["1330653370","1330653256","1330653282","1330653278","1330653275","1330653326"],"photo_ids_order":["1330653256","1330653275","1330653278","1330653282","1330653326","1330653370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14f937a2975ed867110777ecd8aeb998.jpg","text":"TemporaryFile(/tmp/multipartBody5826402727819803855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_23_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/22/61c91b124cdb61f381fe8f54f8bb5df2.jpg","text":"TemporaryFile(/tmp/multipartBody594816017970484523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_53_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/22/9c03cb921e09e8f998c95b0c89b7c294.jpg","text":"TemporaryFile(/tmp/multipartBody279114731606009697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_35_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/22/36fc2bf9f34ccba2b73361207e2aa9e2.jpg","text":"TemporaryFile(/tmp/multipartBody6767718905187276233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_41_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b3df0281329a7f6aec3ff311dedf2348.jpg","text":"TemporaryFile(/tmp/multipartBody7453128799342579893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_47_5539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2590fd1605648ab4a07dd124426e69de.jpg","text":"TemporaryFile(/tmp/multipartBody216703646800404004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570230304,"filename":"image_22012025_19_22_28_5221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330653278","file1":"1330653275","file0":"1330653256","file4":"1330653326","file5":"1330653370","file3":"1330653282"},"map_files_photo_id_array":[{"photo_id":"1330653370","filename":"file5"},{"photo_id":"1330653278","filename":"file2"},{"photo_id":"1330653326","filename":"file4"},{"photo_id":"1330653275","filename":"file1"},{"photo_id":"1330653256","filename":"file0"},{"photo_id":"1330653282","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330653370":["hashtag1","hashtag2"]},{"1330653256":["hashtag1","hashtag2"]},{"1330653282":["hashtag1","hashtag2"]},{"1330653278":["hashtag1","hashtag2"]},{"1330653275":["hashtag1","hashtag2"]},{"1330653326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330653370, 1330653256, 1330653282, 1330653278, 1330653275, 1330653326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71082091331482 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:23:42.295739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/23/image_22012025_19_23_58_5274.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_47_5844.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_41_5261.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_35_6495.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_29_6556.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_22_5263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/23/image_22012025_19_23_58_5274.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_47_5844.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_41_5261.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_35_6495.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_29_6556.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_22_5263.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330653943","1330653925","1330653939","1330653930","1330653948","1330653935"],"photo_ids_order":["1330653925","1330653930","1330653935","1330653939","1330653943","1330653948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1781c3578adcbc57a2cb65c261465ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3177009643613832285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_29_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/22/893d97fc962caf0acdab1d2d4778b65b.jpg","text":"TemporaryFile(/tmp/multipartBody5619134615053037050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_58_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/22/f1c9702b08f84d1f5e0c25e52e128c0f.jpg","text":"TemporaryFile(/tmp/multipartBody462318574538193125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_35_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/22/c4a6a88f8cc608cbad6b44123f00f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody486414335538115021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_47_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3f5ce86c815f3a0a623c35f249e3eae7.jpg","text":"TemporaryFile(/tmp/multipartBody1380352072191848241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_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/22/0e6d59daa3839dc06337c919ee9368ce.jpg","text":"TemporaryFile(/tmp/multipartBody6833671587964944128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570301931,"filename":"image_22012025_19_23_41_5261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330653935","file1":"1330653930","file0":"1330653925","file4":"1330653943","file5":"1330653948","file3":"1330653939"},"map_files_photo_id_array":[{"photo_id":"1330653948","filename":"file5"},{"photo_id":"1330653935","filename":"file2"},{"photo_id":"1330653943","filename":"file4"},{"photo_id":"1330653930","filename":"file1"},{"photo_id":"1330653925","filename":"file0"},{"photo_id":"1330653939","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330653943":["hashtag1","hashtag2"]},{"1330653925":["hashtag1","hashtag2"]},{"1330653939":["hashtag1","hashtag2"]},{"1330653930":["hashtag1","hashtag2"]},{"1330653948":["hashtag1","hashtag2"]},{"1330653935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330653943, 1330653925, 1330653939, 1330653930, 1330653948, 1330653935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.62273931503296 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:24:42.781377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/24/image_22012025_19_24_53_5636.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_47_6739.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_40_5229.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_35_6493.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_29_5274.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_23_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/24/image_22012025_19_24_53_5636.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_47_6739.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_40_5229.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_35_6493.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_29_5274.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_23_6496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330653987","1330654023","1330654029","1330654014","1330653983","1330654019"],"photo_ids_order":["1330653983","1330653987","1330654014","1330654019","1330654023","1330654029"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/66d8a3546b6413772d3daef63007e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody6365465872504460139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_47_6739.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f9b0e57e6b66b758998a62339028de6.jpg","text":"TemporaryFile(/tmp/multipartBody4937795795170695004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_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/22/3fe5284355de59988ce54662dec43176.jpg","text":"TemporaryFile(/tmp/multipartBody770100894592881383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_23_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/22/a579745f067fc23035bbdd8b720329db.jpg","text":"TemporaryFile(/tmp/multipartBody1499244225716610320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_40_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/22/ad87fbac53f978a369c59c58fccb4512.jpg","text":"TemporaryFile(/tmp/multipartBody791245921669192319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_53_5636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b975ea20f80352fdcf642814d9d8d760.jpg","text":"TemporaryFile(/tmp/multipartBody8111246809701566261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570350919,"filename":"image_22012025_19_24_35_6493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654014","file1":"1330653987","file0":"1330653983","file4":"1330654023","file5":"1330654029","file3":"1330654019"},"map_files_photo_id_array":[{"photo_id":"1330654029","filename":"file5"},{"photo_id":"1330654014","filename":"file2"},{"photo_id":"1330654023","filename":"file4"},{"photo_id":"1330653987","filename":"file1"},{"photo_id":"1330653983","filename":"file0"},{"photo_id":"1330654019","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330653987":["hashtag1","hashtag2"]},{"1330654023":["hashtag1","hashtag2"]},{"1330654029":["hashtag1","hashtag2"]},{"1330654014":["hashtag1","hashtag2"]},{"1330653983":["hashtag1","hashtag2"]},{"1330654019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330653987, 1330654023, 1330654029, 1330654014, 1330653983, 1330654019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29034352302551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:25:42.905574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/25/image_22012025_19_25_53_5323.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_48_6102.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_42_6462.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_35_6501.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_29_5217.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_23_6433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/25/image_22012025_19_25_53_5323.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_48_6102.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_42_6462.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_35_6501.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_29_5217.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_23_6433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330654158","1330654131","1330654113","1330654088","1330654133","1330654139"],"photo_ids_order":["1330654088","1330654113","1330654131","1330654133","1330654139","1330654158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/80d0ff77f99239994905e4d8376a5fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5084836675644467719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_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/22/6b9092b198c21a80d902736df809342c.jpg","text":"TemporaryFile(/tmp/multipartBody7149400764133094810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_42_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d86214836c3a65b695f0221466fb1ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3692419285165539842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_48_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/867a85360f3ae3a508ea33a363b1ab37.jpg","text":"TemporaryFile(/tmp/multipartBody1284255364391485662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_53_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/22/d3276bbd01a4962e519c6ff4e05cf1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4111183767798826986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_35_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/22/b8e212751eba798a3d74c56a4ff84c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7111595118881085903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570410574,"filename":"image_22012025_19_25_29_5217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654131","file1":"1330654113","file0":"1330654088","file4":"1330654139","file5":"1330654158","file3":"1330654133"},"map_files_photo_id_array":[{"photo_id":"1330654158","filename":"file5"},{"photo_id":"1330654131","filename":"file2"},{"photo_id":"1330654139","filename":"file4"},{"photo_id":"1330654113","filename":"file1"},{"photo_id":"1330654088","filename":"file0"},{"photo_id":"1330654133","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654158":["hashtag1","hashtag2"]},{"1330654131":["hashtag1","hashtag2"]},{"1330654113":["hashtag1","hashtag2"]},{"1330654088":["hashtag1","hashtag2"]},{"1330654133":["hashtag1","hashtag2"]},{"1330654139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654158, 1330654131, 1330654113, 1330654088, 1330654133, 1330654139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40076947212219 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:26:41.968138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/26/image_22012025_19_26_53_6034.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_47_5977.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_41_5214.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_35_6440.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_29_6507.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_22_5251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/26/image_22012025_19_26_53_6034.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_47_5977.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_41_5214.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_35_6440.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_29_6507.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_22_5251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330654300","1330654284","1330654287","1330654280","1330654292","1330654297"],"photo_ids_order":["1330654280","1330654284","1330654287","1330654292","1330654297","1330654300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09b62b755eb5285bc8a17facb21e6524.jpg","text":"TemporaryFile(/tmp/multipartBody1382973317083382958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_22_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/22/95584a573cd963ea14f9589000bf5009.jpg","text":"TemporaryFile(/tmp/multipartBody4674786850183324988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_47_5977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d9bc174bb50b01589f3f19393f0d446.jpg","text":"TemporaryFile(/tmp/multipartBody3890165279356403849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_41_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/22/0c6e6821f796644e416869efc6812cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5502817557791966650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_53_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/777fcb6e50873ed9603b53f5230c55a8.jpg","text":"TemporaryFile(/tmp/multipartBody645960253111514911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_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/22/c963bb929a84f05b367c878038bb41ac.jpg","text":"TemporaryFile(/tmp/multipartBody2004898806234442186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570472604,"filename":"image_22012025_19_26_29_6507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654287","file1":"1330654284","file0":"1330654280","file4":"1330654297","file5":"1330654300","file3":"1330654292"},"map_files_photo_id_array":[{"photo_id":"1330654300","filename":"file5"},{"photo_id":"1330654287","filename":"file2"},{"photo_id":"1330654297","filename":"file4"},{"photo_id":"1330654284","filename":"file1"},{"photo_id":"1330654280","filename":"file0"},{"photo_id":"1330654292","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654300":["hashtag1","hashtag2"]},{"1330654284":["hashtag1","hashtag2"]},{"1330654287":["hashtag1","hashtag2"]},{"1330654280":["hashtag1","hashtag2"]},{"1330654292":["hashtag1","hashtag2"]},{"1330654297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654300, 1330654284, 1330654287, 1330654280, 1330654292, 1330654297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84200668334961 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:27:42.376993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/27/image_22012025_19_27_53_5738.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_48_6830.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_40_5276.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_35_6509.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_29_5267.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_23_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/27/image_22012025_19_27_53_5738.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_48_6830.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_40_5276.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_35_6509.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_29_5267.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_23_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":["1330654335","1330654338","1330654331","1330654334","1330654328","1330654336"],"photo_ids_order":["1330654328","1330654331","1330654334","1330654335","1330654336","1330654338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8abdec3fd5c0aa3ab2377e8ef6efa4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2942438917903635227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_35_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/22/e922f4b498f95436373974cb0773f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody3064280626172574757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_23_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/22/cd3b008bbf9c0c9a6f6452d186a29f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4186105979272007312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_48_6830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3311062c586c67af3cfb504592be9a1.jpg","text":"TemporaryFile(/tmp/multipartBody7456521412971162488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_40_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/22/6624ca2bf77c03ef1f77b57eaf19a311.jpg","text":"TemporaryFile(/tmp/multipartBody7421528659811197553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_53_5738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adec64085269b5b215577dfb6f7c8fc3.jpg","text":"TemporaryFile(/tmp/multipartBody4682513349691860101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570541667,"filename":"image_22012025_19_27_29_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654334","file1":"1330654331","file0":"1330654328","file4":"1330654336","file5":"1330654338","file3":"1330654335"},"map_files_photo_id_array":[{"photo_id":"1330654338","filename":"file5"},{"photo_id":"1330654334","filename":"file2"},{"photo_id":"1330654336","filename":"file4"},{"photo_id":"1330654331","filename":"file1"},{"photo_id":"1330654328","filename":"file0"},{"photo_id":"1330654335","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654335":["hashtag1","hashtag2"]},{"1330654338":["hashtag1","hashtag2"]},{"1330654331":["hashtag1","hashtag2"]},{"1330654334":["hashtag1","hashtag2"]},{"1330654328":["hashtag1","hashtag2"]},{"1330654336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654335, 1330654338, 1330654331, 1330654334, 1330654328, 1330654336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.01599669456482 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:28:42.482287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/28/image_22012025_19_28_53_5232.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_48_6284.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_41_6546.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_35_5313.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_30_6489.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_23_6491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/28/image_22012025_19_28_53_5232.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_48_6284.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_41_6546.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_35_5313.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_30_6489.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_23_6491.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":["1330654491","1330654458","1330654496","1330654484","1330654463","1330654448"],"photo_ids_order":["1330654448","1330654458","1330654463","1330654484","1330654491","1330654496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dbb2e1a0a5d9f2b8c37e90a904a132ae.jpg","text":"TemporaryFile(/tmp/multipartBody9208329921708605902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_30_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/22/ff785d103f19bbc3d30f28b2357fe0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3184284695089250990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_48_6284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb4e738ff65ede9bad1594c15bd96557.jpg","text":"TemporaryFile(/tmp/multipartBody5939937978115938248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_23_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/22/6ce43e74b6b8ac40273a2a3662221cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3042904657477389916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_35_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/22/60c0bba9ef1a8743078ec5683e67a8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1590181149710011793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_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/22/00258b04228d489f3133972b0c1bd446.jpg","text":"TemporaryFile(/tmp/multipartBody7335717697046229867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570615920,"filename":"image_22012025_19_28_53_5232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654463","file1":"1330654458","file0":"1330654448","file4":"1330654491","file5":"1330654496","file3":"1330654484"},"map_files_photo_id_array":[{"photo_id":"1330654496","filename":"file5"},{"photo_id":"1330654463","filename":"file2"},{"photo_id":"1330654491","filename":"file4"},{"photo_id":"1330654458","filename":"file1"},{"photo_id":"1330654448","filename":"file0"},{"photo_id":"1330654484","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654491":["hashtag1","hashtag2"]},{"1330654458":["hashtag1","hashtag2"]},{"1330654496":["hashtag1","hashtag2"]},{"1330654484":["hashtag1","hashtag2"]},{"1330654463":["hashtag1","hashtag2"]},{"1330654448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654491, 1330654458, 1330654496, 1330654484, 1330654463, 1330654448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.52872824668884 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:30:04.175796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/29/image_22012025_19_29_22_5407.jpg', '/media/data/images/22012025/19/29/image_22012025_19_29_17_5365.jpg', '/media/data/images/22012025/19/29/image_22012025_19_29_12_6007.jpg', '/media/data/images/22012025/19/29/image_22012025_19_29_06_6061.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_59_6627.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_17_5628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/29/image_22012025_19_29_22_5407.jpg
/media/data/images/22012025/19/29/image_22012025_19_29_17_5365.jpg
/media/data/images/22012025/19/29/image_22012025_19_29_12_6007.jpg
/media/data/images/22012025/19/29/image_22012025_19_29_06_6061.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_59_6627.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_17_5628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330654740","1330654698","1330654737","1330654722","1330654725","1330654715"],"photo_ids_order":["1330654698","1330654715","1330654722","1330654725","1330654737","1330654740"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4e8fbb37d53c8e140954bffd5fd5c7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5001528625814736852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_28_17_5628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5c95c13ed7640a68134ba364396aab9.jpg","text":"TemporaryFile(/tmp/multipartBody7895567639979171217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_29_22_5407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bae1cf993a80a75d75cb3dc7af8c7fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5143879179358340749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_28_59_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/22/4248d6df00805b51931e99c75125b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7019260580447912052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_29_12_6007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8031e04e601d671737ae1a619062cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6026881213638899006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_29_06_6061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/672480fadf1e5cecc136c4cdba4871fa.jpg","text":"TemporaryFile(/tmp/multipartBody2438540069165817591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570683803,"filename":"image_22012025_19_29_17_5365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654722","file1":"1330654715","file0":"1330654698","file4":"1330654737","file5":"1330654740","file3":"1330654725"},"map_files_photo_id_array":[{"photo_id":"1330654740","filename":"file5"},{"photo_id":"1330654722","filename":"file2"},{"photo_id":"1330654737","filename":"file4"},{"photo_id":"1330654715","filename":"file1"},{"photo_id":"1330654698","filename":"file0"},{"photo_id":"1330654725","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654740":["hashtag1","hashtag2"]},{"1330654698":["hashtag1","hashtag2"]},{"1330654737":["hashtag1","hashtag2"]},{"1330654722":["hashtag1","hashtag2"]},{"1330654725":["hashtag1","hashtag2"]},{"1330654715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654740, 1330654698, 1330654737, 1330654722, 1330654725, 1330654715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.798160791397095 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:31:03.469262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/30/image_22012025_19_30_24_6377.jpg', '/media/data/images/22012025/19/30/image_22012025_19_30_05_6051.jpg', '/media/data/images/22012025/19/29/image_22012025_19_29_34_5394.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_11_6320.jpg', '/media/data/images/22012025/19/28/image_22012025_19_28_05_5041.jpg', '/media/data/images/22012025/19/27/image_22012025_19_28_00_6499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/30/image_22012025_19_30_24_6377.jpg
/media/data/images/22012025/19/30/image_22012025_19_30_05_6051.jpg
/media/data/images/22012025/19/29/image_22012025_19_29_34_5394.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_11_6320.jpg
/media/data/images/22012025/19/28/image_22012025_19_28_05_5041.jpg
/media/data/images/22012025/19/27/image_22012025_19_28_00_6499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330654801","1330654794","1330654815","1330654853","1330654832","1330654861"],"photo_ids_order":["1330654794","1330654801","1330654815","1330654832","1330654853","1330654861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd5264f770e64c51ea46d0f2b0f1a1b2.jpg","text":"TemporaryFile(/tmp/multipartBody1322531804794294243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_30_05_6051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ea3e9a62c952ccb077d08f9b8f8fec6.jpg","text":"TemporaryFile(/tmp/multipartBody6217768811357820093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_30_24_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/22/a7715c52f3417c763555e3181ed4c846.jpg","text":"TemporaryFile(/tmp/multipartBody2923213554652292696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_29_34_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/22/0d2889a114d0ca2fe664b0257b048759.jpg","text":"TemporaryFile(/tmp/multipartBody2381620562985723464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_28_05_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/22/bc250b60b43a1b52b3f2512ee8125d55.jpg","text":"TemporaryFile(/tmp/multipartBody1752429194595108619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_28_11_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/22/83e4c5b3aa369f533f90692fe4be1f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8401622155770222988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570746014,"filename":"image_22012025_19_28_00_6499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330654815","file1":"1330654801","file0":"1330654794","file4":"1330654853","file5":"1330654861","file3":"1330654832"},"map_files_photo_id_array":[{"photo_id":"1330654861","filename":"file5"},{"photo_id":"1330654815","filename":"file2"},{"photo_id":"1330654853","filename":"file4"},{"photo_id":"1330654801","filename":"file1"},{"photo_id":"1330654794","filename":"file0"},{"photo_id":"1330654832","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330654801":["hashtag1","hashtag2"]},{"1330654794":["hashtag1","hashtag2"]},{"1330654815":["hashtag1","hashtag2"]},{"1330654853":["hashtag1","hashtag2"]},{"1330654832":["hashtag1","hashtag2"]},{"1330654861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330654801, 1330654794, 1330654815, 1330654853, 1330654832, 1330654861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.1933331489563 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:32:03.914924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/31/image_22012025_19_31_42_6667.jpg', '/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg', '/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/31/image_22012025_19_31_42_6667.jpg
/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg
/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.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: 36.94741749763489 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:32:42.436739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/32/image_22012025_19_32_47_6760.jpg', '/media/data/images/22012025/19/32/image_22012025_19_32_41_5464.jpg', '/media/data/images/22012025/19/32/image_22012025_19_32_35_5452.jpg', '/media/data/images/22012025/19/32/image_22012025_19_32_24_5954.jpg', '/media/data/images/22012025/19/32/image_22012025_19_32_12_5879.jpg', '/media/data/images/22012025/19/31/image_22012025_19_31_52_5459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/32/image_22012025_19_32_47_6760.jpg
/media/data/images/22012025/19/32/image_22012025_19_32_41_5464.jpg
/media/data/images/22012025/19/32/image_22012025_19_32_35_5452.jpg
/media/data/images/22012025/19/32/image_22012025_19_32_24_5954.jpg
/media/data/images/22012025/19/32/image_22012025_19_32_12_5879.jpg
/media/data/images/22012025/19/31/image_22012025_19_31_52_5459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330655145","1330655208","1330655194","1330655233","1330655203","1330655181"],"photo_ids_order":["1330655145","1330655181","1330655194","1330655203","1330655208","1330655233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/488921f389e63d92c4b778b00705c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody2331483717060894870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_32_47_6760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/023f000d8743ad8ae175e0224b983f12.jpg","text":"TemporaryFile(/tmp/multipartBody4569791681488121057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_32_12_5879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8e43a1db1c9b6ff1fbb409e01e0a20a.jpg","text":"TemporaryFile(/tmp/multipartBody3769091441010892243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_32_35_5452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/afff4d61974c8ec77f71140efd7a898e.jpg","text":"TemporaryFile(/tmp/multipartBody52704426033881312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_31_52_5459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76c38345cfe79a2c3cac909a932f6104.jpg","text":"TemporaryFile(/tmp/multipartBody6030878931510471011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_32_24_5954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f845f3cea036c4f81cb329e3671bb37b.jpg","text":"TemporaryFile(/tmp/multipartBody1493244271830185041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570835219,"filename":"image_22012025_19_32_41_5464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330655194","file1":"1330655181","file0":"1330655145","file4":"1330655208","file5":"1330655233","file3":"1330655203"},"map_files_photo_id_array":[{"photo_id":"1330655233","filename":"file5"},{"photo_id":"1330655194","filename":"file2"},{"photo_id":"1330655208","filename":"file4"},{"photo_id":"1330655181","filename":"file1"},{"photo_id":"1330655145","filename":"file0"},{"photo_id":"1330655203","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330655145":["hashtag1","hashtag2"]},{"1330655208":["hashtag1","hashtag2"]},{"1330655194":["hashtag1","hashtag2"]},{"1330655233":["hashtag1","hashtag2"]},{"1330655203":["hashtag1","hashtag2"]},{"1330655181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330655145, 1330655208, 1330655194, 1330655233, 1330655203, 1330655181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.13044571876526 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:33:42.539142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/33/image_22012025_19_33_47_5275.jpg', '/media/data/images/22012025/19/33/image_22012025_19_33_30_6935.jpg', '/media/data/images/22012025/19/33/image_22012025_19_33_23_5278.jpg', '/media/data/images/22012025/19/33/image_22012025_19_33_18_6589.jpg', '/media/data/images/22012025/19/33/image_22012025_19_33_11_5879.jpg', '/media/data/images/22012025/19/32/image_22012025_19_32_53_5450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/33/image_22012025_19_33_47_5275.jpg
/media/data/images/22012025/19/33/image_22012025_19_33_30_6935.jpg
/media/data/images/22012025/19/33/image_22012025_19_33_23_5278.jpg
/media/data/images/22012025/19/33/image_22012025_19_33_18_6589.jpg
/media/data/images/22012025/19/33/image_22012025_19_33_11_5879.jpg
/media/data/images/22012025/19/32/image_22012025_19_32_53_5450.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":["1330655433","1330655441","1330655435","1330655444","1330655438","1330655431"],"photo_ids_order":["1330655431","1330655433","1330655435","1330655438","1330655441","1330655444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1bc304d2ec4df7b24b656fbc0da4e0eb.jpg","text":"TemporaryFile(/tmp/multipartBody7463590731926766880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_33_30_6935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/307cfab42f76ddc575d37f72010dd69b.jpg","text":"TemporaryFile(/tmp/multipartBody3348188439477397291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_33_11_5879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/171c4f4f09e4c0bc00441d062b5c9339.jpg","text":"TemporaryFile(/tmp/multipartBody2786221566367380416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_33_23_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/22/bb204af9c1e930f31a3cb830d0549d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8913680272297207255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_32_53_5450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/75132e579d7eace8d98b6616aae5e462.jpg","text":"TemporaryFile(/tmp/multipartBody1174531333414861540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_33_18_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/22/36be0af1c37ba58f6aa64eb91b708ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5129479097202292623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570911326,"filename":"image_22012025_19_33_47_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330655435","file1":"1330655433","file0":"1330655431","file4":"1330655441","file5":"1330655444","file3":"1330655438"},"map_files_photo_id_array":[{"photo_id":"1330655444","filename":"file5"},{"photo_id":"1330655435","filename":"file2"},{"photo_id":"1330655441","filename":"file4"},{"photo_id":"1330655433","filename":"file1"},{"photo_id":"1330655431","filename":"file0"},{"photo_id":"1330655438","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330655433":["hashtag1","hashtag2"]},{"1330655441":["hashtag1","hashtag2"]},{"1330655435":["hashtag1","hashtag2"]},{"1330655444":["hashtag1","hashtag2"]},{"1330655438":["hashtag1","hashtag2"]},{"1330655431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330655433, 1330655441, 1330655435, 1330655444, 1330655438, 1330655431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.753254652023315 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:35:04.946922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/34/image_22012025_19_34_53_5530.jpg', '/media/data/images/22012025/19/34/image_22012025_19_34_41_6723.jpg', '/media/data/images/22012025/19/34/image_22012025_19_34_34_5457.jpg', '/media/data/images/22012025/19/34/image_22012025_19_34_05_6151.jpg', '/media/data/images/22012025/19/33/image_22012025_19_33_58_5370.jpg', '/media/data/images/22012025/19/31/image_22012025_19_31_42_6667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/34/image_22012025_19_34_53_5530.jpg
/media/data/images/22012025/19/34/image_22012025_19_34_41_6723.jpg
/media/data/images/22012025/19/34/image_22012025_19_34_34_5457.jpg
/media/data/images/22012025/19/34/image_22012025_19_34_05_6151.jpg
/media/data/images/22012025/19/33/image_22012025_19_33_58_5370.jpg
/media/data/images/22012025/19/31/image_22012025_19_31_42_6667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330656147","1330655652","1330655936","1330656031","1330655827","1330656258"],"photo_ids_order":["1330655652","1330655827","1330655936","1330656031","1330656147","1330656258"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4271c11d15c90e9ec1ea102fcc9b91d.jpg","text":"TemporaryFile(/tmp/multipartBody2090577355254300297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_33_58_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/22/e2e7c0aff362b5fa40e48e0bab0e99b5.jpg","text":"TemporaryFile(/tmp/multipartBody3059866939879137028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_34_53_5530.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/42335f7b1ed42292aab2719a0e517099.jpg","text":"TemporaryFile(/tmp/multipartBody3551649151219731585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_34_34_5457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5fc75e3b250a8025e0f21e49483bc8b4.jpg","text":"TemporaryFile(/tmp/multipartBody5315922658125938131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_34_05_6151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/499be53315f93aeac7ea9336273ed251.jpg","text":"TemporaryFile(/tmp/multipartBody3669662795789177424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_34_41_6723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce34f05e6108cd556ef5ebe0d2ec3336.jpg","text":"TemporaryFile(/tmp/multipartBody2860258534601674456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737570995525,"filename":"image_22012025_19_31_42_6667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330655936","file1":"1330655827","file0":"1330655652","file4":"1330656147","file5":"1330656258","file3":"1330656031"},"map_files_photo_id_array":[{"photo_id":"1330656258","filename":"file5"},{"photo_id":"1330655936","filename":"file2"},{"photo_id":"1330656147","filename":"file4"},{"photo_id":"1330655827","filename":"file1"},{"photo_id":"1330655652","filename":"file0"},{"photo_id":"1330656031","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330656147":["hashtag1","hashtag2"]},{"1330655652":["hashtag1","hashtag2"]},{"1330655936":["hashtag1","hashtag2"]},{"1330656031":["hashtag1","hashtag2"]},{"1330655827":["hashtag1","hashtag2"]},{"1330656258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330656147, 1330655652, 1330655936, 1330656031, 1330655827, 1330656258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.09020352363586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:36:22.079016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/36/image_22012025_19_36_53_5475.jpg', '/media/data/images/22012025/19/36/image_22012025_19_36_35_5663.jpg', '/media/data/images/22012025/19/36/image_22012025_19_36_30_6192.jpg', '/media/data/images/22012025/19/36/image_22012025_19_36_18_6087.jpg', '/media/data/images/22012025/19/35/image_22012025_19_35_35_5483.jpg', '/media/data/images/22012025/19/35/image_22012025_19_35_29_6686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/36/image_22012025_19_36_53_5475.jpg
/media/data/images/22012025/19/36/image_22012025_19_36_35_5663.jpg
/media/data/images/22012025/19/36/image_22012025_19_36_30_6192.jpg
/media/data/images/22012025/19/36/image_22012025_19_36_18_6087.jpg
/media/data/images/22012025/19/35/image_22012025_19_35_35_5483.jpg
/media/data/images/22012025/19/35/image_22012025_19_35_29_6686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330656402","1330656389","1330656443","1330656407","1330656385","1330656399"],"photo_ids_order":["1330656385","1330656389","1330656399","1330656402","1330656407","1330656443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70b87424ba8914fcbf7c6f62901efe3d.jpg","text":"TemporaryFile(/tmp/multipartBody7030538418318761569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_36_18_6087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/551b494f152845423b3d9232017861af.jpg","text":"TemporaryFile(/tmp/multipartBody9212624922438067468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_36_35_5663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c2f7f547f006924dfd71935a3c482d8.jpg","text":"TemporaryFile(/tmp/multipartBody4076469903706782133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_35_29_6686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4948f7ba532101fab2002cd92375d8cb.jpg","text":"TemporaryFile(/tmp/multipartBody8747352503561341428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_35_35_5483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3553939175b0e56ac71ee80fa7e2cb16.jpg","text":"TemporaryFile(/tmp/multipartBody8430028185878940540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_36_53_5475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/25f34affd6500e42947e5e4ce693ada2.jpg","text":"TemporaryFile(/tmp/multipartBody4087038078347217269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571068532,"filename":"image_22012025_19_36_30_6192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330656399","file1":"1330656389","file0":"1330656385","file4":"1330656407","file5":"1330656443","file3":"1330656402"},"map_files_photo_id_array":[{"photo_id":"1330656443","filename":"file5"},{"photo_id":"1330656399","filename":"file2"},{"photo_id":"1330656407","filename":"file4"},{"photo_id":"1330656389","filename":"file1"},{"photo_id":"1330656385","filename":"file0"},{"photo_id":"1330656402","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330656402":["hashtag1","hashtag2"]},{"1330656389":["hashtag1","hashtag2"]},{"1330656443":["hashtag1","hashtag2"]},{"1330656407":["hashtag1","hashtag2"]},{"1330656385":["hashtag1","hashtag2"]},{"1330656399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330656402, 1330656389, 1330656443, 1330656407, 1330656385, 1330656399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.68407845497131 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:37:42.164413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/37/image_22012025_19_37_41_5801.jpg', '/media/data/images/22012025/19/37/image_22012025_19_37_23_5610.jpg', '/media/data/images/22012025/19/37/image_22012025_19_37_11_6362.jpg', '/media/data/images/22012025/19/36/image_22012025_19_36_59_6763.jpg', '/media/data/images/22012025/19/35/image_22012025_19_35_22_5445.jpg', '/media/data/images/22012025/19/35/image_22012025_19_35_17_6669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/37/image_22012025_19_37_41_5801.jpg
/media/data/images/22012025/19/37/image_22012025_19_37_23_5610.jpg
/media/data/images/22012025/19/37/image_22012025_19_37_11_6362.jpg
/media/data/images/22012025/19/36/image_22012025_19_36_59_6763.jpg
/media/data/images/22012025/19/35/image_22012025_19_35_22_5445.jpg
/media/data/images/22012025/19/35/image_22012025_19_35_17_6669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330656813","1330656848","1330656752","1330656746","1330656809","1330656856"],"photo_ids_order":["1330656746","1330656752","1330656809","1330656813","1330656848","1330656856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0dad8785be8ead58f505880efc431554.jpg","text":"TemporaryFile(/tmp/multipartBody8906968668708316369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_36_59_6763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9948cd4eb4fcfdcba188d61d55e4bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody6592841770031476554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_35_22_5445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/badcaefae5b2e3b7bacbac0cb4b2be20.jpg","text":"TemporaryFile(/tmp/multipartBody3605201540955849066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_37_23_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a4ff6661a33a0c516afa068ab366e69.jpg","text":"TemporaryFile(/tmp/multipartBody198646577647809825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_37_41_5801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7c9e45c5635cbabcba8290ce67e6737.jpg","text":"TemporaryFile(/tmp/multipartBody834185296500877475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_37_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/22/1b8d97e2b66983239f530bc63e3c2b2d.jpg","text":"TemporaryFile(/tmp/multipartBody520054667557786887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571134317,"filename":"image_22012025_19_35_17_6669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330656809","file1":"1330656752","file0":"1330656746","file4":"1330656848","file5":"1330656856","file3":"1330656813"},"map_files_photo_id_array":[{"photo_id":"1330656856","filename":"file5"},{"photo_id":"1330656809","filename":"file2"},{"photo_id":"1330656848","filename":"file4"},{"photo_id":"1330656752","filename":"file1"},{"photo_id":"1330656746","filename":"file0"},{"photo_id":"1330656813","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330656813":["hashtag1","hashtag2"]},{"1330656848":["hashtag1","hashtag2"]},{"1330656752":["hashtag1","hashtag2"]},{"1330656746":["hashtag1","hashtag2"]},{"1330656809":["hashtag1","hashtag2"]},{"1330656856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330656813, 1330656848, 1330656752, 1330656746, 1330656809, 1330656856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.78032350540161 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:38:42.354031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/38/image_22012025_19_38_54_7445.jpg', '/media/data/images/22012025/19/38/image_22012025_19_38_41_6682.jpg', '/media/data/images/22012025/19/38/image_22012025_19_38_22_5495.jpg', '/media/data/images/22012025/19/38/image_22012025_19_38_06_6393.jpg', '/media/data/images/22012025/19/37/image_22012025_19_37_54_5773.jpg', '/media/data/images/22012025/19/35/image_22012025_19_35_11_4800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/38/image_22012025_19_38_54_7445.jpg
/media/data/images/22012025/19/38/image_22012025_19_38_41_6682.jpg
/media/data/images/22012025/19/38/image_22012025_19_38_22_5495.jpg
/media/data/images/22012025/19/38/image_22012025_19_38_06_6393.jpg
/media/data/images/22012025/19/37/image_22012025_19_37_54_5773.jpg
/media/data/images/22012025/19/35/image_22012025_19_35_11_4800.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":["1330656948","1330656933","1330656944","1330656940","1330656936","1330656930"],"photo_ids_order":["1330656930","1330656933","1330656936","1330656940","1330656944","1330656948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44551f83bdee455bda5a6479be61c19e.jpg","text":"TemporaryFile(/tmp/multipartBody695968370971715553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_35_11_4800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/496df5f052042520e197adaa49602f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2516372055508533508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_38_41_6682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0413dda177ef7624ec82e46be4969aad.jpg","text":"TemporaryFile(/tmp/multipartBody2467711296650308301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_37_54_5773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8fc030fba654471c1f67097da9f55769.jpg","text":"TemporaryFile(/tmp/multipartBody5173403048762997991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_38_06_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/22/8415c6f958bae1f2ba61048ecee43b93.jpg","text":"TemporaryFile(/tmp/multipartBody5303374357977154068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_38_22_5495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/89b447a746a13bea332325014881bc93.jpg","text":"TemporaryFile(/tmp/multipartBody2262069576717428445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571221171,"filename":"image_22012025_19_38_54_7445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330656936","file1":"1330656933","file0":"1330656930","file4":"1330656944","file5":"1330656948","file3":"1330656940"},"map_files_photo_id_array":[{"photo_id":"1330656948","filename":"file5"},{"photo_id":"1330656936","filename":"file2"},{"photo_id":"1330656944","filename":"file4"},{"photo_id":"1330656933","filename":"file1"},{"photo_id":"1330656930","filename":"file0"},{"photo_id":"1330656940","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330656948":["hashtag1","hashtag2"]},{"1330656933":["hashtag1","hashtag2"]},{"1330656944":["hashtag1","hashtag2"]},{"1330656940":["hashtag1","hashtag2"]},{"1330656936":["hashtag1","hashtag2"]},{"1330656930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330656948, 1330656933, 1330656944, 1330656940, 1330656936, 1330656930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.38222074508667 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:40:04.213338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/39/image_22012025_19_39_53_5267.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_48_7168.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_40_5287.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_35_6527.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_29_5271.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_23_6503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/39/image_22012025_19_39_53_5267.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_48_7168.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_40_5287.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_35_6527.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_29_5271.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_23_6503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330656977","1330656994","1330657024","1330657006","1330657017","1330657011"],"photo_ids_order":["1330656977","1330656994","1330657006","1330657011","1330657017","1330657024"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4190b286e2e2cefa476fb4938a50e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6705492150683838351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_53_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/22/3e816fe24ddc6c8158171b8ea1eb0b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5544670002030325992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_48_7168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fb0e7f693de6b3dcce4185a963de2b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2267720550625800236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_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/22/64936d8de58484327b96e9ca49bd4364.jpg","text":"TemporaryFile(/tmp/multipartBody9020124108803878196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_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/22/aae4e808fdc48a31c8bc7cc9db8d7004.jpg","text":"TemporaryFile(/tmp/multipartBody3714294609956821122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_29_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/22/f52316f59d96d1d9158b2e7f5ca35b79.jpg","text":"TemporaryFile(/tmp/multipartBody3053804207296933997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571290729,"filename":"image_22012025_19_39_35_6527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657006","file1":"1330656994","file0":"1330656977","file4":"1330657017","file5":"1330657024","file3":"1330657011"},"map_files_photo_id_array":[{"photo_id":"1330657024","filename":"file5"},{"photo_id":"1330657006","filename":"file2"},{"photo_id":"1330657017","filename":"file4"},{"photo_id":"1330656994","filename":"file1"},{"photo_id":"1330656977","filename":"file0"},{"photo_id":"1330657011","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330656977":["hashtag1","hashtag2"]},{"1330656994":["hashtag1","hashtag2"]},{"1330657024":["hashtag1","hashtag2"]},{"1330657006":["hashtag1","hashtag2"]},{"1330657017":["hashtag1","hashtag2"]},{"1330657011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330656977, 1330656994, 1330657024, 1330657006, 1330657017, 1330657011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.29937553405762 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:41:22.725657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/41/image_22012025_19_41_53_6473.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_47_5314.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_41_6544.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_35_5618.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_29_6183.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_23_4927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/41/image_22012025_19_41_53_6473.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_47_5314.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_41_6544.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_35_5618.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_29_6183.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_23_4927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657121","1330657129","1330657114","1330657117","1330657116","1330657125"],"photo_ids_order":["1330657114","1330657116","1330657117","1330657121","1330657125","1330657129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adeb50650fdb680a660667f32bd8d7d2.jpg","text":"TemporaryFile(/tmp/multipartBody5256623380709782379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_35_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e585e8437e076b3117dc6f8920457026.jpg","text":"TemporaryFile(/tmp/multipartBody4443435943941430836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_23_4927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/75ba4138946077c3aa25effa0a631817.jpg","text":"TemporaryFile(/tmp/multipartBody8018457224973676285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_53_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/22/59ac1ead3eb9134d894cfa8bdc656f41.jpg","text":"TemporaryFile(/tmp/multipartBody2668339086540998896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_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/22/6c134aa2c1308c75a3af887c46a6e8b9.jpg","text":"TemporaryFile(/tmp/multipartBody780475792920941148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_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/22/4f21968ca7266d95be89f27466e2a59d.jpg","text":"TemporaryFile(/tmp/multipartBody1981718268353920102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571350910,"filename":"image_22012025_19_41_29_6183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657117","file1":"1330657116","file0":"1330657114","file4":"1330657125","file5":"1330657129","file3":"1330657121"},"map_files_photo_id_array":[{"photo_id":"1330657129","filename":"file5"},{"photo_id":"1330657117","filename":"file2"},{"photo_id":"1330657125","filename":"file4"},{"photo_id":"1330657116","filename":"file1"},{"photo_id":"1330657114","filename":"file0"},{"photo_id":"1330657121","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657121":["hashtag1","hashtag2"]},{"1330657129":["hashtag1","hashtag2"]},{"1330657114":["hashtag1","hashtag2"]},{"1330657117":["hashtag1","hashtag2"]},{"1330657116":["hashtag1","hashtag2"]},{"1330657125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657121, 1330657129, 1330657114, 1330657117, 1330657116, 1330657125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65195393562317 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:42:21.946979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/42/image_22012025_19_42_46_5370.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_41_6533.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_35_6116.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_29_5899.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_22_5257.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_17_6176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/42/image_22012025_19_42_46_5370.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_41_6533.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_35_6116.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_29_5899.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_22_5257.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_17_6176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657157","1330657187","1330657172","1330657166","1330657162","1330657170"],"photo_ids_order":["1330657157","1330657162","1330657166","1330657170","1330657172","1330657187"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c069e5b91567824262d71f8f65b8e87a.jpg","text":"TemporaryFile(/tmp/multipartBody5173356091449168499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_46_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/22/6598cafaab9f94f74fd0018c1cc86d0c.jpg","text":"TemporaryFile(/tmp/multipartBody731056065650692573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_17_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/22/d78110425d6f72808f7432c620c44555.jpg","text":"TemporaryFile(/tmp/multipartBody5963795738829024239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_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/22/c994bc836fd48055b82173e7cdc1d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6487007038144843729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_35_6116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bff97b6ed5b3360164ad9346f748ba81.jpg","text":"TemporaryFile(/tmp/multipartBody3980240680915051941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_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/22/b5dbf8f578f991b59c44d372809c70c6.jpg","text":"TemporaryFile(/tmp/multipartBody3105643601542024929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571422498,"filename":"image_22012025_19_42_29_5899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657166","file1":"1330657162","file0":"1330657157","file4":"1330657172","file5":"1330657187","file3":"1330657170"},"map_files_photo_id_array":[{"photo_id":"1330657187","filename":"file5"},{"photo_id":"1330657166","filename":"file2"},{"photo_id":"1330657172","filename":"file4"},{"photo_id":"1330657162","filename":"file1"},{"photo_id":"1330657157","filename":"file0"},{"photo_id":"1330657170","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657157":["hashtag1","hashtag2"]},{"1330657187":["hashtag1","hashtag2"]},{"1330657172":["hashtag1","hashtag2"]},{"1330657166":["hashtag1","hashtag2"]},{"1330657162":["hashtag1","hashtag2"]},{"1330657170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657157, 1330657187, 1330657172, 1330657166, 1330657162, 1330657170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.06147861480713 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:43:22.099606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/43/image_22012025_19_43_53_5476.jpg', '/media/data/images/22012025/19/43/image_22012025_19_43_42_6720.jpg', '/media/data/images/22012025/19/43/image_22012025_19_43_12_6544.jpg', '/media/data/images/22012025/19/43/image_22012025_19_43_05_6152.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_59_5485.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_11_5343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/43/image_22012025_19_43_53_5476.jpg
/media/data/images/22012025/19/43/image_22012025_19_43_42_6720.jpg
/media/data/images/22012025/19/43/image_22012025_19_43_12_6544.jpg
/media/data/images/22012025/19/43/image_22012025_19_43_05_6152.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_59_5485.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_11_5343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657232","1330657235","1330657228","1330657245","1330657239","1330657224"],"photo_ids_order":["1330657224","1330657228","1330657232","1330657235","1330657239","1330657245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0beff98b9fb2199ce3aa943896cb5bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5091114218275063062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_43_12_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/22/2d2b47b8b3c1fb442abf82883d83cba9.jpg","text":"TemporaryFile(/tmp/multipartBody2031123004998755725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_43_05_6152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b62f017c23cc7af23efcc9f48316e134.jpg","text":"TemporaryFile(/tmp/multipartBody5922361742188130859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_43_42_6720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/824b4be430b0a82c7784b60e28d3401e.jpg","text":"TemporaryFile(/tmp/multipartBody5601112126236914858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_42_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/22/d1550d6adea3afbe0ffed4f970357697.jpg","text":"TemporaryFile(/tmp/multipartBody4843812176731085506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_42_59_5485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d8ea60999bc15c402dea2cc255c1c97.jpg","text":"TemporaryFile(/tmp/multipartBody7095832758254716112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571486656,"filename":"image_22012025_19_43_53_5476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657232","file1":"1330657228","file0":"1330657224","file4":"1330657239","file5":"1330657245","file3":"1330657235"},"map_files_photo_id_array":[{"photo_id":"1330657245","filename":"file5"},{"photo_id":"1330657232","filename":"file2"},{"photo_id":"1330657239","filename":"file4"},{"photo_id":"1330657228","filename":"file1"},{"photo_id":"1330657224","filename":"file0"},{"photo_id":"1330657235","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657232":["hashtag1","hashtag2"]},{"1330657235":["hashtag1","hashtag2"]},{"1330657228":["hashtag1","hashtag2"]},{"1330657245":["hashtag1","hashtag2"]},{"1330657239":["hashtag1","hashtag2"]},{"1330657224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657232, 1330657235, 1330657228, 1330657245, 1330657239, 1330657224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78893184661865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:44:22.490572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/44/image_22012025_19_44_29_5778.jpg', '/media/data/images/22012025/19/44/image_22012025_19_44_17_5023.jpg', '/media/data/images/22012025/19/44/image_22012025_19_44_05_6533.jpg', '/media/data/images/22012025/19/43/image_22012025_19_43_58_5491.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_06_7349.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_58_5268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/44/image_22012025_19_44_29_5778.jpg
/media/data/images/22012025/19/44/image_22012025_19_44_17_5023.jpg
/media/data/images/22012025/19/44/image_22012025_19_44_05_6533.jpg
/media/data/images/22012025/19/43/image_22012025_19_43_58_5491.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_06_7349.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_58_5268.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: 27.903085470199585 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:45:04.577940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/44/image_22012025_19_44_29_5778.jpg', '/media/data/images/22012025/19/44/image_22012025_19_44_17_5023.jpg', '/media/data/images/22012025/19/44/image_22012025_19_44_05_6533.jpg', '/media/data/images/22012025/19/43/image_22012025_19_43_58_5491.jpg', '/media/data/images/22012025/19/42/image_22012025_19_42_06_7349.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_58_5268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/44/image_22012025_19_44_29_5778.jpg
/media/data/images/22012025/19/44/image_22012025_19_44_17_5023.jpg
/media/data/images/22012025/19/44/image_22012025_19_44_05_6533.jpg
/media/data/images/22012025/19/43/image_22012025_19_43_58_5491.jpg
/media/data/images/22012025/19/42/image_22012025_19_42_06_7349.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_58_5268.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657382","1330657348","1330657408","1330657350","1330657338","1330657311"],"photo_ids_order":["1330657311","1330657338","1330657348","1330657350","1330657382","1330657408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/91296cdc702d36258e903041d6b657e6.jpg","text":"TemporaryFile(/tmp/multipartBody5875186376370227892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_42_06_7349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d2c2156dbf7c11f5382e08e46831fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1770319922168349988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_44_05_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/22/58b2611fd1da1d28511612021052c136.jpg","text":"TemporaryFile(/tmp/multipartBody6689146922153466864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_41_58_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/22/3c33d8eb06fd54f66876bdab9ae86a67.jpg","text":"TemporaryFile(/tmp/multipartBody3805357440253567710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_43_58_5491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9849fe6e257173619cc97e3411e10ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1601532710447206203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_44_17_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/22/e0811b3e941c6cf2f6cc5c7feeee9f5f.jpg","text":"TemporaryFile(/tmp/multipartBody4105935502400413160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571577753,"filename":"image_22012025_19_44_29_5778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657348","file1":"1330657338","file0":"1330657311","file4":"1330657382","file5":"1330657408","file3":"1330657350"},"map_files_photo_id_array":[{"photo_id":"1330657408","filename":"file5"},{"photo_id":"1330657348","filename":"file2"},{"photo_id":"1330657382","filename":"file4"},{"photo_id":"1330657338","filename":"file1"},{"photo_id":"1330657311","filename":"file0"},{"photo_id":"1330657350","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657382":["hashtag1","hashtag2"]},{"1330657348":["hashtag1","hashtag2"]},{"1330657408":["hashtag1","hashtag2"]},{"1330657350":["hashtag1","hashtag2"]},{"1330657338":["hashtag1","hashtag2"]},{"1330657311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657382, 1330657348, 1330657408, 1330657350, 1330657338, 1330657311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.98623490333557 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:46:04.453708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/45/image_22012025_19_45_47_5755.jpg', '/media/data/images/22012025/19/45/image_22012025_19_45_41_4923.jpg', '/media/data/images/22012025/19/45/image_22012025_19_45_24_6968.jpg', '/media/data/images/22012025/19/45/image_22012025_19_45_12_6608.jpg', '/media/data/images/22012025/19/45/image_22012025_19_45_05_6287.jpg', '/media/data/images/22012025/19/44/image_22012025_19_44_41_5194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/45/image_22012025_19_45_47_5755.jpg
/media/data/images/22012025/19/45/image_22012025_19_45_41_4923.jpg
/media/data/images/22012025/19/45/image_22012025_19_45_24_6968.jpg
/media/data/images/22012025/19/45/image_22012025_19_45_12_6608.jpg
/media/data/images/22012025/19/45/image_22012025_19_45_05_6287.jpg
/media/data/images/22012025/19/44/image_22012025_19_44_41_5194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657535","1330657591","1330657579","1330657558","1330657552","1330657527"],"photo_ids_order":["1330657527","1330657535","1330657552","1330657558","1330657579","1330657591"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/947315fb577c544a8ea51d5dc01cd14c.jpg","text":"TemporaryFile(/tmp/multipartBody4753374647092202344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_45_41_4923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/345c7dd9cb90dfe413950b25d63e149b.jpg","text":"TemporaryFile(/tmp/multipartBody8616222671882523628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_44_41_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/22/019176087fe9b783f4c094a1cb6d2914.jpg","text":"TemporaryFile(/tmp/multipartBody8125056333176533736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_45_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/22/9a0316bcfcb32ebb74d22b286e6fcb8d.jpg","text":"TemporaryFile(/tmp/multipartBody7121868778850451001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_45_12_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/22/5ac839841fc879911415f9f93143d807.jpg","text":"TemporaryFile(/tmp/multipartBody7176063417406676962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_45_24_6968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e4937919cb3d05493c306f8b0132d65.jpg","text":"TemporaryFile(/tmp/multipartBody551197390256825471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571650443,"filename":"image_22012025_19_45_47_5755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657552","file1":"1330657535","file0":"1330657527","file4":"1330657579","file5":"1330657591","file3":"1330657558"},"map_files_photo_id_array":[{"photo_id":"1330657591","filename":"file5"},{"photo_id":"1330657552","filename":"file2"},{"photo_id":"1330657579","filename":"file4"},{"photo_id":"1330657535","filename":"file1"},{"photo_id":"1330657527","filename":"file0"},{"photo_id":"1330657558","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657535":["hashtag1","hashtag2"]},{"1330657591":["hashtag1","hashtag2"]},{"1330657579":["hashtag1","hashtag2"]},{"1330657558":["hashtag1","hashtag2"]},{"1330657552":["hashtag1","hashtag2"]},{"1330657527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657535, 1330657591, 1330657579, 1330657558, 1330657552, 1330657527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.16123557090759 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:47:22.997197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/47/image_22012025_19_47_47_6800.jpg', '/media/data/images/22012025/19/47/image_22012025_19_47_35_6084.jpg', '/media/data/images/22012025/19/47/image_22012025_19_47_29_6192.jpg', '/media/data/images/22012025/19/46/image_22012025_19_46_59_6886.jpg', '/media/data/images/22012025/19/46/image_22012025_19_46_17_5422.jpg', '/media/data/images/22012025/19/45/image_22012025_19_45_53_6035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/47/image_22012025_19_47_47_6800.jpg
/media/data/images/22012025/19/47/image_22012025_19_47_35_6084.jpg
/media/data/images/22012025/19/47/image_22012025_19_47_29_6192.jpg
/media/data/images/22012025/19/46/image_22012025_19_46_59_6886.jpg
/media/data/images/22012025/19/46/image_22012025_19_46_17_5422.jpg
/media/data/images/22012025/19/45/image_22012025_19_45_53_6035.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657628","1330657619","1330657615","1330657609","1330657624","1330657632"],"photo_ids_order":["1330657609","1330657615","1330657619","1330657624","1330657628","1330657632"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65b017d591b35da4994badc4a5a4769d.jpg","text":"TemporaryFile(/tmp/multipartBody6075517232525894212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_46_17_5422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b5b26ad9611c4a8f70b188d8e562e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6219255593244131912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_47_29_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/22/25240bc8668e23ba410c9ad3bb31eccf.jpg","text":"TemporaryFile(/tmp/multipartBody3228568612346957072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_47_35_6084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4a7c9b6e0d608df05ffd4b61a07c107.jpg","text":"TemporaryFile(/tmp/multipartBody6463541348677829032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_47_47_6800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cff632882af7e43beb83449084577bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1058441032351305445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_46_59_6886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d1828b648b43e0805beffdcc8d22228.jpg","text":"TemporaryFile(/tmp/multipartBody7606267783262039571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571719249,"filename":"image_22012025_19_45_53_6035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657619","file1":"1330657615","file0":"1330657609","file4":"1330657628","file5":"1330657632","file3":"1330657624"},"map_files_photo_id_array":[{"photo_id":"1330657632","filename":"file5"},{"photo_id":"1330657619","filename":"file2"},{"photo_id":"1330657628","filename":"file4"},{"photo_id":"1330657615","filename":"file1"},{"photo_id":"1330657609","filename":"file0"},{"photo_id":"1330657624","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657628":["hashtag1","hashtag2"]},{"1330657619":["hashtag1","hashtag2"]},{"1330657615":["hashtag1","hashtag2"]},{"1330657609":["hashtag1","hashtag2"]},{"1330657624":["hashtag1","hashtag2"]},{"1330657632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657628, 1330657619, 1330657615, 1330657609, 1330657624, 1330657632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.75528931617737 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:48:21.993866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/48/image_22012025_19_48_54_6632.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_47_5498.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_41_5610.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_36_7135.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_24_6928.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_17_5027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/48/image_22012025_19_48_54_6632.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_47_5498.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_41_5610.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_36_7135.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_24_6928.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_17_5027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657663","1330657654","1330657659","1330657650","1330657644","1330657647"],"photo_ids_order":["1330657644","1330657647","1330657650","1330657654","1330657659","1330657663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/884be042073639266ebedf64e10893c7.jpg","text":"TemporaryFile(/tmp/multipartBody719606837136187367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_17_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/22/62e28bf25a2f9a12509c0934ed049b67.jpg","text":"TemporaryFile(/tmp/multipartBody358570076328555287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_36_7135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9240cc9dd883b6d61e741f2926e73354.jpg","text":"TemporaryFile(/tmp/multipartBody4711285235896145030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_24_6928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d9b08b497f083d30016ac0a317685880.jpg","text":"TemporaryFile(/tmp/multipartBody8849326879728426166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_41_5610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11a0420fe9742c2369d15855c401f710.jpg","text":"TemporaryFile(/tmp/multipartBody8474929440432409518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_54_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/22/88e60a3ea295e7c714052a17d032c94e.jpg","text":"TemporaryFile(/tmp/multipartBody1818727276172444073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571785752,"filename":"image_22012025_19_48_47_5498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657650","file1":"1330657647","file0":"1330657644","file4":"1330657659","file5":"1330657663","file3":"1330657654"},"map_files_photo_id_array":[{"photo_id":"1330657663","filename":"file5"},{"photo_id":"1330657650","filename":"file2"},{"photo_id":"1330657659","filename":"file4"},{"photo_id":"1330657647","filename":"file1"},{"photo_id":"1330657644","filename":"file0"},{"photo_id":"1330657654","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657663":["hashtag1","hashtag2"]},{"1330657654":["hashtag1","hashtag2"]},{"1330657659":["hashtag1","hashtag2"]},{"1330657650":["hashtag1","hashtag2"]},{"1330657644":["hashtag1","hashtag2"]},{"1330657647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657663, 1330657654, 1330657659, 1330657650, 1330657644, 1330657647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84478545188904 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:49:22.242358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/49/image_22012025_19_49_53_6528.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_47_4768.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_42_6322.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_36_6966.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_29_5289.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_23_6663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/49/image_22012025_19_49_53_6528.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_47_4768.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_42_6322.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_36_6966.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_29_5289.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_23_6663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657693","1330657696","1330657690","1330657687","1330657683","1330657685"],"photo_ids_order":["1330657683","1330657685","1330657687","1330657690","1330657693","1330657696"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/004ea4a16e120873f37827e929e00ba9.jpg","text":"TemporaryFile(/tmp/multipartBody7971956638117571176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_29_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/22/d18e2643d776ac966c2147c51dd9d533.jpg","text":"TemporaryFile(/tmp/multipartBody5505885866022963875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_23_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/22/efb48f5c37863d272bdc2c78bacb916e.jpg","text":"TemporaryFile(/tmp/multipartBody4427543185394245978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_36_6966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/64f57ba45ac143d489f4bdb5a8c96fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6748410467616547955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_42_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/22/082963ee7b0d968a46735c95080d8d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6072240221396142926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_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/22/4972f38aba81e2bcf2663dd734e80da6.jpg","text":"TemporaryFile(/tmp/multipartBody446896083481700201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571835278,"filename":"image_22012025_19_49_47_4768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657687","file1":"1330657685","file0":"1330657683","file4":"1330657693","file5":"1330657696","file3":"1330657690"},"map_files_photo_id_array":[{"photo_id":"1330657696","filename":"file5"},{"photo_id":"1330657687","filename":"file2"},{"photo_id":"1330657693","filename":"file4"},{"photo_id":"1330657685","filename":"file1"},{"photo_id":"1330657683","filename":"file0"},{"photo_id":"1330657690","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657693":["hashtag1","hashtag2"]},{"1330657696":["hashtag1","hashtag2"]},{"1330657690":["hashtag1","hashtag2"]},{"1330657687":["hashtag1","hashtag2"]},{"1330657683":["hashtag1","hashtag2"]},{"1330657685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657693, 1330657696, 1330657690, 1330657687, 1330657683, 1330657685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.41844820976257 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:50:22.426401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/50/image_22012025_19_50_53_6527.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_47_5231.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_41_6888.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_35_5927.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_28_5143.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_23_6679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/50/image_22012025_19_50_53_6527.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_47_5231.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_41_6888.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_35_5927.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_28_5143.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_23_6679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.971199989318848 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:50:42.395690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/50/image_22012025_19_50_53_6527.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_47_5231.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_41_6888.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_35_5927.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_28_5143.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_23_6679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/50/image_22012025_19_50_53_6527.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_47_5231.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_41_6888.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_35_5927.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_28_5143.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_23_6679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657730","1330657783","1330657786","1330657738","1330657746","1330657734"],"photo_ids_order":["1330657730","1330657734","1330657738","1330657746","1330657783","1330657786"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/00dc6eabe68635bd19904c856d005e53.jpg","text":"TemporaryFile(/tmp/multipartBody8553041020759559874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_53_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/22/9d4d8209d4e0b6cc67ca003f6964366a.jpg","text":"TemporaryFile(/tmp/multipartBody5396718237986711771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_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/22/e69caff5d089edb6451586e135af1372.jpg","text":"TemporaryFile(/tmp/multipartBody2523758213132452634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_23_6679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8f89b73ce74086e97454707dd3f3161e.jpg","text":"TemporaryFile(/tmp/multipartBody6543487352562675812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_41_6888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c5f8972230bb57fafaee0da5247a36f7.jpg","text":"TemporaryFile(/tmp/multipartBody3320879750964154820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_35_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6054209e8336b79fd34bfa350e662379.jpg","text":"TemporaryFile(/tmp/multipartBody1586699301464142669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571924139,"filename":"image_22012025_19_50_47_5231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657738","file1":"1330657734","file0":"1330657730","file4":"1330657783","file5":"1330657786","file3":"1330657746"},"map_files_photo_id_array":[{"photo_id":"1330657786","filename":"file5"},{"photo_id":"1330657738","filename":"file2"},{"photo_id":"1330657783","filename":"file4"},{"photo_id":"1330657734","filename":"file1"},{"photo_id":"1330657730","filename":"file0"},{"photo_id":"1330657746","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657730":["hashtag1","hashtag2"]},{"1330657783":["hashtag1","hashtag2"]},{"1330657786":["hashtag1","hashtag2"]},{"1330657738":["hashtag1","hashtag2"]},{"1330657746":["hashtag1","hashtag2"]},{"1330657734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657730, 1330657783, 1330657786, 1330657738, 1330657746, 1330657734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41770267486572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:51:42.654042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/51/image_22012025_19_51_53_5914.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_48_6678.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_41_6020.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_35_5995.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_29_5513.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_23_6651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/51/image_22012025_19_51_53_5914.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_48_6678.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_41_6020.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_35_5995.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_29_5513.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_23_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":["1330657819","1330657807","1330657816","1330657821","1330657803","1330657800"],"photo_ids_order":["1330657800","1330657803","1330657807","1330657816","1330657819","1330657821"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/332ef14a99bd925fa8716dfa17d56a4e.jpg","text":"TemporaryFile(/tmp/multipartBody8988931740565572426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_29_5513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dab0c3415cf22812db24d50b378f52bf.jpg","text":"TemporaryFile(/tmp/multipartBody6067978325959601434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_41_6020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e59e7acf1bef5bcfa160d07ef530c35.jpg","text":"TemporaryFile(/tmp/multipartBody1830148408099575591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_35_5995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/51d814726c7f47139c595a9683b0ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody4647292746334924861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_23_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/22/a249576b3a9bd8644cbd1ce511e566b7.jpg","text":"TemporaryFile(/tmp/multipartBody7054568273555733920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_48_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/22/8e2a9e4924598e131cd1e689ac19a98d.jpg","text":"TemporaryFile(/tmp/multipartBody540679299977505002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737571980184,"filename":"image_22012025_19_51_53_5914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657807","file1":"1330657803","file0":"1330657800","file4":"1330657819","file5":"1330657821","file3":"1330657816"},"map_files_photo_id_array":[{"photo_id":"1330657821","filename":"file5"},{"photo_id":"1330657807","filename":"file2"},{"photo_id":"1330657819","filename":"file4"},{"photo_id":"1330657803","filename":"file1"},{"photo_id":"1330657800","filename":"file0"},{"photo_id":"1330657816","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657819":["hashtag1","hashtag2"]},{"1330657807":["hashtag1","hashtag2"]},{"1330657816":["hashtag1","hashtag2"]},{"1330657821":["hashtag1","hashtag2"]},{"1330657803":["hashtag1","hashtag2"]},{"1330657800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657819, 1330657807, 1330657816, 1330657821, 1330657803, 1330657800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.636216163635254 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:52:42.880248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/52/image_22012025_19_52_54_6477.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_47_5675.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_41_6536.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_35_5260.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_29_6499.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_23_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/52/image_22012025_19_52_54_6477.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_47_5675.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_41_6536.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_35_5260.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_29_6499.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_23_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":["1330657892","1330657912","1330657896","1330657900","1330657905","1330657877"],"photo_ids_order":["1330657877","1330657892","1330657896","1330657900","1330657905","1330657912"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18ca2026df8062bf22c5e98580c62f47.jpg","text":"TemporaryFile(/tmp/multipartBody6540671453485840575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_47_5675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/16c54f767f37ab158884ac5fd52759e1.jpg","text":"TemporaryFile(/tmp/multipartBody6362486049084016804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_23_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/22/d811ec71803e2366f53c829cb73a89ad.jpg","text":"TemporaryFile(/tmp/multipartBody9103567442789530659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_41_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/22/bfba06a31867281ec1b9488d535df10a.jpg","text":"TemporaryFile(/tmp/multipartBody66517200073159157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_35_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/22/1339dcdfc8241d1a694830f6418c9bda.jpg","text":"TemporaryFile(/tmp/multipartBody7866582912758933268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_29_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/22/1097940f56f7ce7c5c3934290f528f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1221765582484500795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572035363,"filename":"image_22012025_19_52_54_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657896","file1":"1330657892","file0":"1330657877","file4":"1330657905","file5":"1330657912","file3":"1330657900"},"map_files_photo_id_array":[{"photo_id":"1330657912","filename":"file5"},{"photo_id":"1330657896","filename":"file2"},{"photo_id":"1330657905","filename":"file4"},{"photo_id":"1330657892","filename":"file1"},{"photo_id":"1330657877","filename":"file0"},{"photo_id":"1330657900","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657892":["hashtag1","hashtag2"]},{"1330657912":["hashtag1","hashtag2"]},{"1330657896":["hashtag1","hashtag2"]},{"1330657900":["hashtag1","hashtag2"]},{"1330657905":["hashtag1","hashtag2"]},{"1330657877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657892, 1330657912, 1330657896, 1330657900, 1330657905, 1330657877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.791314125061035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:53:41.946254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/53/image_22012025_19_53_54_5990.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_48_7003.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_41_5250.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_35_6484.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_29_5309.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_23_6514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/53/image_22012025_19_53_54_5990.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_48_7003.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_41_5250.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_35_6484.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_29_5309.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_23_6514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330657955","1330657940","1330657937","1330657957","1330657959","1330657935"],"photo_ids_order":["1330657935","1330657937","1330657940","1330657955","1330657957","1330657959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6f12b0059264fb8776c6cb94ca7cd0c.jpg","text":"TemporaryFile(/tmp/multipartBody1434792910210432136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_35_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/22/5a8d2010ade5447656d67e695482d32b.jpg","text":"TemporaryFile(/tmp/multipartBody7338249839031134541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_41_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/22/3dca1aa169ce7346f0873fe0b0ba28b1.jpg","text":"TemporaryFile(/tmp/multipartBody6260092637898860042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_48_7003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/253303d492756b3e4f5de7389e01302c.jpg","text":"TemporaryFile(/tmp/multipartBody5695393902030910878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_29_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/22/22bd458234bcd7be89f9132c61e77aec.jpg","text":"TemporaryFile(/tmp/multipartBody6944751285930041715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_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/22/9543a1ab5250a930d3946822f89ff060.jpg","text":"TemporaryFile(/tmp/multipartBody8949754681855212323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572095997,"filename":"image_22012025_19_53_54_5990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330657940","file1":"1330657937","file0":"1330657935","file4":"1330657957","file5":"1330657959","file3":"1330657955"},"map_files_photo_id_array":[{"photo_id":"1330657959","filename":"file5"},{"photo_id":"1330657940","filename":"file2"},{"photo_id":"1330657957","filename":"file4"},{"photo_id":"1330657937","filename":"file1"},{"photo_id":"1330657935","filename":"file0"},{"photo_id":"1330657955","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330657955":["hashtag1","hashtag2"]},{"1330657940":["hashtag1","hashtag2"]},{"1330657937":["hashtag1","hashtag2"]},{"1330657957":["hashtag1","hashtag2"]},{"1330657959":["hashtag1","hashtag2"]},{"1330657935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330657955, 1330657940, 1330657937, 1330657957, 1330657959, 1330657935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.48053336143494 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:54:42.213236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/54/image_22012025_19_54_53_6330.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_46_5900.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_40_5261.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_35_6496.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_29_5247.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_23_6490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/54/image_22012025_19_54_53_6330.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_46_5900.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_40_5261.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_35_6496.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_29_5247.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_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":["1330658027","1330658095","1330658017","1330658032","1330658099","1330658045"],"photo_ids_order":["1330658017","1330658027","1330658032","1330658045","1330658095","1330658099"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ec554ede17c71b4d73a8b3c4cf54abc3.jpg","text":"TemporaryFile(/tmp/multipartBody9090724612719661748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_46_5900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/77bdce5e5bda3d7663b9c9665dd7350e.jpg","text":"TemporaryFile(/tmp/multipartBody6843068406678896436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_29_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/22/fad063d66782b0e042d0146c8d07e22b.jpg","text":"TemporaryFile(/tmp/multipartBody2456719837994705788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_53_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/22/692b266595564a3a39c85b7495d0ae5a.jpg","text":"TemporaryFile(/tmp/multipartBody699225599336540825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_40_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0a9aaeac962dfa42806f39817f8899b.jpg","text":"TemporaryFile(/tmp/multipartBody5678960230613578333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_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/22/ed82a5125c46045faddace624cf491c4.jpg","text":"TemporaryFile(/tmp/multipartBody8060801868782414160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572163281,"filename":"image_22012025_19_54_35_6496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658032","file1":"1330658027","file0":"1330658017","file4":"1330658095","file5":"1330658099","file3":"1330658045"},"map_files_photo_id_array":[{"photo_id":"1330658099","filename":"file5"},{"photo_id":"1330658032","filename":"file2"},{"photo_id":"1330658095","filename":"file4"},{"photo_id":"1330658027","filename":"file1"},{"photo_id":"1330658017","filename":"file0"},{"photo_id":"1330658045","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658027":["hashtag1","hashtag2"]},{"1330658095":["hashtag1","hashtag2"]},{"1330658017":["hashtag1","hashtag2"]},{"1330658032":["hashtag1","hashtag2"]},{"1330658099":["hashtag1","hashtag2"]},{"1330658045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658027, 1330658095, 1330658017, 1330658032, 1330658099, 1330658045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20657539367676 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:55:42.324835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/55/image_22012025_19_55_54_6542.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_47_6016.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_41_5334.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_35_6596.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_29_6473.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_22_5225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/55/image_22012025_19_55_54_6542.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_47_6016.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_41_5334.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_35_6596.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_29_6473.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_22_5225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658132","1330658126","1330658128","1330658125","1330658130","1330658124"],"photo_ids_order":["1330658124","1330658125","1330658126","1330658128","1330658130","1330658132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b724ea9cf8ed364240b77f97cf8ad9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1860892908742458464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_22_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/22/ceffb6ec3ee5c67915192e5659d19c75.jpg","text":"TemporaryFile(/tmp/multipartBody6939754872691595510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_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/22/d0b6e2b78beca7c718ebf72668d1d95c.jpg","text":"TemporaryFile(/tmp/multipartBody6659083685877129405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_35_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/22/ee34af38e0f2566262526c437fe1a940.jpg","text":"TemporaryFile(/tmp/multipartBody3755053935343948841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_47_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/22/021c1db4504a7e8313fb8a977b44558a.jpg","text":"TemporaryFile(/tmp/multipartBody5856401474267014492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_29_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/22/7dac3d40abba0c3c243705549eb774b0.jpg","text":"TemporaryFile(/tmp/multipartBody5571455658743776925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572226708,"filename":"image_22012025_19_55_54_6542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658126","file1":"1330658125","file0":"1330658124","file4":"1330658130","file5":"1330658132","file3":"1330658128"},"map_files_photo_id_array":[{"photo_id":"1330658132","filename":"file5"},{"photo_id":"1330658126","filename":"file2"},{"photo_id":"1330658130","filename":"file4"},{"photo_id":"1330658125","filename":"file1"},{"photo_id":"1330658124","filename":"file0"},{"photo_id":"1330658128","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658132":["hashtag1","hashtag2"]},{"1330658126":["hashtag1","hashtag2"]},{"1330658128":["hashtag1","hashtag2"]},{"1330658125":["hashtag1","hashtag2"]},{"1330658130":["hashtag1","hashtag2"]},{"1330658124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658132, 1330658126, 1330658128, 1330658125, 1330658130, 1330658124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.43595552444458 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:56:42.560595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/56/image_22012025_19_56_53_5439.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_47_6676.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_41_5313.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_35_6531.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_29_6515.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_22_5291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/56/image_22012025_19_56_53_5439.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_47_6676.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_41_5313.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_35_6531.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_29_6515.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_22_5291.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658204","1330658207","1330658216","1330658201","1330658226","1330658198"],"photo_ids_order":["1330658198","1330658201","1330658204","1330658207","1330658216","1330658226"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f7dc6a392e9d261145b90d5389c16084.jpg","text":"TemporaryFile(/tmp/multipartBody8177611817952386481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_41_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/22/6500db2edce0f37b84d0c3049a872dce.jpg","text":"TemporaryFile(/tmp/multipartBody9183666455960315635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_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/22/2df4b447d71e8d1dbfdedda3ed60897f.jpg","text":"TemporaryFile(/tmp/multipartBody5924917721476770097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_29_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/22/09ace7855372615f31623753c13aee7b.jpg","text":"TemporaryFile(/tmp/multipartBody7299969494940646006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_47_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/22/c1c9e4ea1b3b6889f23c42261362f795.jpg","text":"TemporaryFile(/tmp/multipartBody1964395461225969849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_22_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/22/d2d49ca49a29e7b8f2e110c27dc8227f.jpg","text":"TemporaryFile(/tmp/multipartBody9134157530724849821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572282879,"filename":"image_22012025_19_56_53_5439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658204","file1":"1330658201","file0":"1330658198","file4":"1330658216","file5":"1330658226","file3":"1330658207"},"map_files_photo_id_array":[{"photo_id":"1330658226","filename":"file5"},{"photo_id":"1330658204","filename":"file2"},{"photo_id":"1330658216","filename":"file4"},{"photo_id":"1330658201","filename":"file1"},{"photo_id":"1330658198","filename":"file0"},{"photo_id":"1330658207","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658204":["hashtag1","hashtag2"]},{"1330658207":["hashtag1","hashtag2"]},{"1330658216":["hashtag1","hashtag2"]},{"1330658201":["hashtag1","hashtag2"]},{"1330658226":["hashtag1","hashtag2"]},{"1330658198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658204, 1330658207, 1330658216, 1330658201, 1330658226, 1330658198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24352431297302 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 19:57:42.722741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/57/image_22012025_19_57_54_6599.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_47_5662.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_41_6504.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_34_5268.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_29_6467.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_23_5233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/57/image_22012025_19_57_54_6599.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_47_5662.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_41_6504.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_34_5268.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_29_6467.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_23_5233.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-22 19:59:04.820986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/58/image_22012025_19_58_53_6194.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_46_5541.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_41_6503.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_34_5296.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_29_6539.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_22_5272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/58/image_22012025_19_58_53_6194.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_46_5541.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_41_6503.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_34_5296.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_29_6539.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_22_5272.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658545","1330658535","1330658523","1330658465","1330658540","1330658528"],"photo_ids_order":["1330658465","1330658523","1330658528","1330658535","1330658540","1330658545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e79951abb8ec7fd45faeb7c932b4736.jpg","text":"TemporaryFile(/tmp/multipartBody2408565308943624777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_22_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/22/cd0eb199ec2a6de1cba89fb2252d7385.jpg","text":"TemporaryFile(/tmp/multipartBody1629909184846170791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_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/22/8805550b40a0fbfefb0c155f327ac280.jpg","text":"TemporaryFile(/tmp/multipartBody3636917492595637918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_46_5541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ccececba9478a5555f101947244c93c5.jpg","text":"TemporaryFile(/tmp/multipartBody2517246719131429024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_53_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/22/51c5388481c5ebb66e03df80ea75bed6.jpg","text":"TemporaryFile(/tmp/multipartBody3599839202876866875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_29_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/22/8c9da15dbaecbd05b4cabd4cd16bfdfa.jpg","text":"TemporaryFile(/tmp/multipartBody948830431267380340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572411654,"filename":"image_22012025_19_58_41_6503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658528","file1":"1330658523","file0":"1330658465","file4":"1330658540","file5":"1330658545","file3":"1330658535"},"map_files_photo_id_array":[{"photo_id":"1330658545","filename":"file5"},{"photo_id":"1330658528","filename":"file2"},{"photo_id":"1330658540","filename":"file4"},{"photo_id":"1330658523","filename":"file1"},{"photo_id":"1330658465","filename":"file0"},{"photo_id":"1330658535","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658545":["hashtag1","hashtag2"]},{"1330658535":["hashtag1","hashtag2"]},{"1330658523":["hashtag1","hashtag2"]},{"1330658465":["hashtag1","hashtag2"]},{"1330658540":["hashtag1","hashtag2"]},{"1330658528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658545, 1330658535, 1330658523, 1330658465, 1330658540, 1330658528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47439765930176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:00:03.037349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/59/image_22012025_19_59_54_6330.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_47_6490.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_41_5247.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_35_6470.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_29_6548.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_22_5259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/59/image_22012025_19_59_54_6330.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_47_6490.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_41_5247.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_35_6470.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_29_6548.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_22_5259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658720","1330658702","1330658566","1330658562","1330658658","1330658711"],"photo_ids_order":["1330658562","1330658566","1330658658","1330658702","1330658711","1330658720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b85049e9af9d3dbc10691aacec9f960.jpg","text":"TemporaryFile(/tmp/multipartBody7893327456136020209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_22_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/22/6e37d9345982526a4fa21ce8e9ab619d.jpg","text":"TemporaryFile(/tmp/multipartBody168989122823250879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_35_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/22/6afcb834620d5f80b2a952fb06e73838.jpg","text":"TemporaryFile(/tmp/multipartBody5725464406621241665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_47_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/22/cb7da117a201aaf5cc6c358d4d8fea1f.jpg","text":"TemporaryFile(/tmp/multipartBody4462650185023243456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_54_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/22/1d7933fa5055ed2ceb7cc2180c16888b.jpg","text":"TemporaryFile(/tmp/multipartBody595724922113213953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_41_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/22/9cfd2a3c467ec10a9603aa480b658408.jpg","text":"TemporaryFile(/tmp/multipartBody8715444213446078946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572472300,"filename":"image_22012025_19_59_29_6548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658658","file1":"1330658566","file0":"1330658562","file4":"1330658711","file5":"1330658720","file3":"1330658702"},"map_files_photo_id_array":[{"photo_id":"1330658720","filename":"file5"},{"photo_id":"1330658658","filename":"file2"},{"photo_id":"1330658711","filename":"file4"},{"photo_id":"1330658566","filename":"file1"},{"photo_id":"1330658562","filename":"file0"},{"photo_id":"1330658702","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658720":["hashtag1","hashtag2"]},{"1330658702":["hashtag1","hashtag2"]},{"1330658566":["hashtag1","hashtag2"]},{"1330658562":["hashtag1","hashtag2"]},{"1330658658":["hashtag1","hashtag2"]},{"1330658711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658720, 1330658702, 1330658566, 1330658562, 1330658658, 1330658711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.36767101287842 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:01:04.112493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/00/image_22012025_20_00_52_5261.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_47_6479.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_41_5218.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_35_6460.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_29_6389.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_22_5881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/00/image_22012025_20_00_52_5261.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_47_6479.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_41_5218.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_35_6460.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_29_6389.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_22_5881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658813","1330658822","1330658818","1330658809","1330658802","1330658805"],"photo_ids_order":["1330658802","1330658805","1330658809","1330658813","1330658818","1330658822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ec3b4471cf2468a5d397ee8a1937251.jpg","text":"TemporaryFile(/tmp/multipartBody3525132498777623185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_35_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/22/c75592b1a40ace81384c90745d564a82.jpg","text":"TemporaryFile(/tmp/multipartBody8275200693273165077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_22_5881.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2fdaea9fcb2af6ec0b15a1b49116674.jpg","text":"TemporaryFile(/tmp/multipartBody9126833137091570735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_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/22/905e1d2a09f51ffb8ce9899f8f4089f4.jpg","text":"TemporaryFile(/tmp/multipartBody8663044156826101080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_41_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/22/39e52ff227f0f2661c9c49068454159e.jpg","text":"TemporaryFile(/tmp/multipartBody4159065324366895241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_52_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26d08a331938c393081558d23be0208a.jpg","text":"TemporaryFile(/tmp/multipartBody8664239430225910889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572535238,"filename":"image_22012025_20_00_47_6479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658809","file1":"1330658805","file0":"1330658802","file4":"1330658818","file5":"1330658822","file3":"1330658813"},"map_files_photo_id_array":[{"photo_id":"1330658822","filename":"file5"},{"photo_id":"1330658809","filename":"file2"},{"photo_id":"1330658818","filename":"file4"},{"photo_id":"1330658805","filename":"file1"},{"photo_id":"1330658802","filename":"file0"},{"photo_id":"1330658813","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658813":["hashtag1","hashtag2"]},{"1330658822":["hashtag1","hashtag2"]},{"1330658818":["hashtag1","hashtag2"]},{"1330658809":["hashtag1","hashtag2"]},{"1330658802":["hashtag1","hashtag2"]},{"1330658805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658813, 1330658822, 1330658818, 1330658809, 1330658802, 1330658805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.319336891174316 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:02:03.613721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/01/image_22012025_20_01_53_5330.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_47_6502.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_41_6522.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_34_5283.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_29_6551.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_23_5272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/01/image_22012025_20_01_53_5330.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_47_6502.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_41_6522.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_34_5283.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_29_6551.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_23_5272.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330658896","1330658899","1330658890","1330658902","1330658908","1330658913"],"photo_ids_order":["1330658890","1330658896","1330658899","1330658902","1330658908","1330658913"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d792569907ecd093fd9d7293b3e98354.jpg","text":"TemporaryFile(/tmp/multipartBody9101894010032777037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_47_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/22/ad021bb68cea4be76a513b3982952465.jpg","text":"TemporaryFile(/tmp/multipartBody6084291094875218955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_41_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/22/4c10737b557b2c41b2d5d63ff998467c.jpg","text":"TemporaryFile(/tmp/multipartBody3788705502394219616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_53_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/22/b7c387634f7f1fe9fb8f7b45a2ce0a11.jpg","text":"TemporaryFile(/tmp/multipartBody7323161936287144755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_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/22/e8684c3002ed6be64193be850c30a6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5384292828452516868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_29_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/22/93ad75e22eaeb703cab5b081bdcd0cd5.jpg","text":"TemporaryFile(/tmp/multipartBody5194325193501145520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572593782,"filename":"image_22012025_20_01_23_5272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658899","file1":"1330658896","file0":"1330658890","file4":"1330658908","file5":"1330658913","file3":"1330658902"},"map_files_photo_id_array":[{"photo_id":"1330658913","filename":"file5"},{"photo_id":"1330658899","filename":"file2"},{"photo_id":"1330658908","filename":"file4"},{"photo_id":"1330658896","filename":"file1"},{"photo_id":"1330658890","filename":"file0"},{"photo_id":"1330658902","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658896":["hashtag1","hashtag2"]},{"1330658899":["hashtag1","hashtag2"]},{"1330658890":["hashtag1","hashtag2"]},{"1330658902":["hashtag1","hashtag2"]},{"1330658908":["hashtag1","hashtag2"]},{"1330658913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658896, 1330658899, 1330658890, 1330658902, 1330658908, 1330658913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.466572999954224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:03:04.808103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/02/image_22012025_20_02_53_6525.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_46_5254.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_41_6548.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_35_5254.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_29_6509.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_23_5283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/02/image_22012025_20_02_53_6525.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_46_5254.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_41_6548.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_35_5254.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_29_6509.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_23_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":["1330658950","1330659043","1330658947","1330658944","1330658999","1330658954"],"photo_ids_order":["1330658944","1330658947","1330658950","1330658954","1330658999","1330659043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a5e9bd1cbd00ce07b53e4b4af4991aa.jpg","text":"TemporaryFile(/tmp/multipartBody5029835818728497943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_41_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/22/84f8e4bb93ef2c22dc91086551973758.jpg","text":"TemporaryFile(/tmp/multipartBody8521372362535083718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_23_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/22/23befc5553d7420d3eb086f754d26ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7455035061452991954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_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/22/c8059021d11b0e88d8f558cd98e7db70.jpg","text":"TemporaryFile(/tmp/multipartBody2416831581946625348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_53_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/22/d3f56d2c5ac5d3e351cc143761dfd6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1412087570504749732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_29_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/22/73c7f785fc05c0bead6a75d27c945927.jpg","text":"TemporaryFile(/tmp/multipartBody1774568594879751855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572657332,"filename":"image_22012025_20_02_35_5254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330658950","file1":"1330658947","file0":"1330658944","file4":"1330658999","file5":"1330659043","file3":"1330658954"},"map_files_photo_id_array":[{"photo_id":"1330659043","filename":"file5"},{"photo_id":"1330658950","filename":"file2"},{"photo_id":"1330658999","filename":"file4"},{"photo_id":"1330658947","filename":"file1"},{"photo_id":"1330658944","filename":"file0"},{"photo_id":"1330658954","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330658950":["hashtag1","hashtag2"]},{"1330659043":["hashtag1","hashtag2"]},{"1330658947":["hashtag1","hashtag2"]},{"1330658944":["hashtag1","hashtag2"]},{"1330658999":["hashtag1","hashtag2"]},{"1330658954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330658950, 1330659043, 1330658947, 1330658944, 1330658999, 1330658954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.45612621307373 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 20:04:04.698752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/03/image_22012025_20_03_53_5385.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_47_6537.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_41_6517.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_34_5275.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_29_6540.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_23_5269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/03/image_22012025_20_03_53_5385.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_47_6537.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_41_6517.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_34_5275.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_29_6540.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_23_5269.jpg
2025-01-22 20:04:05.010442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/03/image_22012025_20_03_53_5385.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_47_6537.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_41_6517.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_34_5275.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_29_6540.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_23_5269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/03/image_22012025_20_03_53_5385.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_47_6537.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_41_6517.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_34_5275.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_29_6540.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_23_5269.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: 17.799567461013794 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330659619","1330659387","1330659627","1330659615","1330659092","1330659077"],"photo_ids_order":["1330659077","1330659092","1330659387","1330659615","1330659619","1330659627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b84a0ca245be86c30869e74c85f7f56.jpg","text":"TemporaryFile(/tmp/multipartBody5937282847312343205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_29_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/22/9c0f8c4bd3f8abc35ffc84916eb72e56.jpg","text":"TemporaryFile(/tmp/multipartBody3499377760752379274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_41_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/22/2d30ca3c5afaf4d08bf183251ef8816c.jpg","text":"TemporaryFile(/tmp/multipartBody5608827427415643707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_23_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/22/c3caf760592775065b84691072954da4.jpg","text":"TemporaryFile(/tmp/multipartBody4416552389042075483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_34_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/22/63fb4179b18690a03e0986a77d68554d.jpg","text":"TemporaryFile(/tmp/multipartBody8550429454451054048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_47_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/22/a97779f2bf6440682c3e1d6f56c7b220.jpg","text":"TemporaryFile(/tmp/multipartBody5275537674417823818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572722848,"filename":"image_22012025_20_03_53_5385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330659387","file1":"1330659092","file0":"1330659077","file4":"1330659619","file5":"1330659627","file3":"1330659615"},"map_files_photo_id_array":[{"photo_id":"1330659627","filename":"file5"},{"photo_id":"1330659387","filename":"file2"},{"photo_id":"1330659619","filename":"file4"},{"photo_id":"1330659092","filename":"file1"},{"photo_id":"1330659077","filename":"file0"},{"photo_id":"1330659615","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330659619":["hashtag1","hashtag2"]},{"1330659387":["hashtag1","hashtag2"]},{"1330659627":["hashtag1","hashtag2"]},{"1330659615":["hashtag1","hashtag2"]},{"1330659092":["hashtag1","hashtag2"]},{"1330659077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330659619, 1330659387, 1330659627, 1330659615, 1330659092, 1330659077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25148153305054 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-22 20:05:22.708293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/05/image_22012025_20_05_52_5251.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_47_6506.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_41_5262.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_35_6501.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_29_5260.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_24_7070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/05/image_22012025_20_05_52_5251.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_47_6506.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_41_5262.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_35_6501.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_29_5260.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_24_7070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330659826","1330659829","1330659823","1330659819","1330659816","1330659833"],"photo_ids_order":["1330659816","1330659819","1330659823","1330659826","1330659829","1330659833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/79fe9263535033fbdbd42648f4268c23.jpg","text":"TemporaryFile(/tmp/multipartBody8926288826488763563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_35_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/22/5142d068333dee0d05a24a0794f768fc.jpg","text":"TemporaryFile(/tmp/multipartBody207211557260741369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_29_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/22/6443593383c046fd961383cb8bd6e39c.jpg","text":"TemporaryFile(/tmp/multipartBody790791056801652373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_41_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/22/197a0178d0ecebaa127899a64bb32bd7.jpg","text":"TemporaryFile(/tmp/multipartBody772329431872734339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_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/22/b99939fb4914a4d4a3a638b032d48752.jpg","text":"TemporaryFile(/tmp/multipartBody1794584798410382534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_52_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/22/221e2b471a866db3d5fc5f9f34646a98.jpg","text":"TemporaryFile(/tmp/multipartBody4182850292915877254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572799623,"filename":"image_22012025_20_05_24_7070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330659823","file1":"1330659819","file0":"1330659816","file4":"1330659829","file5":"1330659833","file3":"1330659826"},"map_files_photo_id_array":[{"photo_id":"1330659833","filename":"file5"},{"photo_id":"1330659823","filename":"file2"},{"photo_id":"1330659829","filename":"file4"},{"photo_id":"1330659819","filename":"file1"},{"photo_id":"1330659816","filename":"file0"},{"photo_id":"1330659826","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330659826":["hashtag1","hashtag2"]},{"1330659829":["hashtag1","hashtag2"]},{"1330659823":["hashtag1","hashtag2"]},{"1330659819":["hashtag1","hashtag2"]},{"1330659816":["hashtag1","hashtag2"]},{"1330659833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330659826, 1330659829, 1330659823, 1330659819, 1330659816, 1330659833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.4398033618927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:06:22.870588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/06/image_22012025_20_06_53_5460.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_47_6701.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_40_5014.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_35_6063.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_29_6587.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_23_5362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/06/image_22012025_20_06_53_5460.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_47_6701.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_40_5014.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_35_6063.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_29_6587.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_23_5362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330659934","1330659957","1330659951","1330659939","1330659944","1330659926"],"photo_ids_order":["1330659926","1330659934","1330659939","1330659944","1330659951","1330659957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/addb28c6f68c9fcff9e0be4e543f5e5e.jpg","text":"TemporaryFile(/tmp/multipartBody100662715656776517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_47_6701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/72558f96d0e27c6de7e071d0da7b9bd4.jpg","text":"TemporaryFile(/tmp/multipartBody5679532067908597719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_23_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/22/79a623b194e24014acd3814ad31bfec8.jpg","text":"TemporaryFile(/tmp/multipartBody7448996717739462128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_29_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/22/8b9de1d6d95c5f8118ab2c22c4c16088.jpg","text":"TemporaryFile(/tmp/multipartBody2829095093037514752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_40_5014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/535be6005071d3300c0eda2b10a75cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8231234271623363927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_35_6063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ae97ecfb0a8bce1ce88619b388a30ba.jpg","text":"TemporaryFile(/tmp/multipartBody278133398830056514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572870020,"filename":"image_22012025_20_06_53_5460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330659939","file1":"1330659934","file0":"1330659926","file4":"1330659951","file5":"1330659957","file3":"1330659944"},"map_files_photo_id_array":[{"photo_id":"1330659957","filename":"file5"},{"photo_id":"1330659939","filename":"file2"},{"photo_id":"1330659951","filename":"file4"},{"photo_id":"1330659934","filename":"file1"},{"photo_id":"1330659926","filename":"file0"},{"photo_id":"1330659944","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330659934":["hashtag1","hashtag2"]},{"1330659957":["hashtag1","hashtag2"]},{"1330659951":["hashtag1","hashtag2"]},{"1330659939":["hashtag1","hashtag2"]},{"1330659944":["hashtag1","hashtag2"]},{"1330659926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330659934, 1330659957, 1330659951, 1330659939, 1330659944, 1330659926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.291815757751465 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:07:42.003954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/07/image_22012025_20_07_53_5719.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_47_6342.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_41_6217.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_35_6380.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_28_5086.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_23_6657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/07/image_22012025_20_07_53_5719.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_47_6342.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_41_6217.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_35_6380.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_28_5086.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_23_6657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660012","1330660018","1330660023","1330660032","1330660014","1330660028"],"photo_ids_order":["1330660012","1330660014","1330660018","1330660023","1330660028","1330660032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7552e07b6de1a0ffb8e26363b45499dd.jpg","text":"TemporaryFile(/tmp/multipartBody1060028763559209100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_53_5719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ffb2f47b32a1e3e529169e18cfccacca.jpg","text":"TemporaryFile(/tmp/multipartBody3174806146918264551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_41_6217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/748b118da3bd5dc3890e2f9cc1c8b739.jpg","text":"TemporaryFile(/tmp/multipartBody5679681534360226390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_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/22/3e3070209b8e80aac249a67ae6974cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6185994023151848873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_23_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5bfceee48eb984becbbf0e83e97d5e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6906303744048082059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_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/22/5d1badc0ef234a208e9fde9e79e8420e.jpg","text":"TemporaryFile(/tmp/multipartBody2335155880910800711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572936136,"filename":"image_22012025_20_07_28_5086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660018","file1":"1330660014","file0":"1330660012","file4":"1330660028","file5":"1330660032","file3":"1330660023"},"map_files_photo_id_array":[{"photo_id":"1330660032","filename":"file5"},{"photo_id":"1330660018","filename":"file2"},{"photo_id":"1330660028","filename":"file4"},{"photo_id":"1330660014","filename":"file1"},{"photo_id":"1330660012","filename":"file0"},{"photo_id":"1330660023","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660012":["hashtag1","hashtag2"]},{"1330660018":["hashtag1","hashtag2"]},{"1330660023":["hashtag1","hashtag2"]},{"1330660032":["hashtag1","hashtag2"]},{"1330660014":["hashtag1","hashtag2"]},{"1330660028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660012, 1330660018, 1330660023, 1330660032, 1330660014, 1330660028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.11961770057678 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:08:42.352845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/08/image_22012025_20_08_53_4825.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_48_7233.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_40_5227.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_35_6490.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_29_5440.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_23_6694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/08/image_22012025_20_08_53_4825.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_48_7233.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_40_5227.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_35_6490.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_29_5440.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_23_6694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660063","1330660072","1330660070","1330660058","1330660061","1330660055"],"photo_ids_order":["1330660055","1330660058","1330660061","1330660063","1330660070","1330660072"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e21f83640e4e03991406d2139575092.jpg","text":"TemporaryFile(/tmp/multipartBody7863740205249682909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_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/22/5323e8d41f8193fea55f6a5824a4c45b.jpg","text":"TemporaryFile(/tmp/multipartBody3460791383985160291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_23_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/22/eb9788102c877ff5e6fa8a8179d4d591.jpg","text":"TemporaryFile(/tmp/multipartBody7103209995047778704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_29_5440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e8d3a97c625b2f48086ce6c46379e51f.jpg","text":"TemporaryFile(/tmp/multipartBody7732334703444878327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_48_7233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b3ec730db8be992fedd63a8719ec20c.jpg","text":"TemporaryFile(/tmp/multipartBody71080249185128110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_40_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/22/3fef599b24f1eab193cf62ef77b1d89c.jpg","text":"TemporaryFile(/tmp/multipartBody8261032331177158579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737572991713,"filename":"image_22012025_20_08_53_4825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660061","file1":"1330660058","file0":"1330660055","file4":"1330660070","file5":"1330660072","file3":"1330660063"},"map_files_photo_id_array":[{"photo_id":"1330660072","filename":"file5"},{"photo_id":"1330660061","filename":"file2"},{"photo_id":"1330660070","filename":"file4"},{"photo_id":"1330660058","filename":"file1"},{"photo_id":"1330660055","filename":"file0"},{"photo_id":"1330660063","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660063":["hashtag1","hashtag2"]},{"1330660072":["hashtag1","hashtag2"]},{"1330660070":["hashtag1","hashtag2"]},{"1330660058":["hashtag1","hashtag2"]},{"1330660061":["hashtag1","hashtag2"]},{"1330660055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660063, 1330660072, 1330660070, 1330660058, 1330660061, 1330660055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38895320892334 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:09:42.381067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/09/image_22012025_20_09_53_5491.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_48_6132.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_42_6509.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_35_6574.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_28_5295.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_23_6471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/09/image_22012025_20_09_53_5491.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_48_6132.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_42_6509.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_35_6574.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_28_5295.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_23_6471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660290","1330660262","1330660286","1330660265","1330660259","1330660268"],"photo_ids_order":["1330660259","1330660262","1330660265","1330660268","1330660286","1330660290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/451c0ddd2d35d1650361e7f04db7254e.jpg","text":"TemporaryFile(/tmp/multipartBody8305467829665791450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_23_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/22/b1f08a7a08848e29ca4e38fa97a3f274.jpg","text":"TemporaryFile(/tmp/multipartBody516724565176212930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_48_6132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c6ef81901a2a69f2824ee917f6ed41f.jpg","text":"TemporaryFile(/tmp/multipartBody7076671618965267294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_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/22/6353c49ae1f6245db50b5ac0b0caf223.jpg","text":"TemporaryFile(/tmp/multipartBody82303322601995558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_42_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/22/129cb63b97c80e248eb4cce15353dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody19775399188223356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_53_5491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c0f79fddc26a55017550678d0a3bf641.jpg","text":"TemporaryFile(/tmp/multipartBody974514031187348767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573060242,"filename":"image_22012025_20_09_35_6574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660265","file1":"1330660262","file0":"1330660259","file4":"1330660286","file5":"1330660290","file3":"1330660268"},"map_files_photo_id_array":[{"photo_id":"1330660290","filename":"file5"},{"photo_id":"1330660265","filename":"file2"},{"photo_id":"1330660286","filename":"file4"},{"photo_id":"1330660262","filename":"file1"},{"photo_id":"1330660259","filename":"file0"},{"photo_id":"1330660268","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660290":["hashtag1","hashtag2"]},{"1330660262":["hashtag1","hashtag2"]},{"1330660286":["hashtag1","hashtag2"]},{"1330660265":["hashtag1","hashtag2"]},{"1330660259":["hashtag1","hashtag2"]},{"1330660268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660290, 1330660262, 1330660286, 1330660265, 1330660259, 1330660268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.09368371963501 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:10:42.544685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/10/image_22012025_20_10_53_6051.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_47_6081.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_41_6425.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_35_5237.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_29_6524.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_23_6489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/10/image_22012025_20_10_53_6051.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_47_6081.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_41_6425.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_35_5237.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_29_6524.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_23_6489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660349","1330660386","1330660353","1330660356","1330660382","1330660376"],"photo_ids_order":["1330660349","1330660353","1330660356","1330660376","1330660382","1330660386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a9431a0afe33008bf65d563f11196306.jpg","text":"TemporaryFile(/tmp/multipartBody8123473606360270650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_53_6051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5acfebf5837096ce37ae11dfa19b0160.jpg","text":"TemporaryFile(/tmp/multipartBody6740885926681771104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_23_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/22/d0655ea87f4788bfdc0aff8a8a1d99da.jpg","text":"TemporaryFile(/tmp/multipartBody8095436634716212816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_47_6081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/104cebc411108d30c839abb97b2f0ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6430793026061330354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_41_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/22/dffdb9e2e3ee8be695727f6d4c52fd25.jpg","text":"TemporaryFile(/tmp/multipartBody4670303443109965833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_29_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/22/eb7f06ba2592372112fd0efb6195e24b.jpg","text":"TemporaryFile(/tmp/multipartBody3300170632257992839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573112271,"filename":"image_22012025_20_10_35_5237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660356","file1":"1330660353","file0":"1330660349","file4":"1330660382","file5":"1330660386","file3":"1330660376"},"map_files_photo_id_array":[{"photo_id":"1330660386","filename":"file5"},{"photo_id":"1330660356","filename":"file2"},{"photo_id":"1330660382","filename":"file4"},{"photo_id":"1330660353","filename":"file1"},{"photo_id":"1330660349","filename":"file0"},{"photo_id":"1330660376","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660349":["hashtag1","hashtag2"]},{"1330660386":["hashtag1","hashtag2"]},{"1330660353":["hashtag1","hashtag2"]},{"1330660356":["hashtag1","hashtag2"]},{"1330660382":["hashtag1","hashtag2"]},{"1330660376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660349, 1330660386, 1330660353, 1330660356, 1330660382, 1330660376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01547288894653 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:11:42.895563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/11/image_22012025_20_11_53_5178.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_48_7030.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_41_5301.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_35_6574.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_29_5324.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_23_6525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/11/image_22012025_20_11_53_5178.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_48_7030.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_41_5301.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_35_6574.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_29_5324.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_23_6525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660532","1330660530","1330660533","1330660541","1330660535","1330660538"],"photo_ids_order":["1330660530","1330660532","1330660533","1330660535","1330660538","1330660541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36ae835c6e8e3747b5dbfd0b381182ff.jpg","text":"TemporaryFile(/tmp/multipartBody4826197363290467054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_48_7030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/190e0d26ac3558af53b984e2bad663aa.jpg","text":"TemporaryFile(/tmp/multipartBody9038783839025746781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_53_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/22/56584034852095d83c919d69b7b92882.jpg","text":"TemporaryFile(/tmp/multipartBody78851128974244715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_41_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/22/e212507c843b1a071de4525c50ec5e03.jpg","text":"TemporaryFile(/tmp/multipartBody4311551642645988108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_23_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/22/9f0c48a34def1309ff16135288c37864.jpg","text":"TemporaryFile(/tmp/multipartBody3882262214677740489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_35_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/22/1ec129289ac46bdf7390238ec8fc52a9.jpg","text":"TemporaryFile(/tmp/multipartBody2991041605320851897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573206203,"filename":"image_22012025_20_11_29_5324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660533","file1":"1330660532","file0":"1330660530","file4":"1330660538","file5":"1330660541","file3":"1330660535"},"map_files_photo_id_array":[{"photo_id":"1330660541","filename":"file5"},{"photo_id":"1330660533","filename":"file2"},{"photo_id":"1330660538","filename":"file4"},{"photo_id":"1330660532","filename":"file1"},{"photo_id":"1330660530","filename":"file0"},{"photo_id":"1330660535","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660532":["hashtag1","hashtag2"]},{"1330660530":["hashtag1","hashtag2"]},{"1330660533":["hashtag1","hashtag2"]},{"1330660541":["hashtag1","hashtag2"]},{"1330660535":["hashtag1","hashtag2"]},{"1330660538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660532, 1330660530, 1330660533, 1330660541, 1330660535, 1330660538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.96785855293274 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:13:04.401763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/12/image_22012025_20_12_53_6548.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_47_5476.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_41_6524.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_35_6477.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_28_5235.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_23_6484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/12/image_22012025_20_12_53_6548.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_47_5476.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_41_6524.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_35_6477.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_28_5235.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_23_6484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660582","1330660579","1330660575","1330660569","1330660599","1330660572"],"photo_ids_order":["1330660569","1330660572","1330660575","1330660579","1330660582","1330660599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eeef4212346ad6506f5689ec23550764.jpg","text":"TemporaryFile(/tmp/multipartBody6645550025664738396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_28_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/22/8ded933609091ccfc2fa9a98c562fb86.jpg","text":"TemporaryFile(/tmp/multipartBody8115091088946974722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_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/22/1c604246ed3f217a6afdaf8bf01c9bff.jpg","text":"TemporaryFile(/tmp/multipartBody2747079192798068254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_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/22/380e376dfb0533ca3892bce0c527a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1989975252807899573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_53_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/22/6e4cc901f94b846ffe3275d6120860eb.jpg","text":"TemporaryFile(/tmp/multipartBody2451898505665558158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_23_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/22/6b0864548e2a6a2e5d1cfc0b2f549090.jpg","text":"TemporaryFile(/tmp/multipartBody8039451508298466909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573255583,"filename":"image_22012025_20_12_47_5476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660575","file1":"1330660572","file0":"1330660569","file4":"1330660582","file5":"1330660599","file3":"1330660579"},"map_files_photo_id_array":[{"photo_id":"1330660599","filename":"file5"},{"photo_id":"1330660575","filename":"file2"},{"photo_id":"1330660582","filename":"file4"},{"photo_id":"1330660572","filename":"file1"},{"photo_id":"1330660569","filename":"file0"},{"photo_id":"1330660579","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660582":["hashtag1","hashtag2"]},{"1330660579":["hashtag1","hashtag2"]},{"1330660575":["hashtag1","hashtag2"]},{"1330660569":["hashtag1","hashtag2"]},{"1330660599":["hashtag1","hashtag2"]},{"1330660572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660582, 1330660579, 1330660575, 1330660569, 1330660599, 1330660572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.81044030189514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 20:14:04.413349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/13/image_22012025_20_13_53_6491.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_46_5275.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_41_6505.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_35_5260.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_29_7029.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_22_5006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/13/image_22012025_20_13_53_6491.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_46_5275.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_41_6505.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_35_5260.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_29_7029.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_22_5006.jpg
2025-01-22 20:14:04.485356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/13/image_22012025_20_13_53_6491.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_46_5275.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_41_6505.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_35_5260.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_29_7029.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_22_5006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/13/image_22012025_20_13_53_6491.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_46_5275.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_41_6505.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_35_5260.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_29_7029.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_22_5006.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":["1330660779","1330660755","1330660836","1330660839","1330660772","1330660760"],"photo_ids_order":["1330660755","1330660760","1330660772","1330660779","1330660836","1330660839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ee0ff508ebc2feb4d5924425eb95ac0.jpg","text":"TemporaryFile(/tmp/multipartBody8090377533993505658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_35_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/22/59a0c96134651e522a08d1ff22b664f3.jpg","text":"TemporaryFile(/tmp/multipartBody5408300886342815902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_53_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/22/99798386f254431544af9465c0a74d18.jpg","text":"TemporaryFile(/tmp/multipartBody6212577983202990012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_29_7029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4e7cfac8c2a4162a2dac8781cf6e03c.jpg","text":"TemporaryFile(/tmp/multipartBody2947361917955637246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_22_5006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/358c753b0aeaf9d147290f77d027c5d9.jpg","text":"TemporaryFile(/tmp/multipartBody460264206943533638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_41_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/22/5a57f082c654a513124691f38b30ce8d.jpg","text":"TemporaryFile(/tmp/multipartBody2260777089897948486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573318867,"filename":"image_22012025_20_13_46_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660772","file1":"1330660760","file0":"1330660755","file4":"1330660836","file5":"1330660839","file3":"1330660779"},"map_files_photo_id_array":[{"photo_id":"1330660839","filename":"file5"},{"photo_id":"1330660772","filename":"file2"},{"photo_id":"1330660836","filename":"file4"},{"photo_id":"1330660760","filename":"file1"},{"photo_id":"1330660755","filename":"file0"},{"photo_id":"1330660779","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660779":["hashtag1","hashtag2"]},{"1330660755":["hashtag1","hashtag2"]},{"1330660836":["hashtag1","hashtag2"]},{"1330660839":["hashtag1","hashtag2"]},{"1330660772":["hashtag1","hashtag2"]},{"1330660760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660779, 1330660755, 1330660836, 1330660839, 1330660772, 1330660760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.88192939758301 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660780","1330660756","1330660837","1330660840","1330660773","1330660761"],"photo_ids_order":["1330660756","1330660761","1330660773","1330660780","1330660837","1330660840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/51909d70e8607e24586510fa626bc0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8120283459611109108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_35_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/22/b074297e14e2ce37089b3ab86397511a.jpg","text":"TemporaryFile(/tmp/multipartBody1803797025046535987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_53_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/22/8205a63f7e1bd439cb5b6ade8bdb43d7.jpg","text":"TemporaryFile(/tmp/multipartBody6126910529789530876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_29_7029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7282b5dc820088a3f4ba303af4bde7fc.jpg","text":"TemporaryFile(/tmp/multipartBody7529300983192667080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_22_5006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1cfa087709c898724eb033f7bf3f6d48.jpg","text":"TemporaryFile(/tmp/multipartBody4010226408933976668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_41_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/22/db13d80f947f144aff53db9b8133ceb1.jpg","text":"TemporaryFile(/tmp/multipartBody7206072841405737648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573319131,"filename":"image_22012025_20_13_46_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660773","file1":"1330660761","file0":"1330660756","file4":"1330660837","file5":"1330660840","file3":"1330660780"},"map_files_photo_id_array":[{"photo_id":"1330660840","filename":"file5"},{"photo_id":"1330660773","filename":"file2"},{"photo_id":"1330660837","filename":"file4"},{"photo_id":"1330660761","filename":"file1"},{"photo_id":"1330660756","filename":"file0"},{"photo_id":"1330660780","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660780":["hashtag1","hashtag2"]},{"1330660756":["hashtag1","hashtag2"]},{"1330660837":["hashtag1","hashtag2"]},{"1330660840":["hashtag1","hashtag2"]},{"1330660773":["hashtag1","hashtag2"]},{"1330660761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660780, 1330660756, 1330660837, 1330660840, 1330660773, 1330660761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.34746074676514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:15:04.797352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/15/image_22012025_20_15_35_6530.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_53_6513.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_46_5261.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_41_6553.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_35_5274.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_29_6474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/15/image_22012025_20_15_35_6530.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_53_6513.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_46_5261.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_41_6553.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_35_5274.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_29_6474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660882","1330660876","1330660861","1330660884","1330660869","1330660880"],"photo_ids_order":["1330660861","1330660869","1330660876","1330660880","1330660882","1330660884"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fafbc3f40c6b3c92ef5327ad2098b340.jpg","text":"TemporaryFile(/tmp/multipartBody5351365848872579420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_14_35_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/22/c5d10144777b8a992dc5bc4aecc764f6.jpg","text":"TemporaryFile(/tmp/multipartBody1794789068575575032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_14_46_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ff326751b84682d3ef7dc20b3b3a803c.jpg","text":"TemporaryFile(/tmp/multipartBody7563412979632459303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_15_35_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/22/fa75ca3f1358169db1c50e6990bb00ff.jpg","text":"TemporaryFile(/tmp/multipartBody5869904540808764506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_14_29_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/22/67219c959101c153cbc7e87892f7dcd1.jpg","text":"TemporaryFile(/tmp/multipartBody5604066878324241857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_14_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/22/34b7b85d093bbc1307727f0f62634399.jpg","text":"TemporaryFile(/tmp/multipartBody7169188442712793900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573379447,"filename":"image_22012025_20_14_41_6553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660876","file1":"1330660869","file0":"1330660861","file4":"1330660882","file5":"1330660884","file3":"1330660880"},"map_files_photo_id_array":[{"photo_id":"1330660884","filename":"file5"},{"photo_id":"1330660876","filename":"file2"},{"photo_id":"1330660882","filename":"file4"},{"photo_id":"1330660869","filename":"file1"},{"photo_id":"1330660861","filename":"file0"},{"photo_id":"1330660880","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660882":["hashtag1","hashtag2"]},{"1330660876":["hashtag1","hashtag2"]},{"1330660861":["hashtag1","hashtag2"]},{"1330660884":["hashtag1","hashtag2"]},{"1330660869":["hashtag1","hashtag2"]},{"1330660880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660882, 1330660876, 1330660861, 1330660884, 1330660869, 1330660880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.01727509498596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:16:04.265051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/15/image_22012025_20_15_53_6566.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_47_5289.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_41_6538.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_28_5306.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_23_6779.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_17_5525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/15/image_22012025_20_15_53_6566.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_47_5289.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_41_6538.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_28_5306.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_23_6779.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_17_5525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330660969","1330660977","1330660959","1330660994","1330660961","1330660973"],"photo_ids_order":["1330660959","1330660961","1330660969","1330660973","1330660977","1330660994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e92d4c5d7d2721be7f039d7d8f230067.jpg","text":"TemporaryFile(/tmp/multipartBody1812906176096968894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_41_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/22/31b62b26142dd2ebfe3536ba3e749d08.jpg","text":"TemporaryFile(/tmp/multipartBody8039047103899079981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_23_6779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14ec68e20459338ca8da9e6c0e0d5aa8.jpg","text":"TemporaryFile(/tmp/multipartBody9013834964412811839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_53_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/22/ad1b2e8913610c89218b2b4dbc397c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8458753787047503822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_17_5525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54a56fff20db173d113b0e9d78d4fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody7653626732339322544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_47_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/22/5ade1818a0f9dec906a2c77a7229a276.jpg","text":"TemporaryFile(/tmp/multipartBody1410637973386126813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573454690,"filename":"image_22012025_20_15_28_5306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330660969","file1":"1330660961","file0":"1330660959","file4":"1330660977","file5":"1330660994","file3":"1330660973"},"map_files_photo_id_array":[{"photo_id":"1330660994","filename":"file5"},{"photo_id":"1330660969","filename":"file2"},{"photo_id":"1330660977","filename":"file4"},{"photo_id":"1330660961","filename":"file1"},{"photo_id":"1330660959","filename":"file0"},{"photo_id":"1330660973","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330660969":["hashtag1","hashtag2"]},{"1330660977":["hashtag1","hashtag2"]},{"1330660959":["hashtag1","hashtag2"]},{"1330660994":["hashtag1","hashtag2"]},{"1330660961":["hashtag1","hashtag2"]},{"1330660973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330660969, 1330660977, 1330660959, 1330660994, 1330660961, 1330660973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.38377833366394 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:17:22.872103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/17/image_22012025_20_17_53_6523.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_47_5329.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_41_6515.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_35_6413.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_29_5118.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_23_5559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/17/image_22012025_20_17_53_6523.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_47_5329.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_41_6515.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_35_6413.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_29_5118.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_23_5559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330661143","1330661145","1330661124","1330661141","1330661138","1330661147"],"photo_ids_order":["1330661124","1330661138","1330661141","1330661143","1330661145","1330661147"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b860fd84257144fd5aaebfe77e07c13.jpg","text":"TemporaryFile(/tmp/multipartBody5833024480132219250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_35_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/22/b393582835a347b83547c84ebfdbe943.jpg","text":"TemporaryFile(/tmp/multipartBody5089175074582329814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_29_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/22/be266d5a8d327a31019bc21b51b9a674.jpg","text":"TemporaryFile(/tmp/multipartBody7488390111510953135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_53_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/22/122ffe2f6f30e6642f3a00af3c5f520a.jpg","text":"TemporaryFile(/tmp/multipartBody8111349793274543943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_41_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/22/20bf408a3c41fae704f7f502975a96f5.jpg","text":"TemporaryFile(/tmp/multipartBody956481487088754319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_47_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/22/fc4e46b0a5d67c3b3f4ef95c7dbbce90.jpg","text":"TemporaryFile(/tmp/multipartBody1304745278921374636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573529634,"filename":"image_22012025_20_17_23_5559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661141","file1":"1330661138","file0":"1330661124","file4":"1330661145","file5":"1330661147","file3":"1330661143"},"map_files_photo_id_array":[{"photo_id":"1330661147","filename":"file5"},{"photo_id":"1330661141","filename":"file2"},{"photo_id":"1330661145","filename":"file4"},{"photo_id":"1330661138","filename":"file1"},{"photo_id":"1330661124","filename":"file0"},{"photo_id":"1330661143","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661143":["hashtag1","hashtag2"]},{"1330661145":["hashtag1","hashtag2"]},{"1330661124":["hashtag1","hashtag2"]},{"1330661141":["hashtag1","hashtag2"]},{"1330661138":["hashtag1","hashtag2"]},{"1330661147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661143, 1330661145, 1330661124, 1330661141, 1330661138, 1330661147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.55996513366699 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:18:42.288550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/18/image_22012025_20_18_53_6035.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_47_6385.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_40_5272.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_35_6521.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_29_5353.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_24_6576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/18/image_22012025_20_18_53_6035.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_47_6385.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_40_5272.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_35_6521.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_29_5353.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_24_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":["1330661272","1330661269","1330661311","1330661307","1330661276","1330661278"],"photo_ids_order":["1330661269","1330661272","1330661276","1330661278","1330661307","1330661311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b85bc0f9060cc647b16824f50cfd1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2704832627729310945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_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/22/bb4b1240c8d992a4e0a73e6b9e84eb88.jpg","text":"TemporaryFile(/tmp/multipartBody7799010910572044548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_53_6035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/973841d5b6faa85c4ad18de81b9c12eb.jpg","text":"TemporaryFile(/tmp/multipartBody2752038592906083909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_24_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/22/944876c62c4ff0551b26c0e18f8874b3.jpg","text":"TemporaryFile(/tmp/multipartBody5012167196510310156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_29_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/22/4e0ef85b56d06b2aa5eaa9bcf5c84b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3937478996510910959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_40_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/22/74d258e1f3da17dbd462cfcadb29043b.jpg","text":"TemporaryFile(/tmp/multipartBody3973393755179433191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573602937,"filename":"image_22012025_20_18_35_6521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661276","file1":"1330661272","file0":"1330661269","file4":"1330661307","file5":"1330661311","file3":"1330661278"},"map_files_photo_id_array":[{"photo_id":"1330661311","filename":"file5"},{"photo_id":"1330661276","filename":"file2"},{"photo_id":"1330661307","filename":"file4"},{"photo_id":"1330661272","filename":"file1"},{"photo_id":"1330661269","filename":"file0"},{"photo_id":"1330661278","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661272":["hashtag1","hashtag2"]},{"1330661269":["hashtag1","hashtag2"]},{"1330661311":["hashtag1","hashtag2"]},{"1330661307":["hashtag1","hashtag2"]},{"1330661276":["hashtag1","hashtag2"]},{"1330661278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661272, 1330661269, 1330661311, 1330661307, 1330661276, 1330661278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.06283092498779 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:19:42.216378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/19/image_22012025_20_19_54_6993.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_47_5607.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_41_6550.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_34_5273.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_29_6548.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_23_5310.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/19/image_22012025_20_19_54_6993.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_47_5607.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_41_6550.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_34_5273.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_29_6548.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_23_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":["1330661353","1330661347","1330661382","1330661372","1330661351","1330661345"],"photo_ids_order":["1330661345","1330661347","1330661351","1330661353","1330661372","1330661382"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/951c8ebe2f363c6e8d9dcfb1276817e8.jpg","text":"TemporaryFile(/tmp/multipartBody7569473278426614639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_34_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4d9d0988da1c5316e2693d0c10995600.jpg","text":"TemporaryFile(/tmp/multipartBody214922924302818482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_47_5607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2fb05f3da3772a732f2f7ca06ca0185f.jpg","text":"TemporaryFile(/tmp/multipartBody965539020143514693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_23_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/22/e45ea0ed1fe889577f3f13ed6aa57c73.jpg","text":"TemporaryFile(/tmp/multipartBody6824763259716313742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_29_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/22/9eb39447db444a69fbdd00c3167297b5.jpg","text":"TemporaryFile(/tmp/multipartBody5425313342250397036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_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/22/61559d503ee8ba37bcc58fdcb6c5dfde.jpg","text":"TemporaryFile(/tmp/multipartBody9133052714586165747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573654499,"filename":"image_22012025_20_19_54_6993.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661351","file1":"1330661347","file0":"1330661345","file4":"1330661372","file5":"1330661382","file3":"1330661353"},"map_files_photo_id_array":[{"photo_id":"1330661382","filename":"file5"},{"photo_id":"1330661351","filename":"file2"},{"photo_id":"1330661372","filename":"file4"},{"photo_id":"1330661347","filename":"file1"},{"photo_id":"1330661345","filename":"file0"},{"photo_id":"1330661353","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661353":["hashtag1","hashtag2"]},{"1330661347":["hashtag1","hashtag2"]},{"1330661382":["hashtag1","hashtag2"]},{"1330661372":["hashtag1","hashtag2"]},{"1330661351":["hashtag1","hashtag2"]},{"1330661345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661353, 1330661347, 1330661382, 1330661372, 1330661351, 1330661345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.96680474281311 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:20:42.322881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/20/image_22012025_20_20_53_5416.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_48_6659.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_41_5288.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_35_6623.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_23_6647.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_17_6233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/20/image_22012025_20_20_53_5416.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_48_6659.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_41_5288.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_35_6623.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_23_6647.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_17_6233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330661490","1330661416","1330661586","1330661582","1330661576","1330661618"],"photo_ids_order":["1330661416","1330661490","1330661576","1330661582","1330661586","1330661618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/63548face48aa2efddf829f21afb3303.jpg","text":"TemporaryFile(/tmp/multipartBody7349084355072885027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_48_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de36cec48412ec1b28a28aa587f7e123.jpg","text":"TemporaryFile(/tmp/multipartBody4259483587785811559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_53_5416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/51f27759e904541d61a1054f8c84e163.jpg","text":"TemporaryFile(/tmp/multipartBody6497711857429783101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_23_6647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b49d7b28725ecec8e2a87a7b4a1723fc.jpg","text":"TemporaryFile(/tmp/multipartBody8581766780706694640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_35_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/22/53388409b3721c1953ca2974bab0d758.jpg","text":"TemporaryFile(/tmp/multipartBody8624366794117218864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_41_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/22/3ad9407e86bf44c1ef61f77239371ca5.jpg","text":"TemporaryFile(/tmp/multipartBody973648083287256878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573733465,"filename":"image_22012025_20_20_17_6233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661576","file1":"1330661490","file0":"1330661416","file4":"1330661586","file5":"1330661618","file3":"1330661582"},"map_files_photo_id_array":[{"photo_id":"1330661618","filename":"file5"},{"photo_id":"1330661576","filename":"file2"},{"photo_id":"1330661586","filename":"file4"},{"photo_id":"1330661490","filename":"file1"},{"photo_id":"1330661416","filename":"file0"},{"photo_id":"1330661582","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661490":["hashtag1","hashtag2"]},{"1330661416":["hashtag1","hashtag2"]},{"1330661586":["hashtag1","hashtag2"]},{"1330661582":["hashtag1","hashtag2"]},{"1330661576":["hashtag1","hashtag2"]},{"1330661618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661490, 1330661416, 1330661586, 1330661582, 1330661576, 1330661618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.78377652168274 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:22:04.200676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/21/image_22012025_20_21_53_5298.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_47_6738.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_41_5298.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_35_6618.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_29_5284.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_23_6534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/21/image_22012025_20_21_53_5298.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_47_6738.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_41_5298.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_35_6618.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_29_5284.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_23_6534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330661704","1330661693","1330661706","1330661690","1330661698","1330661702"],"photo_ids_order":["1330661690","1330661693","1330661698","1330661702","1330661704","1330661706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fdd56299fee0959cde202c3503c76e89.jpg","text":"TemporaryFile(/tmp/multipartBody2155149919984752775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_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/22/c777eafca8780b4f19fe8d7a9afb999a.jpg","text":"TemporaryFile(/tmp/multipartBody3780031389113730405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_47_6738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2112cdb6cb62415e47a29890c3de1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3774414621793764732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_23_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/22/c8c9fa124ece7122114e1e64fd5c614c.jpg","text":"TemporaryFile(/tmp/multipartBody8005230911933014300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_53_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/22/4330985129f2349da79500c4a6ab39a8.jpg","text":"TemporaryFile(/tmp/multipartBody2275172071581006662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_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/22/90d3292ffca0af3ee34962ae18e717f4.jpg","text":"TemporaryFile(/tmp/multipartBody7738829687308160980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573795894,"filename":"image_22012025_20_21_35_6618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661698","file1":"1330661693","file0":"1330661690","file4":"1330661704","file5":"1330661706","file3":"1330661702"},"map_files_photo_id_array":[{"photo_id":"1330661706","filename":"file5"},{"photo_id":"1330661698","filename":"file2"},{"photo_id":"1330661704","filename":"file4"},{"photo_id":"1330661693","filename":"file1"},{"photo_id":"1330661690","filename":"file0"},{"photo_id":"1330661702","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661704":["hashtag1","hashtag2"]},{"1330661693":["hashtag1","hashtag2"]},{"1330661706":["hashtag1","hashtag2"]},{"1330661690":["hashtag1","hashtag2"]},{"1330661698":["hashtag1","hashtag2"]},{"1330661702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661704, 1330661693, 1330661706, 1330661690, 1330661698, 1330661702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.639758348464966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:23:05.114419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/22/image_22012025_20_22_53_6541.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_47_6524.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_40_5389.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_35_5416.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_23_5349.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_17_5805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/22/image_22012025_20_22_53_6541.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_47_6524.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_40_5389.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_35_5416.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_23_5349.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_17_5805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330661827","1330661806","1330661756","1330661831","1330661810","1330661813"],"photo_ids_order":["1330661756","1330661806","1330661810","1330661813","1330661827","1330661831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b4d859d39a9fa9a1abd1150e9218b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4147715216853352908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_23_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/22/fdba83f26168d1118157ef79264798bb.jpg","text":"TemporaryFile(/tmp/multipartBody891506187103806187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_47_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/22/e3940cfd88029389782186aaf7f3aaaa.jpg","text":"TemporaryFile(/tmp/multipartBody2979411191948453795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_53_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/22/055562e8b33bcaed941af3e99bee9948.jpg","text":"TemporaryFile(/tmp/multipartBody1838674601845516200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_17_5805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/591bd5b3d80583935ebaa1f3f23fe534.jpg","text":"TemporaryFile(/tmp/multipartBody409764247796872795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_40_5389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1dd5881c28fe899f3a88b004d53c7803.jpg","text":"TemporaryFile(/tmp/multipartBody2938403091058077689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573858262,"filename":"image_22012025_20_22_35_5416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661810","file1":"1330661806","file0":"1330661756","file4":"1330661827","file5":"1330661831","file3":"1330661813"},"map_files_photo_id_array":[{"photo_id":"1330661831","filename":"file5"},{"photo_id":"1330661810","filename":"file2"},{"photo_id":"1330661827","filename":"file4"},{"photo_id":"1330661806","filename":"file1"},{"photo_id":"1330661756","filename":"file0"},{"photo_id":"1330661813","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661827":["hashtag1","hashtag2"]},{"1330661806":["hashtag1","hashtag2"]},{"1330661756":["hashtag1","hashtag2"]},{"1330661831":["hashtag1","hashtag2"]},{"1330661810":["hashtag1","hashtag2"]},{"1330661813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661827, 1330661806, 1330661756, 1330661831, 1330661810, 1330661813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.58425307273865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_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-22 20:24:04.319854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/23/image_22012025_20_23_52_5232.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_47_6483.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_41_5250.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_35_6492.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_29_6532.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_22_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/23/image_22012025_20_23_52_5232.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_47_6483.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_41_5250.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_35_6492.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_29_6532.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_22_5316.jpg
2025-01-22 20:24:04.489400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/23/image_22012025_20_23_52_5232.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_47_6483.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_41_5250.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_35_6492.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_29_6532.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_22_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/23/image_22012025_20_23_52_5232.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_47_6483.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_41_5250.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_35_6492.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_29_6532.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_22_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":["1330661958","1330661943","1330661952","1330661946","1330661949","1330661939"],"photo_ids_order":["1330661939","1330661943","1330661946","1330661949","1330661952","1330661958"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/166e51b7f4a380941a498d02f9358902.jpg","text":"TemporaryFile(/tmp/multipartBody4551721029919055662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_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/22/ccdd696316822b6420327fb9f3f15ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4542369049564911161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_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/22/b6874d33fcd2fd939e1e0e343a0c5ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2864253829940226565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_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/22/c42618dba80a8f3aa54b3be64353ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody3583556389796259568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_41_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/22/463ebb8015f67b278dc8729cc87350e3.jpg","text":"TemporaryFile(/tmp/multipartBody8380506917148693918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_35_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/22/2591dc4b80d9a1fae1dc3fb5814ab230.jpg","text":"TemporaryFile(/tmp/multipartBody5846620153717712783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573923240,"filename":"image_22012025_20_23_52_5232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661946","file1":"1330661943","file0":"1330661939","file4":"1330661952","file5":"1330661958","file3":"1330661949"},"map_files_photo_id_array":[{"photo_id":"1330661958","filename":"file5"},{"photo_id":"1330661946","filename":"file2"},{"photo_id":"1330661952","filename":"file4"},{"photo_id":"1330661943","filename":"file1"},{"photo_id":"1330661939","filename":"file0"},{"photo_id":"1330661949","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661958":["hashtag1","hashtag2"]},{"1330661943":["hashtag1","hashtag2"]},{"1330661952":["hashtag1","hashtag2"]},{"1330661946":["hashtag1","hashtag2"]},{"1330661949":["hashtag1","hashtag2"]},{"1330661939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661958, 1330661943, 1330661952, 1330661946, 1330661949, 1330661939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.04970836639404 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330661941","1330661944","1330661985","1330661948","1330661957","1330661951"],"photo_ids_order":["1330661941","1330661944","1330661948","1330661951","1330661957","1330661985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e06baed652dfd61d1e4efff52d4a9b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5242325632819251844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_52_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/22/61804b3d3c23547bfb5d90b34505b502.jpg","text":"TemporaryFile(/tmp/multipartBody730461195082864400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_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/22/aaa284f96323ceaf8d06598236a0c24d.jpg","text":"TemporaryFile(/tmp/multipartBody5820234039056895037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_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/22/caa489575d956412ec16e5458e9a9ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4592760854749728964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_41_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/22/10ca463b427190ef6d28951d6c5c8e10.jpg","text":"TemporaryFile(/tmp/multipartBody1675128668621799007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_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/22/13d5ba374c174c6e4a5ef4d57540debd.jpg","text":"TemporaryFile(/tmp/multipartBody1807293806361389588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573925465,"filename":"image_22012025_20_23_35_6492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330661948","file1":"1330661944","file0":"1330661941","file4":"1330661957","file5":"1330661985","file3":"1330661951"},"map_files_photo_id_array":[{"photo_id":"1330661985","filename":"file5"},{"photo_id":"1330661948","filename":"file2"},{"photo_id":"1330661957","filename":"file4"},{"photo_id":"1330661944","filename":"file1"},{"photo_id":"1330661941","filename":"file0"},{"photo_id":"1330661951","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330661941":["hashtag1","hashtag2"]},{"1330661944":["hashtag1","hashtag2"]},{"1330661985":["hashtag1","hashtag2"]},{"1330661948":["hashtag1","hashtag2"]},{"1330661957":["hashtag1","hashtag2"]},{"1330661951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330661941, 1330661944, 1330661985, 1330661948, 1330661957, 1330661951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.671536684036255 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:25:04.627133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/25/image_22012025_20_25_53_6496.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_54_6513.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_47_6507.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_41_5302.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_35_6485.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_29_5329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/25/image_22012025_20_25_53_6496.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_54_6513.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_47_6507.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_41_5302.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_35_6485.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_29_5329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662081","1330662069","1330662078","1330662062","1330662085","1330662046"],"photo_ids_order":["1330662046","1330662062","1330662069","1330662078","1330662081","1330662085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/facd797a80cb40bada9473c8730d2b5c.jpg","text":"TemporaryFile(/tmp/multipartBody50986000934033958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_24_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/22/50b613abbe8fcc53bda74f663617bff7.jpg","text":"TemporaryFile(/tmp/multipartBody1956235634884423886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_24_47_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/22/d65ee4fe81f859fe851847b4b539a1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1130584123619521986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_24_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/22/45f4c1b02d1b32c06a62e99129b5cbc8.jpg","text":"TemporaryFile(/tmp/multipartBody820309495133895112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_24_54_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/22/fbfa2ebde9a9480b30d1ed137bdc2e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1600618161525226356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_24_29_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/22/7646475919cb43f8f1345a0856d5a1cd.jpg","text":"TemporaryFile(/tmp/multipartBody8139413195377898727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737573981674,"filename":"image_22012025_20_25_53_6496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662069","file1":"1330662062","file0":"1330662046","file4":"1330662081","file5":"1330662085","file3":"1330662078"},"map_files_photo_id_array":[{"photo_id":"1330662085","filename":"file5"},{"photo_id":"1330662069","filename":"file2"},{"photo_id":"1330662081","filename":"file4"},{"photo_id":"1330662062","filename":"file1"},{"photo_id":"1330662046","filename":"file0"},{"photo_id":"1330662078","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662081":["hashtag1","hashtag2"]},{"1330662069":["hashtag1","hashtag2"]},{"1330662078":["hashtag1","hashtag2"]},{"1330662062":["hashtag1","hashtag2"]},{"1330662085":["hashtag1","hashtag2"]},{"1330662046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662081, 1330662069, 1330662078, 1330662062, 1330662085, 1330662046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.246968269348145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:26:03.858956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/25/image_22012025_20_25_47_5283.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_41_6521.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_35_5298.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_30_5796.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_24_6363.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_18_6480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/25/image_22012025_20_25_47_5283.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_41_6521.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_35_5298.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_30_5796.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_24_6363.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_18_6480.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.07524561882019 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:26:22.432960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/26/image_22012025_20_26_52_5274.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_47_6558.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_41_5304.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_35_6558.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_29_5325.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_23_5729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/26/image_22012025_20_26_52_5274.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_47_6558.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_41_5304.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_35_6558.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_29_5325.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_23_5729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662276","1330662258","1330662236","1330662274","1330662271","1330662253"],"photo_ids_order":["1330662236","1330662253","1330662258","1330662271","1330662274","1330662276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d3bf2ae23c158a9a06897a9e8448cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody861246292519060634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_23_5729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9763e62d68923ba512f08707854f38c4.jpg","text":"TemporaryFile(/tmp/multipartBody7615010898569381869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_41_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/22/ca97ee4e18b107e3109a0369068631df.jpg","text":"TemporaryFile(/tmp/multipartBody8506154251711243229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_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/22/a9d70e25b6acd2acbb57abce6f86a164.jpg","text":"TemporaryFile(/tmp/multipartBody8279855536860412936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_29_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/22/7aecb8db530fee43ee43f1b409efd207.jpg","text":"TemporaryFile(/tmp/multipartBody3509411124906082026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_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/22/a0746e76936c03128b2a5b935cd3b651.jpg","text":"TemporaryFile(/tmp/multipartBody7614845159523345594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574064280,"filename":"image_22012025_20_26_47_6558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662258","file1":"1330662253","file0":"1330662236","file4":"1330662274","file5":"1330662276","file3":"1330662271"},"map_files_photo_id_array":[{"photo_id":"1330662276","filename":"file5"},{"photo_id":"1330662258","filename":"file2"},{"photo_id":"1330662274","filename":"file4"},{"photo_id":"1330662253","filename":"file1"},{"photo_id":"1330662236","filename":"file0"},{"photo_id":"1330662271","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662276":["hashtag1","hashtag2"]},{"1330662258":["hashtag1","hashtag2"]},{"1330662236":["hashtag1","hashtag2"]},{"1330662274":["hashtag1","hashtag2"]},{"1330662271":["hashtag1","hashtag2"]},{"1330662253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662276, 1330662258, 1330662236, 1330662274, 1330662271, 1330662253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.561806201934814 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:27:22.592771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/27/image_22012025_20_27_53_5325.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_47_7014.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_41_5799.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_35_6288.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_29_5699.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_23_5830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/27/image_22012025_20_27_53_5325.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_47_7014.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_41_5799.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_35_6288.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_29_5699.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_23_5830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662306","1330662309","1330662314","1330662302","1330662298","1330662319"],"photo_ids_order":["1330662298","1330662302","1330662306","1330662309","1330662314","1330662319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c55841af3425a66d86623456e505b165.jpg","text":"TemporaryFile(/tmp/multipartBody635580853763901928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_41_5799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71aab5c9598114098019b80ac25149c6.jpg","text":"TemporaryFile(/tmp/multipartBody8115671440258626399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_35_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/22/101242be556a0ace71689dccf37e2d5c.jpg","text":"TemporaryFile(/tmp/multipartBody9189539064661147294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_29_5699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e0bba96f720748b39a732931bfd06a4.jpg","text":"TemporaryFile(/tmp/multipartBody9024356052063534545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_47_7014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48d6380c97ebb6fe5a1a046bb1d87904.jpg","text":"TemporaryFile(/tmp/multipartBody8227557722284831370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_53_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/22/ed306b24cf53ba3b6d983ccccda4b781.jpg","text":"TemporaryFile(/tmp/multipartBody332743264477555131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574110832,"filename":"image_22012025_20_27_23_5830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662306","file1":"1330662302","file0":"1330662298","file4":"1330662314","file5":"1330662319","file3":"1330662309"},"map_files_photo_id_array":[{"photo_id":"1330662319","filename":"file5"},{"photo_id":"1330662306","filename":"file2"},{"photo_id":"1330662314","filename":"file4"},{"photo_id":"1330662302","filename":"file1"},{"photo_id":"1330662298","filename":"file0"},{"photo_id":"1330662309","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662306":["hashtag1","hashtag2"]},{"1330662309":["hashtag1","hashtag2"]},{"1330662314":["hashtag1","hashtag2"]},{"1330662302":["hashtag1","hashtag2"]},{"1330662298":["hashtag1","hashtag2"]},{"1330662319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662306, 1330662309, 1330662314, 1330662302, 1330662298, 1330662319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.678284645080566 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:28:22.769856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/28/image_22012025_20_28_47_6495.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_41_6520.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_34_6097.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_29_5947.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_22_5273.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_17_6005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/28/image_22012025_20_28_47_6495.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_41_6520.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_34_6097.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_29_5947.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_22_5273.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_17_6005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662498","1330662540","1330662513","1330662521","1330662490","1330662544"],"photo_ids_order":["1330662490","1330662498","1330662513","1330662521","1330662540","1330662544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/29af8f437cf67cf2446ecd1d0fceac88.jpg","text":"TemporaryFile(/tmp/multipartBody5261980433912135936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_41_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/22/0b25a193ad8af22520a55e40b89e392e.jpg","text":"TemporaryFile(/tmp/multipartBody1838098351949508594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_22_5273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0a449d8244bfcc5bf57812d92f8c1a71.jpg","text":"TemporaryFile(/tmp/multipartBody4288376299565449855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_34_6097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc45f0fb96f978d0920a81d80962ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody7992839773766008067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_29_5947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3231430fae1d3866145056683e52f0c5.jpg","text":"TemporaryFile(/tmp/multipartBody6872388650032329253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_47_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/22/24ef4deafd82cf1ac05d9d39f40920ab.jpg","text":"TemporaryFile(/tmp/multipartBody3343593339433389755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574177564,"filename":"image_22012025_20_28_17_6005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662513","file1":"1330662498","file0":"1330662490","file4":"1330662540","file5":"1330662544","file3":"1330662521"},"map_files_photo_id_array":[{"photo_id":"1330662544","filename":"file5"},{"photo_id":"1330662513","filename":"file2"},{"photo_id":"1330662540","filename":"file4"},{"photo_id":"1330662498","filename":"file1"},{"photo_id":"1330662490","filename":"file0"},{"photo_id":"1330662521","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662498":["hashtag1","hashtag2"]},{"1330662540":["hashtag1","hashtag2"]},{"1330662513":["hashtag1","hashtag2"]},{"1330662521":["hashtag1","hashtag2"]},{"1330662490":["hashtag1","hashtag2"]},{"1330662544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662498, 1330662540, 1330662513, 1330662521, 1330662490, 1330662544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.292831897735596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:29:22.110453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/29/image_22012025_20_29_52_5319.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_47_6556.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_40_4827.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_36_6117.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_30_6757.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_23_5303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/29/image_22012025_20_29_52_5319.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_47_6556.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_40_4827.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_36_6117.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_30_6757.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_23_5303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662579","1330662567","1330662575","1330662563","1330662583","1330662571"],"photo_ids_order":["1330662563","1330662567","1330662571","1330662575","1330662579","1330662583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65de000afcd011f2d4dc33fa206331f7.jpg","text":"TemporaryFile(/tmp/multipartBody6908568657827309044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_30_6757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/78ad12cb12782588ad69478b4d7ba30b.jpg","text":"TemporaryFile(/tmp/multipartBody7730011747227287585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_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/22/840fdd9a1c30e92d3609d19041fba11e.jpg","text":"TemporaryFile(/tmp/multipartBody8247003058155751625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_36_6117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce9456e7142c1b7aa07e045cd57594fd.jpg","text":"TemporaryFile(/tmp/multipartBody9216404044613168893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_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/22/1326a1fda3b25a88c5d398ece5956f00.jpg","text":"TemporaryFile(/tmp/multipartBody2207898349539929753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_23_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/22/017075d4df786fda1ad0a171247e2a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6769931143300321594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574236386,"filename":"image_22012025_20_29_40_4827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662571","file1":"1330662567","file0":"1330662563","file4":"1330662579","file5":"1330662583","file3":"1330662575"},"map_files_photo_id_array":[{"photo_id":"1330662583","filename":"file5"},{"photo_id":"1330662571","filename":"file2"},{"photo_id":"1330662579","filename":"file4"},{"photo_id":"1330662567","filename":"file1"},{"photo_id":"1330662563","filename":"file0"},{"photo_id":"1330662575","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662579":["hashtag1","hashtag2"]},{"1330662567":["hashtag1","hashtag2"]},{"1330662575":["hashtag1","hashtag2"]},{"1330662563":["hashtag1","hashtag2"]},{"1330662583":["hashtag1","hashtag2"]},{"1330662571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662579, 1330662567, 1330662575, 1330662563, 1330662583, 1330662571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.880677938461304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:30:22.341919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/30/image_22012025_20_30_58_5384.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_46_5266.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_41_5542.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_36_7237.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_29_5717.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_23_5390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/30/image_22012025_20_30_58_5384.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_46_5266.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_41_5542.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_36_7237.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_29_5717.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_23_5390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330662922","1330662969","1330662861","1330662900","1330662965","1330662917"],"photo_ids_order":["1330662861","1330662900","1330662917","1330662922","1330662965","1330662969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fd24d90ae280ea3787255472c7d20b33.jpg","text":"TemporaryFile(/tmp/multipartBody7516268843044764494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_36_7237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26886589174d8aa3c194a9423c118ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1890124814075447968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_23_5390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/83c68b0addeaf6ae1d9097e865bee82f.jpg","text":"TemporaryFile(/tmp/multipartBody2054834042884190997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_58_5384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b26279b0f74c9ba9ef7d4aa4eaf797e.jpg","text":"TemporaryFile(/tmp/multipartBody4433651766097763419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_46_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/22/6e86de2eafa2873e6045796f5f2647ba.jpg","text":"TemporaryFile(/tmp/multipartBody3224269019627812945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_29_5717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0513e278d38949ff664b4de3470f18ad.jpg","text":"TemporaryFile(/tmp/multipartBody2489083726561932508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574302272,"filename":"image_22012025_20_30_41_5542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330662917","file1":"1330662900","file0":"1330662861","file4":"1330662965","file5":"1330662969","file3":"1330662922"},"map_files_photo_id_array":[{"photo_id":"1330662969","filename":"file5"},{"photo_id":"1330662917","filename":"file2"},{"photo_id":"1330662965","filename":"file4"},{"photo_id":"1330662900","filename":"file1"},{"photo_id":"1330662861","filename":"file0"},{"photo_id":"1330662922","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330662922":["hashtag1","hashtag2"]},{"1330662969":["hashtag1","hashtag2"]},{"1330662861":["hashtag1","hashtag2"]},{"1330662900":["hashtag1","hashtag2"]},{"1330662965":["hashtag1","hashtag2"]},{"1330662917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330662922, 1330662969, 1330662861, 1330662900, 1330662965, 1330662917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.26091766357422 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:31:22.452266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/31/image_22012025_20_31_53_5463.jpg', '/media/data/images/22012025/20/31/image_22012025_20_31_42_7271.jpg', '/media/data/images/22012025/20/31/image_22012025_20_31_23_5599.jpg', '/media/data/images/22012025/20/31/image_22012025_20_31_11_4797.jpg', '/media/data/images/22012025/20/31/image_22012025_20_31_06_7142.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_53_6516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/31/image_22012025_20_31_53_5463.jpg
/media/data/images/22012025/20/31/image_22012025_20_31_42_7271.jpg
/media/data/images/22012025/20/31/image_22012025_20_31_23_5599.jpg
/media/data/images/22012025/20/31/image_22012025_20_31_11_4797.jpg
/media/data/images/22012025/20/31/image_22012025_20_31_06_7142.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_53_6516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330663017","1330663008","1330663022","1330663030","1330663012","1330663015"],"photo_ids_order":["1330663008","1330663012","1330663015","1330663017","1330663022","1330663030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc607a0f0dc7ed3987da9eec8bb041db.jpg","text":"TemporaryFile(/tmp/multipartBody6239597469146895442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_31_11_4797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ae1b44ef33dd3fdcb3d5911bbd030328.jpg","text":"TemporaryFile(/tmp/multipartBody8029371479497531435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_31_53_5463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/22ce82af8a67a4bc5e003b2eb74db4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7031356285144027262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_31_06_7142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59442b82f5065fb8ee8edf751fccc662.jpg","text":"TemporaryFile(/tmp/multipartBody8597335474166980636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_30_53_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/22/92ff63efe8ef34c841c79f6700d8cd39.jpg","text":"TemporaryFile(/tmp/multipartBody6554500625418323578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_31_42_7271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b312a714707c531afab3699b07ae6a9.jpg","text":"TemporaryFile(/tmp/multipartBody4960874902178961057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574377910,"filename":"image_22012025_20_31_23_5599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330663015","file1":"1330663012","file0":"1330663008","file4":"1330663022","file5":"1330663030","file3":"1330663017"},"map_files_photo_id_array":[{"photo_id":"1330663030","filename":"file5"},{"photo_id":"1330663015","filename":"file2"},{"photo_id":"1330663022","filename":"file4"},{"photo_id":"1330663012","filename":"file1"},{"photo_id":"1330663008","filename":"file0"},{"photo_id":"1330663017","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330663017":["hashtag1","hashtag2"]},{"1330663008":["hashtag1","hashtag2"]},{"1330663022":["hashtag1","hashtag2"]},{"1330663030":["hashtag1","hashtag2"]},{"1330663012":["hashtag1","hashtag2"]},{"1330663015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330663017, 1330663008, 1330663022, 1330663030, 1330663012, 1330663015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.08338284492493 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:32:42.879015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/32/image_22012025_20_32_47_6807.jpg', '/media/data/images/22012025/20/32/image_22012025_20_32_41_4816.jpg', '/media/data/images/22012025/20/32/image_22012025_20_32_36_6754.jpg', '/media/data/images/22012025/20/32/image_22012025_20_32_29_6368.jpg', '/media/data/images/22012025/20/32/image_22012025_20_32_22_5464.jpg', '/media/data/images/22012025/20/31/image_22012025_20_32_00_6773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/32/image_22012025_20_32_47_6807.jpg
/media/data/images/22012025/20/32/image_22012025_20_32_41_4816.jpg
/media/data/images/22012025/20/32/image_22012025_20_32_36_6754.jpg
/media/data/images/22012025/20/32/image_22012025_20_32_29_6368.jpg
/media/data/images/22012025/20/32/image_22012025_20_32_22_5464.jpg
/media/data/images/22012025/20/31/image_22012025_20_32_00_6773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330664543","1330664306","1330664662","1330664665","1330664659","1330664061"],"photo_ids_order":["1330664061","1330664306","1330664543","1330664659","1330664662","1330664665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc4e12c32f6e3c5cb4e2f398cca66b30.jpg","text":"TemporaryFile(/tmp/multipartBody2410933230485108639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_36_6754.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/caf7cd772be815fc884c934063cbce58.jpg","text":"TemporaryFile(/tmp/multipartBody5213920448063909934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_41_4816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc99c52659312efe877fb5e4c64a06ef.jpg","text":"TemporaryFile(/tmp/multipartBody51889052870198099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_22_5464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d1d5c62e635fd3a6551d639ed74cbe98.jpg","text":"TemporaryFile(/tmp/multipartBody614486469807415075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_00_6773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/685fe0e0e27766a0d60720cc63ad54bb.jpg","text":"TemporaryFile(/tmp/multipartBody1992313381018073873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_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/22/cfb67c51a7c1acac8d2f6d4c9fd90a89.jpg","text":"TemporaryFile(/tmp/multipartBody949546940522331253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574440275,"filename":"image_22012025_20_32_47_6807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330664543","file1":"1330664306","file0":"1330664061","file4":"1330664662","file5":"1330664665","file3":"1330664659"},"map_files_photo_id_array":[{"photo_id":"1330664665","filename":"file5"},{"photo_id":"1330664543","filename":"file2"},{"photo_id":"1330664662","filename":"file4"},{"photo_id":"1330664306","filename":"file1"},{"photo_id":"1330664061","filename":"file0"},{"photo_id":"1330664659","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330664543":["hashtag1","hashtag2"]},{"1330664306":["hashtag1","hashtag2"]},{"1330664662":["hashtag1","hashtag2"]},{"1330664665":["hashtag1","hashtag2"]},{"1330664659":["hashtag1","hashtag2"]},{"1330664061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330664543, 1330664306, 1330664662, 1330664665, 1330664659, 1330664061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.04433488845825 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:33:42.182585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/33/image_22012025_20_33_41_6658.jpg', '/media/data/images/22012025/20/33/image_22012025_20_33_35_5460.jpg', '/media/data/images/22012025/20/33/image_22012025_20_33_29_6751.jpg', '/media/data/images/22012025/20/33/image_22012025_20_33_11_5032.jpg', '/media/data/images/22012025/20/32/image_22012025_20_32_58_5890.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_17_5805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/33/image_22012025_20_33_41_6658.jpg
/media/data/images/22012025/20/33/image_22012025_20_33_35_5460.jpg
/media/data/images/22012025/20/33/image_22012025_20_33_29_6751.jpg
/media/data/images/22012025/20/33/image_22012025_20_33_11_5032.jpg
/media/data/images/22012025/20/32/image_22012025_20_32_58_5890.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_17_5805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330664708","1330664698","1330664702","1330664695","1330664713","1330664691"],"photo_ids_order":["1330664691","1330664695","1330664698","1330664702","1330664708","1330664713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f473f16eff30da5f00de1d5f8a8eb8d7.jpg","text":"TemporaryFile(/tmp/multipartBody4060781228990586742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_32_58_5890.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cbc06fc966000cdcf66531548c956038.jpg","text":"TemporaryFile(/tmp/multipartBody381443892675735546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_33_29_6751.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/67bb2488f52651c7f5dc79551ebeb7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4601254818086475579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_33_11_5032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6d162fad61c90f4c28e1f00cae391cf3.jpg","text":"TemporaryFile(/tmp/multipartBody9196130415025314125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_33_35_5460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f709c0f49e9aad7d9ac2edb7a57389d.jpg","text":"TemporaryFile(/tmp/multipartBody8945599188863224545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_30_17_5805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6d02f7b49d11c74d6ac120622c67f47d.jpg","text":"TemporaryFile(/tmp/multipartBody4157353659673690646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574493562,"filename":"image_22012025_20_33_41_6658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330664698","file1":"1330664695","file0":"1330664691","file4":"1330664708","file5":"1330664713","file3":"1330664702"},"map_files_photo_id_array":[{"photo_id":"1330664713","filename":"file5"},{"photo_id":"1330664698","filename":"file2"},{"photo_id":"1330664708","filename":"file4"},{"photo_id":"1330664695","filename":"file1"},{"photo_id":"1330664691","filename":"file0"},{"photo_id":"1330664702","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330664708":["hashtag1","hashtag2"]},{"1330664698":["hashtag1","hashtag2"]},{"1330664702":["hashtag1","hashtag2"]},{"1330664695":["hashtag1","hashtag2"]},{"1330664713":["hashtag1","hashtag2"]},{"1330664691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330664708, 1330664698, 1330664702, 1330664695, 1330664713, 1330664691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.002190589904785 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:34:42.153773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/34/image_22012025_20_34_18_6676.jpg', '/media/data/images/22012025/20/34/image_22012025_20_34_05_5644.jpg', '/media/data/images/22012025/20/33/image_22012025_20_33_53_5216.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_12_6384.jpg', '/media/data/images/22012025/20/30/image_22012025_20_30_05_6249.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_59_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/34/image_22012025_20_34_18_6676.jpg
/media/data/images/22012025/20/34/image_22012025_20_34_05_5644.jpg
/media/data/images/22012025/20/33/image_22012025_20_33_53_5216.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_12_6384.jpg
/media/data/images/22012025/20/30/image_22012025_20_30_05_6249.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_59_6549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330664894","1330665289","1330665294","1330665159","1330664745","1330665284"],"photo_ids_order":["1330664745","1330664894","1330665159","1330665284","1330665289","1330665294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ce60cbd45e4cb53e318c30aa57cbba3.jpg","text":"TemporaryFile(/tmp/multipartBody316885057063069803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_34_05_5644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f118c5f2b4486ba385758f069318bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6868596114562581420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_30_05_6249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/143bc59394df5524dba01515d5504f1d.jpg","text":"TemporaryFile(/tmp/multipartBody6755397458519460372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_29_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/22/7e93235cb73046ddca9c212fe372b493.jpg","text":"TemporaryFile(/tmp/multipartBody143100407139104015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_33_53_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/22/77dbf3de2314250821122ca113389a91.jpg","text":"TemporaryFile(/tmp/multipartBody8081805145106407813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_34_18_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/22/42b2a339359884b368d9a4fab11b2a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8936822296444697880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574552531,"filename":"image_22012025_20_30_12_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665159","file1":"1330664894","file0":"1330664745","file4":"1330665289","file5":"1330665294","file3":"1330665284"},"map_files_photo_id_array":[{"photo_id":"1330665294","filename":"file5"},{"photo_id":"1330665159","filename":"file2"},{"photo_id":"1330665289","filename":"file4"},{"photo_id":"1330664894","filename":"file1"},{"photo_id":"1330664745","filename":"file0"},{"photo_id":"1330665284","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330664894":["hashtag1","hashtag2"]},{"1330665289":["hashtag1","hashtag2"]},{"1330665294":["hashtag1","hashtag2"]},{"1330665159":["hashtag1","hashtag2"]},{"1330664745":["hashtag1","hashtag2"]},{"1330665284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330664894, 1330665289, 1330665294, 1330665159, 1330664745, 1330665284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.98039388656616 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:35:42.569471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/35/image_22012025_20_35_47_5386.jpg', '/media/data/images/22012025/20/35/image_22012025_20_35_41_6634.jpg', '/media/data/images/22012025/20/35/image_22012025_20_35_35_5405.jpg', '/media/data/images/22012025/20/35/image_22012025_20_35_29_6736.jpg', '/media/data/images/22012025/20/35/image_22012025_20_35_17_5690.jpg', '/media/data/images/22012025/20/34/image_22012025_20_34_23_5481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/35/image_22012025_20_35_47_5386.jpg
/media/data/images/22012025/20/35/image_22012025_20_35_41_6634.jpg
/media/data/images/22012025/20/35/image_22012025_20_35_35_5405.jpg
/media/data/images/22012025/20/35/image_22012025_20_35_29_6736.jpg
/media/data/images/22012025/20/35/image_22012025_20_35_17_5690.jpg
/media/data/images/22012025/20/34/image_22012025_20_34_23_5481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665496","1330665500","1330665503","1330665505","1330665489","1330665494"],"photo_ids_order":["1330665489","1330665494","1330665496","1330665500","1330665503","1330665505"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98463a36d0907906941ac0816ae473ef.jpg","text":"TemporaryFile(/tmp/multipartBody3522201342246769792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_35_35_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/22/94a8b2c640a071d64abacf6d4d20ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody329929556338196962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_35_29_6736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9f004017ff941fe3a250db28255e1623.jpg","text":"TemporaryFile(/tmp/multipartBody5562898921270303331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_35_17_5690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f71556b418c86436be5f7f641cf207c5.jpg","text":"TemporaryFile(/tmp/multipartBody8892575532203584234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_34_23_5481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5c69e55c0e7c445ca378a775f635841e.jpg","text":"TemporaryFile(/tmp/multipartBody7809115738681000968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_35_47_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/22/ff360881c043e3aa4a9b04a4158b347a.jpg","text":"TemporaryFile(/tmp/multipartBody8575860172204707168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574617613,"filename":"image_22012025_20_35_41_6634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665496","file1":"1330665494","file0":"1330665489","file4":"1330665503","file5":"1330665505","file3":"1330665500"},"map_files_photo_id_array":[{"photo_id":"1330665505","filename":"file5"},{"photo_id":"1330665496","filename":"file2"},{"photo_id":"1330665503","filename":"file4"},{"photo_id":"1330665494","filename":"file1"},{"photo_id":"1330665489","filename":"file0"},{"photo_id":"1330665500","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665496":["hashtag1","hashtag2"]},{"1330665500":["hashtag1","hashtag2"]},{"1330665503":["hashtag1","hashtag2"]},{"1330665505":["hashtag1","hashtag2"]},{"1330665489":["hashtag1","hashtag2"]},{"1330665494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665496, 1330665500, 1330665503, 1330665505, 1330665489, 1330665494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.46411633491516 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:36:42.480883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/36/image_22012025_20_36_41_6750.jpg', '/media/data/images/22012025/20/36/image_22012025_20_36_29_5451.jpg', '/media/data/images/22012025/20/36/image_22012025_20_36_17_4926.jpg', '/media/data/images/22012025/20/36/image_22012025_20_36_05_6156.jpg', '/media/data/images/22012025/20/35/image_22012025_20_35_53_6554.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_17_6923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/36/image_22012025_20_36_41_6750.jpg
/media/data/images/22012025/20/36/image_22012025_20_36_29_5451.jpg
/media/data/images/22012025/20/36/image_22012025_20_36_17_4926.jpg
/media/data/images/22012025/20/36/image_22012025_20_36_05_6156.jpg
/media/data/images/22012025/20/35/image_22012025_20_35_53_6554.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_17_6923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665566","1330665539","1330665568","1330665564","1330665555","1330665560"],"photo_ids_order":["1330665539","1330665555","1330665560","1330665564","1330665566","1330665568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/46fdfe9af1e2ab8a264ae2f65c376e55.jpg","text":"TemporaryFile(/tmp/multipartBody8481949027114573077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_35_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/22/aebf90f83e1474f7b21954177a648271.jpg","text":"TemporaryFile(/tmp/multipartBody4725046605017750333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_36_41_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/22/19d1cfc6d259c35332cb68e352755c3c.jpg","text":"TemporaryFile(/tmp/multipartBody5781495165244660029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_29_17_6923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3816940a3a84364706a475b887a95277.jpg","text":"TemporaryFile(/tmp/multipartBody4089352883782344386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_36_05_6156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38e3e09b5ceb46a48f93c228c3df799f.jpg","text":"TemporaryFile(/tmp/multipartBody3082553347644532423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_36_29_5451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/08b65b336315edd49e1be6720b0f2d91.jpg","text":"TemporaryFile(/tmp/multipartBody2503732708916902099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574673839,"filename":"image_22012025_20_36_17_4926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665560","file1":"1330665555","file0":"1330665539","file4":"1330665566","file5":"1330665568","file3":"1330665564"},"map_files_photo_id_array":[{"photo_id":"1330665568","filename":"file5"},{"photo_id":"1330665560","filename":"file2"},{"photo_id":"1330665566","filename":"file4"},{"photo_id":"1330665555","filename":"file1"},{"photo_id":"1330665539","filename":"file0"},{"photo_id":"1330665564","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665566":["hashtag1","hashtag2"]},{"1330665539":["hashtag1","hashtag2"]},{"1330665568":["hashtag1","hashtag2"]},{"1330665564":["hashtag1","hashtag2"]},{"1330665555":["hashtag1","hashtag2"]},{"1330665560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665566, 1330665539, 1330665568, 1330665564, 1330665555, 1330665560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.33688259124756 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:37:42.747297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/37/image_22012025_20_37_59_5932.jpg', '/media/data/images/22012025/20/37/image_22012025_20_37_48_6858.jpg', '/media/data/images/22012025/20/37/image_22012025_20_37_41_6698.jpg', '/media/data/images/22012025/20/37/image_22012025_20_37_34_5575.jpg', '/media/data/images/22012025/20/36/image_22012025_20_36_58_4386.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_11_6156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/37/image_22012025_20_37_59_5932.jpg
/media/data/images/22012025/20/37/image_22012025_20_37_48_6858.jpg
/media/data/images/22012025/20/37/image_22012025_20_37_41_6698.jpg
/media/data/images/22012025/20/37/image_22012025_20_37_34_5575.jpg
/media/data/images/22012025/20/36/image_22012025_20_36_58_4386.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_11_6156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665608","1330665613","1330665622","1330665616","1330665625","1330665619"],"photo_ids_order":["1330665608","1330665613","1330665616","1330665619","1330665622","1330665625"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b34031cc77c146948d789f7d234cd5c2.jpg","text":"TemporaryFile(/tmp/multipartBody663959303086606621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_37_59_5932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a851a7a10894cd371a79708220b79868.jpg","text":"TemporaryFile(/tmp/multipartBody6338327418437110204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_37_48_6858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7e9f66efd850712e9f049d42a5bd707.jpg","text":"TemporaryFile(/tmp/multipartBody2528011421876281135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_36_58_4386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/788109fb043f6204310c0640ee073f54.jpg","text":"TemporaryFile(/tmp/multipartBody6887777215117557206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_37_41_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/22/855e58af8791131f057b6b08798782a1.jpg","text":"TemporaryFile(/tmp/multipartBody7681373200723513696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_29_11_6156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/72449c676e5e226f6e48bbc8c8d38428.jpg","text":"TemporaryFile(/tmp/multipartBody28843819371087336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574742253,"filename":"image_22012025_20_37_34_5575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665616","file1":"1330665613","file0":"1330665608","file4":"1330665622","file5":"1330665625","file3":"1330665619"},"map_files_photo_id_array":[{"photo_id":"1330665625","filename":"file5"},{"photo_id":"1330665616","filename":"file2"},{"photo_id":"1330665622","filename":"file4"},{"photo_id":"1330665613","filename":"file1"},{"photo_id":"1330665608","filename":"file0"},{"photo_id":"1330665619","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665608":["hashtag1","hashtag2"]},{"1330665613":["hashtag1","hashtag2"]},{"1330665622":["hashtag1","hashtag2"]},{"1330665616":["hashtag1","hashtag2"]},{"1330665625":["hashtag1","hashtag2"]},{"1330665619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665608, 1330665613, 1330665622, 1330665616, 1330665625, 1330665619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.61508584022522 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:38:43.023042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.14675521850586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 20:39:05.128988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.jpg
2025-01-22 20:39:05.570603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/38/image_22012025_20_38_54_5811.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_41_5510.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_35_5494.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_30_6804.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_23_5539.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_17_6441.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":["1330665701","1330665679","1330665693","1330665675","1330665684","1330665689"],"photo_ids_order":["1330665675","1330665679","1330665684","1330665689","1330665693","1330665701"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/78fc8eea5c7ac5ab6444ec55b8b8abbb.jpg","text":"TemporaryFile(/tmp/multipartBody8875984637410123757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_17_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/22/a36bfa11fc7d066f65cf625232dbfc9d.jpg","text":"TemporaryFile(/tmp/multipartBody657954819424590323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_41_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/22/6aa3a76dda9aebd1442229bba1851644.jpg","text":"TemporaryFile(/tmp/multipartBody6103647337002497187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_23_5539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aea42fc23a23f179dc7fe9dc0ce53a47.jpg","text":"TemporaryFile(/tmp/multipartBody7386821544836068545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_54_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4dba167f62e2a010732f24b85338d215.jpg","text":"TemporaryFile(/tmp/multipartBody2754171642920463192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_35_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/22/f5ed2911c00b28b8ea22ed93532a728f.jpg","text":"TemporaryFile(/tmp/multipartBody6326515914721931192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574829424,"filename":"image_22012025_20_38_30_6804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665684","file1":"1330665679","file0":"1330665675","file4":"1330665693","file5":"1330665701","file3":"1330665689"},"map_files_photo_id_array":[{"photo_id":"1330665701","filename":"file5"},{"photo_id":"1330665684","filename":"file2"},{"photo_id":"1330665693","filename":"file4"},{"photo_id":"1330665679","filename":"file1"},{"photo_id":"1330665675","filename":"file0"},{"photo_id":"1330665689","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665701":["hashtag1","hashtag2"]},{"1330665679":["hashtag1","hashtag2"]},{"1330665693":["hashtag1","hashtag2"]},{"1330665675":["hashtag1","hashtag2"]},{"1330665684":["hashtag1","hashtag2"]},{"1330665689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665701, 1330665679, 1330665693, 1330665675, 1330665684, 1330665689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.285109996795654 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665677","1330665691","1330665681","1330665705","1330665686","1330665695"],"photo_ids_order":["1330665677","1330665681","1330665686","1330665691","1330665695","1330665705"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68399d39de98b7dd0db284e14bb8ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody8705088085034485596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_54_5811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d79a33bd57e2f2d9deb254042983ea3a.jpg","text":"TemporaryFile(/tmp/multipartBody1718562549638851981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_30_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6df6a35b9a37fec89edaaae869d47f37.jpg","text":"TemporaryFile(/tmp/multipartBody3629965573045479519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_41_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/22/cbda1717264f22d1b1a9e410c95c3654.jpg","text":"TemporaryFile(/tmp/multipartBody3527729155682315719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_17_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/22/f6975a1d3264059809d958889157edb5.jpg","text":"TemporaryFile(/tmp/multipartBody3045257619379060499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_35_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/22/261f0114f2ee52740d8522815b868f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1359428808733395356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574833689,"filename":"image_22012025_20_38_23_5539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665686","file1":"1330665681","file0":"1330665677","file4":"1330665695","file5":"1330665705","file3":"1330665691"},"map_files_photo_id_array":[{"photo_id":"1330665705","filename":"file5"},{"photo_id":"1330665686","filename":"file2"},{"photo_id":"1330665695","filename":"file4"},{"photo_id":"1330665681","filename":"file1"},{"photo_id":"1330665677","filename":"file0"},{"photo_id":"1330665691","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665677":["hashtag1","hashtag2"]},{"1330665691":["hashtag1","hashtag2"]},{"1330665681":["hashtag1","hashtag2"]},{"1330665705":["hashtag1","hashtag2"]},{"1330665686":["hashtag1","hashtag2"]},{"1330665695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665677, 1330665691, 1330665681, 1330665705, 1330665686, 1330665695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.87778425216675 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:40:22.344214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/40/image_22012025_20_40_47_6795.jpg', '/media/data/images/22012025/20/40/image_22012025_20_40_35_5634.jpg', '/media/data/images/22012025/20/40/image_22012025_20_40_11_4508.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_59_5762.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_54_6731.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_47_6287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/40/image_22012025_20_40_47_6795.jpg
/media/data/images/22012025/20/40/image_22012025_20_40_35_5634.jpg
/media/data/images/22012025/20/40/image_22012025_20_40_11_4508.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_59_5762.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_54_6731.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_47_6287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665761","1330665914","1330665924","1330665918","1330665753","1330665746"],"photo_ids_order":["1330665746","1330665753","1330665761","1330665914","1330665918","1330665924"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a979db22c075602b8e40a74c107ad6a.jpg","text":"TemporaryFile(/tmp/multipartBody5129466406546489757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_40_11_4508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab3f43835d3d4867a098a64d6eeef0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7013046771497329628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_39_59_5762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a6356bed7528404712b560e7c19f62b.jpg","text":"TemporaryFile(/tmp/multipartBody2410485914431079686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_39_47_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/22/e041f6732da512c6124f1c3fb921213d.jpg","text":"TemporaryFile(/tmp/multipartBody5988658486424826919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_39_54_6731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fde3ce1ad8c64c043ebc641ac212ba28.jpg","text":"TemporaryFile(/tmp/multipartBody4688961494555607783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_40_35_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a82b74ac5911e23768e3c05e1b0a04a0.jpg","text":"TemporaryFile(/tmp/multipartBody6105038857181589609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574918042,"filename":"image_22012025_20_40_47_6795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665761","file1":"1330665753","file0":"1330665746","file4":"1330665918","file5":"1330665924","file3":"1330665914"},"map_files_photo_id_array":[{"photo_id":"1330665924","filename":"file5"},{"photo_id":"1330665761","filename":"file2"},{"photo_id":"1330665918","filename":"file4"},{"photo_id":"1330665753","filename":"file1"},{"photo_id":"1330665746","filename":"file0"},{"photo_id":"1330665914","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665761":["hashtag1","hashtag2"]},{"1330665914":["hashtag1","hashtag2"]},{"1330665924":["hashtag1","hashtag2"]},{"1330665918":["hashtag1","hashtag2"]},{"1330665753":["hashtag1","hashtag2"]},{"1330665746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665761, 1330665914, 1330665924, 1330665918, 1330665753, 1330665746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.34921336174011 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:41:42.921129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/41/image_22012025_20_41_36_6568.jpg', '/media/data/images/22012025/20/41/image_22012025_20_41_29_6144.jpg', '/media/data/images/22012025/20/41/image_22012025_20_41_23_5595.jpg', '/media/data/images/22012025/20/40/image_22012025_20_40_58_5491.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_40_5576.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_29_6698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/41/image_22012025_20_41_36_6568.jpg
/media/data/images/22012025/20/41/image_22012025_20_41_29_6144.jpg
/media/data/images/22012025/20/41/image_22012025_20_41_23_5595.jpg
/media/data/images/22012025/20/40/image_22012025_20_40_58_5491.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_40_5576.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_29_6698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330665993","1330665966","1330665960","1330665963","1330666043","1330665989"],"photo_ids_order":["1330665960","1330665963","1330665966","1330665989","1330665993","1330666043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/450eedf08172226ae9e92bbe242f3d72.jpg","text":"TemporaryFile(/tmp/multipartBody560379538173277479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_39_40_5576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/11ab5bce233cbc78f3403e8cbcc36245.jpg","text":"TemporaryFile(/tmp/multipartBody5483819403120760958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_41_23_5595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e56a6f1bf00d9d66ac92b6b1317905bb.jpg","text":"TemporaryFile(/tmp/multipartBody5368516249985166294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_41_36_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/22/b2642e81f55198451781bc1687cb0372.jpg","text":"TemporaryFile(/tmp/multipartBody98331182624598253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_41_29_6144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/192dd9ab04594618e289b9b26c41e7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2195664398345042851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_39_29_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/22/6b90cefd8819216f18df1b0a66ea9441.jpg","text":"TemporaryFile(/tmp/multipartBody2278352951343822949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737574987123,"filename":"image_22012025_20_40_58_5491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330665966","file1":"1330665963","file0":"1330665960","file4":"1330665993","file5":"1330666043","file3":"1330665989"},"map_files_photo_id_array":[{"photo_id":"1330666043","filename":"file5"},{"photo_id":"1330665966","filename":"file2"},{"photo_id":"1330665993","filename":"file4"},{"photo_id":"1330665963","filename":"file1"},{"photo_id":"1330665960","filename":"file0"},{"photo_id":"1330665989","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330665993":["hashtag1","hashtag2"]},{"1330665966":["hashtag1","hashtag2"]},{"1330665960":["hashtag1","hashtag2"]},{"1330665963":["hashtag1","hashtag2"]},{"1330666043":["hashtag1","hashtag2"]},{"1330665989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330665993, 1330665966, 1330665960, 1330665963, 1330666043, 1330665989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.590306997299194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:42:42.944644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/42/image_22012025_20_42_29_6762.jpg', '/media/data/images/22012025/20/42/image_22012025_20_42_22_5452.jpg', '/media/data/images/22012025/20/42/image_22012025_20_42_17_4957.jpg', '/media/data/images/22012025/20/42/image_22012025_20_42_05_6244.jpg', '/media/data/images/22012025/20/41/image_22012025_20_41_59_6172.jpg', '/media/data/images/22012025/20/39/image_22012025_20_39_23_5480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/42/image_22012025_20_42_29_6762.jpg
/media/data/images/22012025/20/42/image_22012025_20_42_22_5452.jpg
/media/data/images/22012025/20/42/image_22012025_20_42_17_4957.jpg
/media/data/images/22012025/20/42/image_22012025_20_42_05_6244.jpg
/media/data/images/22012025/20/41/image_22012025_20_41_59_6172.jpg
/media/data/images/22012025/20/39/image_22012025_20_39_23_5480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330666156","1330666159","1330666152","1330666146","1330666149","1330666154"],"photo_ids_order":["1330666146","1330666149","1330666152","1330666154","1330666156","1330666159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a70138b4aa37c486c015b714b83f7651.jpg","text":"TemporaryFile(/tmp/multipartBody4347627559613614107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_41_59_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/22/99328146c628a8d1796da1b5db6caf1a.jpg","text":"TemporaryFile(/tmp/multipartBody1340683710646186196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_39_23_5480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8450e825a9752e16a6d32ca711ff724e.jpg","text":"TemporaryFile(/tmp/multipartBody7912856252969998715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_42_17_4957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/128b5be0a3bae14933e2ec7e3626575b.jpg","text":"TemporaryFile(/tmp/multipartBody1619136691058646811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_42_29_6762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eebe375528a426944e433a9291986bc3.jpg","text":"TemporaryFile(/tmp/multipartBody2745000130786971559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_42_22_5452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e22ba3229c7ceaeca4b307f2bd42299a.jpg","text":"TemporaryFile(/tmp/multipartBody4069689050974180740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575036725,"filename":"image_22012025_20_42_05_6244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666152","file1":"1330666149","file0":"1330666146","file4":"1330666156","file5":"1330666159","file3":"1330666154"},"map_files_photo_id_array":[{"photo_id":"1330666159","filename":"file5"},{"photo_id":"1330666152","filename":"file2"},{"photo_id":"1330666156","filename":"file4"},{"photo_id":"1330666149","filename":"file1"},{"photo_id":"1330666146","filename":"file0"},{"photo_id":"1330666154","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666156":["hashtag1","hashtag2"]},{"1330666159":["hashtag1","hashtag2"]},{"1330666152":["hashtag1","hashtag2"]},{"1330666146":["hashtag1","hashtag2"]},{"1330666149":["hashtag1","hashtag2"]},{"1330666154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666156, 1330666159, 1330666152, 1330666146, 1330666149, 1330666154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31180119514465 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:43:42.021005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/43/image_22012025_20_43_40_5483.jpg', '/media/data/images/22012025/20/43/image_22012025_20_43_06_5216.jpg', '/media/data/images/22012025/20/42/image_22012025_20_42_54_5712.jpg', '/media/data/images/22012025/20/38/image_22012025_20_39_00_6592.jpg', '/media/data/images/22012025/20/38/image_22012025_20_38_05_6187.jpg', '/media/data/images/22012025/20/37/image_22012025_20_37_53_4939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/43/image_22012025_20_43_40_5483.jpg
/media/data/images/22012025/20/43/image_22012025_20_43_06_5216.jpg
/media/data/images/22012025/20/42/image_22012025_20_42_54_5712.jpg
/media/data/images/22012025/20/38/image_22012025_20_39_00_6592.jpg
/media/data/images/22012025/20/38/image_22012025_20_38_05_6187.jpg
/media/data/images/22012025/20/37/image_22012025_20_37_53_4939.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":["1330666281","1330666278","1330666286","1330666289","1330666283","1330666277"],"photo_ids_order":["1330666277","1330666278","1330666281","1330666283","1330666286","1330666289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dada781d0ba2227690e6dc520e8cdca1.jpg","text":"TemporaryFile(/tmp/multipartBody2969728455153631476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_42_54_5712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a9ed10579f1ba249fc3e3f8bed1eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody5849445503404284755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_43_06_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/22/dddda409a51bba1211c5f0d3abd8f37c.jpg","text":"TemporaryFile(/tmp/multipartBody2643096825039620518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_38_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/22/fa5e92968b618705b197caffb4401090.jpg","text":"TemporaryFile(/tmp/multipartBody7209421669711674622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_37_53_4939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f869b544e28e073073c95f20cbeaa7a1.jpg","text":"TemporaryFile(/tmp/multipartBody5177978507301148772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_39_00_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/22/f6774a2de063e1badbe9a7a9e74e3db0.jpg","text":"TemporaryFile(/tmp/multipartBody8120321649479289212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575113403,"filename":"image_22012025_20_43_40_5483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666281","file1":"1330666278","file0":"1330666277","file4":"1330666286","file5":"1330666289","file3":"1330666283"},"map_files_photo_id_array":[{"photo_id":"1330666289","filename":"file5"},{"photo_id":"1330666281","filename":"file2"},{"photo_id":"1330666286","filename":"file4"},{"photo_id":"1330666278","filename":"file1"},{"photo_id":"1330666277","filename":"file0"},{"photo_id":"1330666283","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666281":["hashtag1","hashtag2"]},{"1330666278":["hashtag1","hashtag2"]},{"1330666286":["hashtag1","hashtag2"]},{"1330666289":["hashtag1","hashtag2"]},{"1330666283":["hashtag1","hashtag2"]},{"1330666277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666281, 1330666278, 1330666286, 1330666289, 1330666283, 1330666277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.37078881263733 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:45:04.984561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/45/image_22012025_20_45_48_6857.jpg', '/media/data/images/22012025/20/44/image_22012025_20_44_30_6755.jpg', '/media/data/images/22012025/20/44/image_22012025_20_44_23_5603.jpg', '/media/data/images/22012025/20/44/image_22012025_20_44_17_5592.jpg', '/media/data/images/22012025/20/44/image_22012025_20_44_05_5625.jpg', '/media/data/images/22012025/20/43/image_22012025_20_43_47_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/45/image_22012025_20_45_48_6857.jpg
/media/data/images/22012025/20/44/image_22012025_20_44_30_6755.jpg
/media/data/images/22012025/20/44/image_22012025_20_44_23_5603.jpg
/media/data/images/22012025/20/44/image_22012025_20_44_17_5592.jpg
/media/data/images/22012025/20/44/image_22012025_20_44_05_5625.jpg
/media/data/images/22012025/20/43/image_22012025_20_43_47_6380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330666342","1330666356","1330666359","1330666347","1330666355","1330666352"],"photo_ids_order":["1330666342","1330666347","1330666352","1330666355","1330666356","1330666359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e65fb286111a9a704c412c620418859.jpg","text":"TemporaryFile(/tmp/multipartBody4629720235839961719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_45_48_6857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7261609b0ff0e04824a9d0bea3257cb4.jpg","text":"TemporaryFile(/tmp/multipartBody6342986796601960155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_44_05_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/efab4f977978fe2cbf55b07c29cd3dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1832634318999221516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_43_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/22/a95ccdc3278bed4974a1b98a31a3d20f.jpg","text":"TemporaryFile(/tmp/multipartBody4805956028460381288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_44_30_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/22/baf316985e17f56151497650346dfea2.jpg","text":"TemporaryFile(/tmp/multipartBody2678091104676257130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_44_17_5592.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/579d6f06972f51c1a38e5dcbfbc1e184.jpg","text":"TemporaryFile(/tmp/multipartBody8180477304518567409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575201389,"filename":"image_22012025_20_44_23_5603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666352","file1":"1330666347","file0":"1330666342","file4":"1330666356","file5":"1330666359","file3":"1330666355"},"map_files_photo_id_array":[{"photo_id":"1330666359","filename":"file5"},{"photo_id":"1330666352","filename":"file2"},{"photo_id":"1330666356","filename":"file4"},{"photo_id":"1330666347","filename":"file1"},{"photo_id":"1330666342","filename":"file0"},{"photo_id":"1330666355","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666342":["hashtag1","hashtag2"]},{"1330666356":["hashtag1","hashtag2"]},{"1330666359":["hashtag1","hashtag2"]},{"1330666347":["hashtag1","hashtag2"]},{"1330666355":["hashtag1","hashtag2"]},{"1330666352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666342, 1330666356, 1330666359, 1330666347, 1330666355, 1330666352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.11187291145325 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:46:22.588103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/46/image_22012025_20_46_35_5732.jpg', '/media/data/images/22012025/20/46/image_22012025_20_46_29_6774.jpg', '/media/data/images/22012025/20/46/image_22012025_20_46_23_5070.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_53_5473.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_41_5470.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_28_5436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/46/image_22012025_20_46_35_5732.jpg
/media/data/images/22012025/20/46/image_22012025_20_46_29_6774.jpg
/media/data/images/22012025/20/46/image_22012025_20_46_23_5070.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_53_5473.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_41_5470.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_28_5436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330666706","1330666636","1330666702","1330666712","1330666640","1330666709"],"photo_ids_order":["1330666636","1330666640","1330666702","1330666706","1330666709","1330666712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6b712de4fd63fe8f73a1419f1d0c9d4f.jpg","text":"TemporaryFile(/tmp/multipartBody1447927800384588747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_45_53_5473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/08540371bc6844ea367a31875d22babd.jpg","text":"TemporaryFile(/tmp/multipartBody3394231556815142672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_46_35_5732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e4d4be0ee1162e120493f23d0741d106.jpg","text":"TemporaryFile(/tmp/multipartBody3121856506408499268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_46_23_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/22/e511fa58fadb97c13768a97099874e37.jpg","text":"TemporaryFile(/tmp/multipartBody9137811279149254061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_45_28_5436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a88e4ec7cffbe32ded9d7abb06b1b09.jpg","text":"TemporaryFile(/tmp/multipartBody837956335496924415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_46_29_6774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/808b39f8539843c6fce946628a62c7df.jpg","text":"TemporaryFile(/tmp/multipartBody2968751448638648272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575273109,"filename":"image_22012025_20_45_41_5470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666702","file1":"1330666640","file0":"1330666636","file4":"1330666709","file5":"1330666712","file3":"1330666706"},"map_files_photo_id_array":[{"photo_id":"1330666712","filename":"file5"},{"photo_id":"1330666702","filename":"file2"},{"photo_id":"1330666709","filename":"file4"},{"photo_id":"1330666640","filename":"file1"},{"photo_id":"1330666636","filename":"file0"},{"photo_id":"1330666706","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666706":["hashtag1","hashtag2"]},{"1330666636":["hashtag1","hashtag2"]},{"1330666702":["hashtag1","hashtag2"]},{"1330666712":["hashtag1","hashtag2"]},{"1330666640":["hashtag1","hashtag2"]},{"1330666709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666706, 1330666636, 1330666702, 1330666712, 1330666640, 1330666709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.32433319091797 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:47:42.790758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/47/image_22012025_20_47_54_5768.jpg', '/media/data/images/22012025/20/47/image_22012025_20_47_49_7278.jpg', '/media/data/images/22012025/20/47/image_22012025_20_47_35_6078.jpg', '/media/data/images/22012025/20/47/image_22012025_20_47_28_5548.jpg', '/media/data/images/22012025/20/46/image_22012025_20_46_42_6999.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_23_5482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/47/image_22012025_20_47_54_5768.jpg
/media/data/images/22012025/20/47/image_22012025_20_47_49_7278.jpg
/media/data/images/22012025/20/47/image_22012025_20_47_35_6078.jpg
/media/data/images/22012025/20/47/image_22012025_20_47_28_5548.jpg
/media/data/images/22012025/20/46/image_22012025_20_46_42_6999.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_23_5482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330666879","1330666861","1330666866","1330666875","1330666871","1330666835"],"photo_ids_order":["1330666835","1330666861","1330666866","1330666871","1330666875","1330666879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/95648358550041b0517c9ef319f76be5.jpg","text":"TemporaryFile(/tmp/multipartBody2018873841756298199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_45_23_5482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/afadb3810481b2c8a752b0f4aa41c4ef.jpg","text":"TemporaryFile(/tmp/multipartBody1048776104218236066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_47_49_7278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8f3a1899ecc9de7adff60035a9633c9.jpg","text":"TemporaryFile(/tmp/multipartBody2030595408037517869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_47_35_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b6bc578591d46d8ea608e4ce8ca991d.jpg","text":"TemporaryFile(/tmp/multipartBody2412890072361591885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_46_42_6999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/95d5db6ade72016ac6c476144d767a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7444540032614026709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_47_28_5548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/64771d1fd7467ffee5b288ef808b518f.jpg","text":"TemporaryFile(/tmp/multipartBody7677021583633001613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575338888,"filename":"image_22012025_20_47_54_5768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666866","file1":"1330666861","file0":"1330666835","file4":"1330666875","file5":"1330666879","file3":"1330666871"},"map_files_photo_id_array":[{"photo_id":"1330666879","filename":"file5"},{"photo_id":"1330666866","filename":"file2"},{"photo_id":"1330666875","filename":"file4"},{"photo_id":"1330666861","filename":"file1"},{"photo_id":"1330666835","filename":"file0"},{"photo_id":"1330666871","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666879":["hashtag1","hashtag2"]},{"1330666861":["hashtag1","hashtag2"]},{"1330666866":["hashtag1","hashtag2"]},{"1330666875":["hashtag1","hashtag2"]},{"1330666871":["hashtag1","hashtag2"]},{"1330666835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666879, 1330666861, 1330666866, 1330666875, 1330666871, 1330666835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.6026885509491 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:48:42.845076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/48/image_22012025_20_48_53_7023.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_47_5894.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_40_5286.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_35_6510.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_29_5294.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_23_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/48/image_22012025_20_48_53_7023.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_47_5894.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_40_5286.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_35_6510.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_29_5294.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_23_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":["1330666987","1330666972","1330666981","1330666991","1330666967","1330666976"],"photo_ids_order":["1330666967","1330666972","1330666976","1330666981","1330666987","1330666991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8ee92a40a1823dc9239ad233ebd7f40.jpg","text":"TemporaryFile(/tmp/multipartBody4692434811859129078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_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/22/68dc01b695eb832aae6f18701e8f3c61.jpg","text":"TemporaryFile(/tmp/multipartBody6578013280771590187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_47_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a610bfd4042bd6efab61a20d027545ef.jpg","text":"TemporaryFile(/tmp/multipartBody7851112329386586805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_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/22/b97cbc85a3d515d361ea30f1003ead31.jpg","text":"TemporaryFile(/tmp/multipartBody3267864514241091973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_23_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/22/05e71064d436c31cee22995e1edc1839.jpg","text":"TemporaryFile(/tmp/multipartBody5997000400828619752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_53_7023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b81714526f3b8cd890aac368edbd3fea.jpg","text":"TemporaryFile(/tmp/multipartBody2993687723059311535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575393907,"filename":"image_22012025_20_48_40_5286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330666976","file1":"1330666972","file0":"1330666967","file4":"1330666987","file5":"1330666991","file3":"1330666981"},"map_files_photo_id_array":[{"photo_id":"1330666991","filename":"file5"},{"photo_id":"1330666976","filename":"file2"},{"photo_id":"1330666987","filename":"file4"},{"photo_id":"1330666972","filename":"file1"},{"photo_id":"1330666967","filename":"file0"},{"photo_id":"1330666981","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330666987":["hashtag1","hashtag2"]},{"1330666972":["hashtag1","hashtag2"]},{"1330666981":["hashtag1","hashtag2"]},{"1330666991":["hashtag1","hashtag2"]},{"1330666967":["hashtag1","hashtag2"]},{"1330666976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330666987, 1330666972, 1330666981, 1330666991, 1330666967, 1330666976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.23490071296692 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:49:42.207675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/49/image_22012025_20_49_53_5841.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_47_5866.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_41_5291.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_35_6492.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_29_6513.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_22_5287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/49/image_22012025_20_49_53_5841.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_47_5866.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_41_5291.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_35_6492.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_29_6513.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_22_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":["1330667038","1330667026","1330667031","1330667034","1330667057","1330667050"],"photo_ids_order":["1330667026","1330667031","1330667034","1330667038","1330667050","1330667057"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4b914cf6c3a4dba0723bc37ff0888e0.jpg","text":"TemporaryFile(/tmp/multipartBody2032820287621028772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_35_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/22/90c6d97bf5bd44835cc54c60f260c8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3592547758127474149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_53_5841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f3e0e53ef88b2fdf5b3eb2dcd232661f.jpg","text":"TemporaryFile(/tmp/multipartBody3861689002606349888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_47_5866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c1b6e3c7e7ece077dcb3dd2d2c721c8.jpg","text":"TemporaryFile(/tmp/multipartBody3375665401578522489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_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/22/916f5360685098129a0037206520c74e.jpg","text":"TemporaryFile(/tmp/multipartBody4449996277635495745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_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/22/996c15c2be61f0f4de82fb3128b86e54.jpg","text":"TemporaryFile(/tmp/multipartBody3081611713131369175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575460317,"filename":"image_22012025_20_49_29_6513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667034","file1":"1330667031","file0":"1330667026","file4":"1330667050","file5":"1330667057","file3":"1330667038"},"map_files_photo_id_array":[{"photo_id":"1330667057","filename":"file5"},{"photo_id":"1330667034","filename":"file2"},{"photo_id":"1330667050","filename":"file4"},{"photo_id":"1330667031","filename":"file1"},{"photo_id":"1330667026","filename":"file0"},{"photo_id":"1330667038","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667038":["hashtag1","hashtag2"]},{"1330667026":["hashtag1","hashtag2"]},{"1330667031":["hashtag1","hashtag2"]},{"1330667034":["hashtag1","hashtag2"]},{"1330667057":["hashtag1","hashtag2"]},{"1330667050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667038, 1330667026, 1330667031, 1330667034, 1330667057, 1330667050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.46772289276123 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:50:42.139429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/50/image_22012025_20_50_46_5517.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_41_5302.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_36_6531.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_29_6508.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_22_5285.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_17_5953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/50/image_22012025_20_50_46_5517.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_41_5302.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_36_6531.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_29_6508.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_22_5285.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_17_5953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667125","1330667112","1330667121","1330667109","1330667118","1330667132"],"photo_ids_order":["1330667109","1330667112","1330667118","1330667121","1330667125","1330667132"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c18b3d734d643094fce45bdd9129ca80.jpg","text":"TemporaryFile(/tmp/multipartBody5008666259184554981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_22_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/22/d5779018514efa3408b40582e3535811.jpg","text":"TemporaryFile(/tmp/multipartBody113851368620379974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_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/22/4c2ae31a8a642df0b2cb58bc1c4ec917.jpg","text":"TemporaryFile(/tmp/multipartBody6589698929561840646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_29_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/22/22b99634cbc258514f9caa2f300e58cb.jpg","text":"TemporaryFile(/tmp/multipartBody1882498025851917024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_46_5517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03e7e44d0a9d654510d1b4602ce6fe29.jpg","text":"TemporaryFile(/tmp/multipartBody3569775839600796318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_36_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/22/77e063e95cdaf780ef78471ee8f161f4.jpg","text":"TemporaryFile(/tmp/multipartBody774076827362633926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575517776,"filename":"image_22012025_20_50_17_5953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667118","file1":"1330667112","file0":"1330667109","file4":"1330667125","file5":"1330667132","file3":"1330667121"},"map_files_photo_id_array":[{"photo_id":"1330667132","filename":"file5"},{"photo_id":"1330667118","filename":"file2"},{"photo_id":"1330667125","filename":"file4"},{"photo_id":"1330667112","filename":"file1"},{"photo_id":"1330667109","filename":"file0"},{"photo_id":"1330667121","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667125":["hashtag1","hashtag2"]},{"1330667112":["hashtag1","hashtag2"]},{"1330667121":["hashtag1","hashtag2"]},{"1330667109":["hashtag1","hashtag2"]},{"1330667118":["hashtag1","hashtag2"]},{"1330667132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667125, 1330667112, 1330667121, 1330667109, 1330667118, 1330667132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04995632171631 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:51:42.303753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/50/image_22012025_20_50_11_6468.jpg', '/media/data/images/22012025/20/50/image_22012025_20_50_05_5374.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_59_6916.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_17_5605.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_12_6088.jpg', '/media/data/images/22012025/20/49/image_22012025_20_49_06_5868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/50/image_22012025_20_50_11_6468.jpg
/media/data/images/22012025/20/50/image_22012025_20_50_05_5374.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_59_6916.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_17_5605.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_12_6088.jpg
/media/data/images/22012025/20/49/image_22012025_20_49_06_5868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667272","1330667193","1330667268","1330667241","1330667247","1330667235"],"photo_ids_order":["1330667193","1330667235","1330667241","1330667247","1330667268","1330667272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adb6017053b8517f5a844cbd0d6b2975.jpg","text":"TemporaryFile(/tmp/multipartBody1733358554199883540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_49_06_5868.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab63d9e0105470801d1d95903975f2f0.jpg","text":"TemporaryFile(/tmp/multipartBody1646668543632758052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_50_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/22/66fcddcf97ab450b29fd14911abad57e.jpg","text":"TemporaryFile(/tmp/multipartBody9101164810711036689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_49_12_6088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e71f9522e753fcda37f06181d1aaf3b2.jpg","text":"TemporaryFile(/tmp/multipartBody682298533328474185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_49_59_6916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e0251cd8de897628d13c2727262a37f.jpg","text":"TemporaryFile(/tmp/multipartBody3143790906244038036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_49_17_5605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2e4ab6f83f261f07ea6f29df79d5609.jpg","text":"TemporaryFile(/tmp/multipartBody6182777937997014796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575571219,"filename":"image_22012025_20_50_05_5374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667241","file1":"1330667235","file0":"1330667193","file4":"1330667268","file5":"1330667272","file3":"1330667247"},"map_files_photo_id_array":[{"photo_id":"1330667272","filename":"file5"},{"photo_id":"1330667241","filename":"file2"},{"photo_id":"1330667268","filename":"file4"},{"photo_id":"1330667235","filename":"file1"},{"photo_id":"1330667193","filename":"file0"},{"photo_id":"1330667247","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667272":["hashtag1","hashtag2"]},{"1330667193":["hashtag1","hashtag2"]},{"1330667268":["hashtag1","hashtag2"]},{"1330667241":["hashtag1","hashtag2"]},{"1330667247":["hashtag1","hashtag2"]},{"1330667235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667272, 1330667193, 1330667268, 1330667241, 1330667247, 1330667235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20469880104065 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:52:42.758805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/48/image_22012025_20_49_00_6266.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_17_6518.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_11_4794.jpg', '/media/data/images/22012025/20/48/image_22012025_20_48_06_6340.jpg', '/media/data/images/22012025/20/47/image_22012025_20_47_59_5358.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_18_7254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/48/image_22012025_20_49_00_6266.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_17_6518.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_11_4794.jpg
/media/data/images/22012025/20/48/image_22012025_20_48_06_6340.jpg
/media/data/images/22012025/20/47/image_22012025_20_47_59_5358.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_18_7254.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667419","1330667415","1330667424","1330667403","1330667396","1330667398"],"photo_ids_order":["1330667396","1330667398","1330667403","1330667415","1330667419","1330667424"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82ff08b47f50e966b1e5643ca78242ef.jpg","text":"TemporaryFile(/tmp/multipartBody447602295599261621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_47_59_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/22/bf145924ebd99d7c67b2294b63cc7979.jpg","text":"TemporaryFile(/tmp/multipartBody5325444384317623198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_48_06_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/22/45b194935120af0847994c492dbbcaab.jpg","text":"TemporaryFile(/tmp/multipartBody8775118485762304573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_45_18_7254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d59969d45cb0299a646543c7fde43265.jpg","text":"TemporaryFile(/tmp/multipartBody9078950907286964369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_48_11_4794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61f808b21474d79cd3ca028fb71d5feb.jpg","text":"TemporaryFile(/tmp/multipartBody5290563556075142160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_49_00_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/22/1131a806e732496880948dc90bc27a55.jpg","text":"TemporaryFile(/tmp/multipartBody1389575290887630638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575646543,"filename":"image_22012025_20_48_17_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667403","file1":"1330667398","file0":"1330667396","file4":"1330667419","file5":"1330667424","file3":"1330667415"},"map_files_photo_id_array":[{"photo_id":"1330667424","filename":"file5"},{"photo_id":"1330667403","filename":"file2"},{"photo_id":"1330667419","filename":"file4"},{"photo_id":"1330667398","filename":"file1"},{"photo_id":"1330667396","filename":"file0"},{"photo_id":"1330667415","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667419":["hashtag1","hashtag2"]},{"1330667415":["hashtag1","hashtag2"]},{"1330667424":["hashtag1","hashtag2"]},{"1330667403":["hashtag1","hashtag2"]},{"1330667396":["hashtag1","hashtag2"]},{"1330667398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667419, 1330667415, 1330667424, 1330667403, 1330667396, 1330667398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55119299888611 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:53:42.855400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/53/image_22012025_20_53_11_6444.jpg', '/media/data/images/22012025/20/45/image_22012025_20_45_11_4969.jpg', '/media/data/images/22012025/20/44/image_22012025_20_44_40_5486.jpg', '/media/data/images/22012025/20/29/image_22012025_20_29_05_6094.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_53_5383.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_11_5422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/53/image_22012025_20_53_11_6444.jpg
/media/data/images/22012025/20/45/image_22012025_20_45_11_4969.jpg
/media/data/images/22012025/20/44/image_22012025_20_44_40_5486.jpg
/media/data/images/22012025/20/29/image_22012025_20_29_05_6094.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_53_5383.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_11_5422.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":["1330667458","1330667452","1330667466","1330667462","1330667455","1330667449"],"photo_ids_order":["1330667449","1330667452","1330667455","1330667458","1330667462","1330667466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/87206c624e1e9babcfcdba2450ec770f.jpg","text":"TemporaryFile(/tmp/multipartBody7980514052511393773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_29_05_6094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/59341f2652d83f9420e3ecc97f906658.jpg","text":"TemporaryFile(/tmp/multipartBody9048252426360347711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_45_11_4969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c999c4051b692a5f9cdfe3a29303a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody2340080572115957932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_28_11_5422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aaa56651283db0bc5312bba35c1ba0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5355847522455903373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_28_53_5383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd484df2306963f407c9f8986a0b6670.jpg","text":"TemporaryFile(/tmp/multipartBody2643324608153966933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_44_40_5486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f0c0eddd5e8d9bbbfc245bd788471a11.jpg","text":"TemporaryFile(/tmp/multipartBody2687483793606229247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575717279,"filename":"image_22012025_20_53_11_6444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667455","file1":"1330667452","file0":"1330667449","file4":"1330667462","file5":"1330667466","file3":"1330667458"},"map_files_photo_id_array":[{"photo_id":"1330667466","filename":"file5"},{"photo_id":"1330667455","filename":"file2"},{"photo_id":"1330667462","filename":"file4"},{"photo_id":"1330667452","filename":"file1"},{"photo_id":"1330667449","filename":"file0"},{"photo_id":"1330667458","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667458":["hashtag1","hashtag2"]},{"1330667452":["hashtag1","hashtag2"]},{"1330667466":["hashtag1","hashtag2"]},{"1330667462":["hashtag1","hashtag2"]},{"1330667455":["hashtag1","hashtag2"]},{"1330667449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667458, 1330667452, 1330667466, 1330667462, 1330667455, 1330667449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.7252721786499 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:55:04.472042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/50/image_22012025_20_50_54_6634.jpg', '/media/data/images/22012025/20/28/image_22012025_20_28_06_6315.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_59_6548.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_17_6384.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_11_5639.jpg', '/media/data/images/22012025/20/27/image_22012025_20_27_05_5872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/50/image_22012025_20_50_54_6634.jpg
/media/data/images/22012025/20/28/image_22012025_20_28_06_6315.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_59_6548.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_17_6384.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_11_5639.jpg
/media/data/images/22012025/20/27/image_22012025_20_27_05_5872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667478","1330667489","1330667480","1330667492","1330667485","1330667482"],"photo_ids_order":["1330667478","1330667480","1330667482","1330667485","1330667489","1330667492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f68f4350b074562c7d36a39c0f34fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5750107083578990780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_50_54_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/22/57ebc6adaa4017345b252151a8be2225.jpg","text":"TemporaryFile(/tmp/multipartBody2724123634118556218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_27_11_5639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/14eddbc3712ec4b31539f8b2d5dda7f6.jpg","text":"TemporaryFile(/tmp/multipartBody1088846550213109615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_28_06_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/22/436bf2bad990af94126ec8ab71fc74e5.jpg","text":"TemporaryFile(/tmp/multipartBody46991051633263058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_27_05_5872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/85c83b71416536807bcf84f86ec5cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4678551420901402401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_27_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/22/51cf097642947e17c5beca4879d75178.jpg","text":"TemporaryFile(/tmp/multipartBody8884562998624876101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575775707,"filename":"image_22012025_20_27_59_6548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667482","file1":"1330667480","file0":"1330667478","file4":"1330667489","file5":"1330667492","file3":"1330667485"},"map_files_photo_id_array":[{"photo_id":"1330667492","filename":"file5"},{"photo_id":"1330667482","filename":"file2"},{"photo_id":"1330667489","filename":"file4"},{"photo_id":"1330667480","filename":"file1"},{"photo_id":"1330667478","filename":"file0"},{"photo_id":"1330667485","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667478":["hashtag1","hashtag2"]},{"1330667489":["hashtag1","hashtag2"]},{"1330667480":["hashtag1","hashtag2"]},{"1330667492":["hashtag1","hashtag2"]},{"1330667485":["hashtag1","hashtag2"]},{"1330667482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667478, 1330667489, 1330667480, 1330667492, 1330667485, 1330667482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.91639041900635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:56:03.794768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/54/image_22012025_20_54_54_7190.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_59_6488.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_18_6239.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_12_6389.jpg', '/media/data/images/22012025/20/26/image_22012025_20_26_05_6618.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_58_5354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/54/image_22012025_20_54_54_7190.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_59_6488.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_18_6239.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_12_6389.jpg
/media/data/images/22012025/20/26/image_22012025_20_26_05_6618.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_58_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":["1330667542","1330667550","1330667547","1330667544","1330667555","1330667560"],"photo_ids_order":["1330667542","1330667544","1330667547","1330667550","1330667555","1330667560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a08ea9320ac5195e157d4cd83b91d98f.jpg","text":"TemporaryFile(/tmp/multipartBody4502618160789856204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_54_54_7190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/517e018d727a296139ac5f68b60b2518.jpg","text":"TemporaryFile(/tmp/multipartBody5549032141403275496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_26_12_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/22/205c3ce9660ed4a6c875b143ada93820.jpg","text":"TemporaryFile(/tmp/multipartBody7487736944470687566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_26_18_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/22/c65528ef5f9b2c8a33a759eefe969052.jpg","text":"TemporaryFile(/tmp/multipartBody4813240593358327219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_26_59_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/22/9c20710392225f67d745c2c613efbe13.jpg","text":"TemporaryFile(/tmp/multipartBody5986625190097968501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_26_05_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/22/7417f79e419cd3b683a6c6d1695e9c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4064562464800569048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575838748,"filename":"image_22012025_20_25_58_5354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667547","file1":"1330667544","file0":"1330667542","file4":"1330667555","file5":"1330667560","file3":"1330667550"},"map_files_photo_id_array":[{"photo_id":"1330667560","filename":"file5"},{"photo_id":"1330667547","filename":"file2"},{"photo_id":"1330667555","filename":"file4"},{"photo_id":"1330667544","filename":"file1"},{"photo_id":"1330667542","filename":"file0"},{"photo_id":"1330667550","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667542":["hashtag1","hashtag2"]},{"1330667550":["hashtag1","hashtag2"]},{"1330667547":["hashtag1","hashtag2"]},{"1330667544":["hashtag1","hashtag2"]},{"1330667555":["hashtag1","hashtag2"]},{"1330667560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667542, 1330667550, 1330667547, 1330667544, 1330667555, 1330667560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.75445318222046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 20:57:04.723612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/56/image_22012025_20_56_53_6602.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_46_5335.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_41_6536.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_35_5291.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_29_6469.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_23_6030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/56/image_22012025_20_56_53_6602.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_46_5335.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_41_6536.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_35_5291.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_29_6469.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_23_6030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667656","1330667650","1330667644","1330667623","1330667631","1330667624"],"photo_ids_order":["1330667623","1330667624","1330667631","1330667644","1330667650","1330667656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de13cecf1d61475a456a6fd9131ce6ac.jpg","text":"TemporaryFile(/tmp/multipartBody1179594373962586575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_23_6030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/53596bd14fedd03b6fc798f3d06104e6.jpg","text":"TemporaryFile(/tmp/multipartBody5810491474818715915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_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/22/5fb0f8a53de6371f1b70423bfac5e091.jpg","text":"TemporaryFile(/tmp/multipartBody5769048787213020522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_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/22/ea535c91a82fe7d89190aab528335bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2605926434399525876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_53_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/22/356935c1d1212ba6f1bba789b6a2fad6.jpg","text":"TemporaryFile(/tmp/multipartBody6482540959105028127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_41_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/22/e180909426449197432cdc9ddb8ccf38.jpg","text":"TemporaryFile(/tmp/multipartBody1960683934904560556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737575893971,"filename":"image_22012025_20_56_46_5335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667631","file1":"1330667624","file0":"1330667623","file4":"1330667650","file5":"1330667656","file3":"1330667644"},"map_files_photo_id_array":[{"photo_id":"1330667656","filename":"file5"},{"photo_id":"1330667631","filename":"file2"},{"photo_id":"1330667650","filename":"file4"},{"photo_id":"1330667624","filename":"file1"},{"photo_id":"1330667623","filename":"file0"},{"photo_id":"1330667644","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667656":["hashtag1","hashtag2"]},{"1330667650":["hashtag1","hashtag2"]},{"1330667644":["hashtag1","hashtag2"]},{"1330667623":["hashtag1","hashtag2"]},{"1330667631":["hashtag1","hashtag2"]},{"1330667624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667656, 1330667650, 1330667644, 1330667623, 1330667631, 1330667624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47809386253357 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 20:59:04.660246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/58/image_22012025_20_58_53_6520.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_46_5345.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_41_6581.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_35_5230.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_29_6432.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_23_5233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/58/image_22012025_20_58_53_6520.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_46_5345.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_41_6581.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_35_5230.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_29_6432.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_23_5233.jpg
2025-01-22 20:59:04.499908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/00/image_22012025_07_00_12_7308.jpg', '/media/data/images/22012025/07/00/image_22012025_07_00_16_4765.jpg', '/media/data/images/22012025/07/00/image_22012025_07_00_28_5346.jpg', '/media/data/images/22012025/07/00/image_22012025_07_00_35_6579.jpg', '/media/data/images/22012025/07/00/image_22012025_07_00_47_5345.jpg', '/media/data/images/22012025/07/00/image_22012025_07_00_53_6615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/00/image_22012025_07_00_12_7308.jpg
/media/data/images/22012025/07/00/image_22012025_07_00_16_4765.jpg
/media/data/images/22012025/07/00/image_22012025_07_00_28_5346.jpg
/media/data/images/22012025/07/00/image_22012025_07_00_35_6579.jpg
/media/data/images/22012025/07/00/image_22012025_07_00_47_5345.jpg
/media/data/images/22012025/07/00/image_22012025_07_00_53_6615.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":["1330667875","1330667868","1330667859","1330667870","1330667863","1330667872"],"photo_ids_order":["1330667859","1330667863","1330667868","1330667870","1330667872","1330667875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cb42fca330d1d16d1049ed04dcd17c63.jpg","text":"TemporaryFile(/tmp/multipartBody2984339939439584645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_23_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/22/454ddee8fc7d0010e39639af41902364.jpg","text":"TemporaryFile(/tmp/multipartBody3234049798465974583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_41_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/22/bf9d0e81b6184d97444660407a6820b3.jpg","text":"TemporaryFile(/tmp/multipartBody483853604849596506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_53_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/22/acdeeade47086d8ee6f95730d7836340.jpg","text":"TemporaryFile(/tmp/multipartBody7090437910598848969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_35_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/22/d70f3c5ed8770d16cd0712b3a3319074.jpg","text":"TemporaryFile(/tmp/multipartBody5574015958117026022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_46_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/22/398d65859c4aa416b84f7bfdbf56ee49.jpg","text":"TemporaryFile(/tmp/multipartBody8385603018304685931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576025430,"filename":"image_22012025_20_58_29_6432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667868","file1":"1330667863","file0":"1330667859","file4":"1330667872","file5":"1330667875","file3":"1330667870"},"map_files_photo_id_array":[{"photo_id":"1330667875","filename":"file5"},{"photo_id":"1330667868","filename":"file2"},{"photo_id":"1330667872","filename":"file4"},{"photo_id":"1330667863","filename":"file1"},{"photo_id":"1330667859","filename":"file0"},{"photo_id":"1330667870","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667875":["hashtag1","hashtag2"]},{"1330667868":["hashtag1","hashtag2"]},{"1330667859":["hashtag1","hashtag2"]},{"1330667870":["hashtag1","hashtag2"]},{"1330667863":["hashtag1","hashtag2"]},{"1330667872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667875, 1330667868, 1330667859, 1330667870, 1330667863, 1330667872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.28802156448364 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330667985","1330667895","1330667891","1330667980","1330667899","1330667884"],"photo_ids_order":["1330667884","1330667891","1330667895","1330667899","1330667980","1330667985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2cd2f4fc3dff057420691b8be41b8805.jpg","text":"TemporaryFile(/tmp/multipartBody3567226558609064047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_53_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/22/162cac3cd6f189ad1b016bace12a3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8305476055717986183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_28_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/22/e6d87aa7f0a383d6b899f93e0ee4c235.jpg","text":"TemporaryFile(/tmp/multipartBody1318992623909309084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_16_4765.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c452043ae1afa2a8800e17a8f50541a.jpg","text":"TemporaryFile(/tmp/multipartBody2313675728173471280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_47_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/22/a503063df56544a231d2a99d3ba1e573.jpg","text":"TemporaryFile(/tmp/multipartBody8656150468466102183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_35_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/22/9e879755feddcfd25634dec0014c6332.jpg","text":"TemporaryFile(/tmp/multipartBody485957324135006204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576056983,"filename":"image_22012025_07_00_12_7308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330667895","file1":"1330667891","file0":"1330667884","file4":"1330667980","file5":"1330667985","file3":"1330667899"},"map_files_photo_id_array":[{"photo_id":"1330667985","filename":"file5"},{"photo_id":"1330667895","filename":"file2"},{"photo_id":"1330667980","filename":"file4"},{"photo_id":"1330667891","filename":"file1"},{"photo_id":"1330667884","filename":"file0"},{"photo_id":"1330667899","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330667985":["hashtag1","hashtag2"]},{"1330667895":["hashtag1","hashtag2"]},{"1330667891":["hashtag1","hashtag2"]},{"1330667980":["hashtag1","hashtag2"]},{"1330667899":["hashtag1","hashtag2"]},{"1330667884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330667985, 1330667895, 1330667891, 1330667980, 1330667899, 1330667884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.59528493881226 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:00:42.491710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/00/image_22012025_21_00_53_4948.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_48_7157.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_40_5769.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_35_4685.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_30_6852.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_23_6253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/00/image_22012025_21_00_53_4948.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_48_7157.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_40_5769.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_35_4685.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_30_6852.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_23_6253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330668019","1330668024","1330668027","1330668021","1330668029","1330668017"],"photo_ids_order":["1330668017","1330668019","1330668021","1330668024","1330668027","1330668029"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8d8ba721682af4c159a2bb0c3c4db59d.jpg","text":"TemporaryFile(/tmp/multipartBody5350835666665343195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_48_7157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26a2dc5c3c9f8e991c1aa8d5f7af87df.jpg","text":"TemporaryFile(/tmp/multipartBody544969107034131540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_35_4685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ab454112537ea0b78413e5ab325dc948.jpg","text":"TemporaryFile(/tmp/multipartBody6026864682933634248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_30_6852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/082d46de67a7c59852fbded50c8d1a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8784178406336744591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_40_5769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7764f07550828cdd37cfc296db841d58.jpg","text":"TemporaryFile(/tmp/multipartBody1158598377789176418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_23_6253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3d66fe74590724e6c1d4138444e01801.jpg","text":"TemporaryFile(/tmp/multipartBody2991821146527078218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576113347,"filename":"image_22012025_21_00_53_4948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330668021","file1":"1330668019","file0":"1330668017","file4":"1330668027","file5":"1330668029","file3":"1330668024"},"map_files_photo_id_array":[{"photo_id":"1330668029","filename":"file5"},{"photo_id":"1330668021","filename":"file2"},{"photo_id":"1330668027","filename":"file4"},{"photo_id":"1330668019","filename":"file1"},{"photo_id":"1330668017","filename":"file0"},{"photo_id":"1330668024","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330668019":["hashtag1","hashtag2"]},{"1330668024":["hashtag1","hashtag2"]},{"1330668027":["hashtag1","hashtag2"]},{"1330668021":["hashtag1","hashtag2"]},{"1330668029":["hashtag1","hashtag2"]},{"1330668017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330668019, 1330668024, 1330668027, 1330668021, 1330668029, 1330668017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.88868737220764 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:01:42.395173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/01/image_22012025_21_01_53_5631.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_48_5996.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_41_6530.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_35_5258.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_29_6514.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_23_5288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/01/image_22012025_21_01_53_5631.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_48_5996.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_41_6530.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_35_5258.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_29_6514.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_23_5288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330668060","1330668054","1330668063","1330668057","1330668051","1330668062"],"photo_ids_order":["1330668051","1330668054","1330668057","1330668060","1330668062","1330668063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a63df60d99d7c3a69d3afe947bcd75f6.jpg","text":"TemporaryFile(/tmp/multipartBody3991348293635267205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_35_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/22/f1cddf95f4c645016805c5456b19d899.jpg","text":"TemporaryFile(/tmp/multipartBody6505370455523401109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_48_5996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8bec66a28f844b2a8ba1ed2d03f5d0d4.jpg","text":"TemporaryFile(/tmp/multipartBody6688631437020094173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_23_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/22/507147086049ff342803ec01f20e8b68.jpg","text":"TemporaryFile(/tmp/multipartBody2666978887885305403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_41_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/22/2d21ebfd56325ce4c94dff6dc2ee3f39.jpg","text":"TemporaryFile(/tmp/multipartBody1853258555335395224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_53_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c41323f9cb92f26748e176c97662aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1033226852929109252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576171586,"filename":"image_22012025_21_01_29_6514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330668057","file1":"1330668054","file0":"1330668051","file4":"1330668062","file5":"1330668063","file3":"1330668060"},"map_files_photo_id_array":[{"photo_id":"1330668063","filename":"file5"},{"photo_id":"1330668057","filename":"file2"},{"photo_id":"1330668062","filename":"file4"},{"photo_id":"1330668054","filename":"file1"},{"photo_id":"1330668051","filename":"file0"},{"photo_id":"1330668060","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330668060":["hashtag1","hashtag2"]},{"1330668054":["hashtag1","hashtag2"]},{"1330668063":["hashtag1","hashtag2"]},{"1330668057":["hashtag1","hashtag2"]},{"1330668051":["hashtag1","hashtag2"]},{"1330668062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330668060, 1330668054, 1330668063, 1330668057, 1330668051, 1330668062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29883122444153 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:02:42.713324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/02/image_22012025_21_02_53_6894.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_47_6011.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_41_5267.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_35_6479.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_29_6491.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_22_5255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/02/image_22012025_21_02_53_6894.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_47_6011.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_41_5267.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_35_6479.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_29_6491.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_22_5255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330668653","1330668701","1330668707","1330668676","1330668679","1330668706"],"photo_ids_order":["1330668653","1330668676","1330668679","1330668701","1330668706","1330668707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02e1e922d23172ea68cbd6e09d121360.jpg","text":"TemporaryFile(/tmp/multipartBody1809939387444212442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_53_6894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/06d6d0463bfc66afe312828bcbdd7c53.jpg","text":"TemporaryFile(/tmp/multipartBody5126812833133094213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_35_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/22/54cc866ef16b95701ccd98042331fef2.jpg","text":"TemporaryFile(/tmp/multipartBody1136677493407640300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_22_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/22/be2f07d8c18e6d796d13022cf09f10c4.jpg","text":"TemporaryFile(/tmp/multipartBody2117011836620073435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_47_6011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69ddb77a5fabec6b9533ebf0103aca44.jpg","text":"TemporaryFile(/tmp/multipartBody1257088589230036619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_41_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/22/5955f0807f7568b68c66fa4768ad480f.jpg","text":"TemporaryFile(/tmp/multipartBody4711122433624783214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576238313,"filename":"image_22012025_21_02_29_6491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330668679","file1":"1330668676","file0":"1330668653","file4":"1330668706","file5":"1330668707","file3":"1330668701"},"map_files_photo_id_array":[{"photo_id":"1330668707","filename":"file5"},{"photo_id":"1330668679","filename":"file2"},{"photo_id":"1330668706","filename":"file4"},{"photo_id":"1330668676","filename":"file1"},{"photo_id":"1330668653","filename":"file0"},{"photo_id":"1330668701","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330668653":["hashtag1","hashtag2"]},{"1330668701":["hashtag1","hashtag2"]},{"1330668707":["hashtag1","hashtag2"]},{"1330668676":["hashtag1","hashtag2"]},{"1330668679":["hashtag1","hashtag2"]},{"1330668706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330668653, 1330668701, 1330668707, 1330668676, 1330668679, 1330668706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.53099083900452 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:03:42.738828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/03/image_22012025_21_03_53_6434.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_47_5771.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_41_6518.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_35_5318.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_29_6619.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_23_6501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/03/image_22012025_21_03_53_6434.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_47_5771.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_41_6518.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_35_5318.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_29_6619.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_23_6501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330669256","1330669259","1330669250","1330669019","1330669191","1330668996"],"photo_ids_order":["1330668996","1330669019","1330669191","1330669250","1330669256","1330669259"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e107437b91b287ea00d7fe050ca78e6.jpg","text":"TemporaryFile(/tmp/multipartBody7766400971006124917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_29_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/22/78b4385e5f1a1cc8e940fef54eaf2490.jpg","text":"TemporaryFile(/tmp/multipartBody5207920601540371413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_23_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/22/916064b9065f2cca6c0e4ac776e04b77.jpg","text":"TemporaryFile(/tmp/multipartBody2488922292656163185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_35_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/22/ae07266f458c947a57b3db2e26f980e7.jpg","text":"TemporaryFile(/tmp/multipartBody3121560712312424084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_47_5771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/878cd2ed214c9c239cc6c303c19467ae.jpg","text":"TemporaryFile(/tmp/multipartBody7661170052030120141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_41_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/22/0b56cd32f62b17d34215f2dc7f96a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody3802569672572387213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576307147,"filename":"image_22012025_21_03_53_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669191","file1":"1330669019","file0":"1330668996","file4":"1330669256","file5":"1330669259","file3":"1330669250"},"map_files_photo_id_array":[{"photo_id":"1330669259","filename":"file5"},{"photo_id":"1330669191","filename":"file2"},{"photo_id":"1330669256","filename":"file4"},{"photo_id":"1330669019","filename":"file1"},{"photo_id":"1330668996","filename":"file0"},{"photo_id":"1330669250","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669256":["hashtag1","hashtag2"]},{"1330669259":["hashtag1","hashtag2"]},{"1330669250":["hashtag1","hashtag2"]},{"1330669019":["hashtag1","hashtag2"]},{"1330669191":["hashtag1","hashtag2"]},{"1330668996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669256, 1330669259, 1330669250, 1330669019, 1330669191, 1330668996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.538134813308716 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:04:41.933198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/04/image_22012025_21_04_59_6017.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_41_5351.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_35_6561.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_29_6510.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_22_5286.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_17_6470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/04/image_22012025_21_04_59_6017.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_41_5351.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_35_6561.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_29_6510.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_22_5286.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_17_6470.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.692218780517578 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-22 21:05:02.350473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/04/image_22012025_21_04_59_6017.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_41_5351.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_35_6561.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_29_6510.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_22_5286.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_17_6470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/04/image_22012025_21_04_59_6017.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_41_5351.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_35_6561.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_29_6510.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_22_5286.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_17_6470.jpg
2025-01-22 21:05:02.431810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/00/image_22012025_07_00_59_5385.jpg', '/media/data/images/22012025/07/01/image_22012025_07_01_05_6433.jpg', '/media/data/images/22012025/07/01/image_22012025_07_01_11_5425.jpg', '/media/data/images/22012025/07/01/image_22012025_07_01_17_6611.jpg', '/media/data/images/22012025/07/01/image_22012025_07_01_53_6613.jpg', '/media/data/images/22012025/07/02/image_22012025_07_02_23_5380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/00/image_22012025_07_00_59_5385.jpg
/media/data/images/22012025/07/01/image_22012025_07_01_05_6433.jpg
/media/data/images/22012025/07/01/image_22012025_07_01_11_5425.jpg
/media/data/images/22012025/07/01/image_22012025_07_01_17_6611.jpg
/media/data/images/22012025/07/01/image_22012025_07_01_53_6613.jpg
/media/data/images/22012025/07/02/image_22012025_07_02_23_5380.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":["1330669500","1330669463","1330669396","1330669459","1330669447","1330669435"],"photo_ids_order":["1330669396","1330669435","1330669447","1330669459","1330669463","1330669500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49f29d4c31ed26d2ff8a187146aa1a6f.jpg","text":"TemporaryFile(/tmp/multipartBody543842657657986169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_17_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/22/39be9ba21bc9511ccbd9f26dd99cb60d.jpg","text":"TemporaryFile(/tmp/multipartBody1436222503973850352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_22_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/22/d4a4ab63a8e193eb359206b2fe4aab91.jpg","text":"TemporaryFile(/tmp/multipartBody5537332035896520235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_59_6017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/116e4ea73ed0509e75e2c3961f5980db.jpg","text":"TemporaryFile(/tmp/multipartBody3172832800362362339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_29_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/22/914890e0fe9780c71a222eef299c21f3.jpg","text":"TemporaryFile(/tmp/multipartBody2574919578905946585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_35_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/22/8ecf01135417eab39025bf6753b39e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5376028271624793812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576407394,"filename":"image_22012025_21_04_41_5351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669447","file1":"1330669435","file0":"1330669396","file4":"1330669463","file5":"1330669500","file3":"1330669459"},"map_files_photo_id_array":[{"photo_id":"1330669500","filename":"file5"},{"photo_id":"1330669447","filename":"file2"},{"photo_id":"1330669463","filename":"file4"},{"photo_id":"1330669435","filename":"file1"},{"photo_id":"1330669396","filename":"file0"},{"photo_id":"1330669459","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669500":["hashtag1","hashtag2"]},{"1330669463":["hashtag1","hashtag2"]},{"1330669396":["hashtag1","hashtag2"]},{"1330669459":["hashtag1","hashtag2"]},{"1330669447":["hashtag1","hashtag2"]},{"1330669435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669500, 1330669463, 1330669396, 1330669459, 1330669447, 1330669435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.41565036773682 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330669521","1330669509","1330669466","1330669553","1330669462","1330669450"],"photo_ids_order":["1330669450","1330669462","1330669466","1330669509","1330669521","1330669553"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5beff6b7946b07953e2e433714a09ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4919383930531756866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_01_53_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/22/e642c8cff2e3e245510140f67700d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3430358217611333667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_01_17_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/22/7dcccf5a3d3bbcddd57983b97778344a.jpg","text":"TemporaryFile(/tmp/multipartBody7256489039373206004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_01_11_5425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c795286133962aea08cdb8bcfb865801.jpg","text":"TemporaryFile(/tmp/multipartBody1555822896020813358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_02_23_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/22/fdc16defd2e307e44992b2c84356bebb.jpg","text":"TemporaryFile(/tmp/multipartBody2527492170040550571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_01_05_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/22/9bffe296c5b8a9839d6972fa06d9a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody1172133898307936270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576420445,"filename":"image_22012025_07_00_59_5385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669466","file1":"1330669462","file0":"1330669450","file4":"1330669521","file5":"1330669553","file3":"1330669509"},"map_files_photo_id_array":[{"photo_id":"1330669553","filename":"file5"},{"photo_id":"1330669466","filename":"file2"},{"photo_id":"1330669521","filename":"file4"},{"photo_id":"1330669462","filename":"file1"},{"photo_id":"1330669450","filename":"file0"},{"photo_id":"1330669509","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669521":["hashtag1","hashtag2"]},{"1330669509":["hashtag1","hashtag2"]},{"1330669466":["hashtag1","hashtag2"]},{"1330669553":["hashtag1","hashtag2"]},{"1330669462":["hashtag1","hashtag2"]},{"1330669450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669521, 1330669509, 1330669466, 1330669553, 1330669462, 1330669450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.87810158729553 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:06:42.211534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/04/image_22012025_21_04_11_5088.jpg', '/media/data/images/22012025/21/04/image_22012025_21_04_06_7077.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_58_4927.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_16_5217.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_11_5842.jpg', '/media/data/images/22012025/21/03/image_22012025_21_03_05_6511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/04/image_22012025_21_04_11_5088.jpg
/media/data/images/22012025/21/04/image_22012025_21_04_06_7077.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_58_4927.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_16_5217.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_11_5842.jpg
/media/data/images/22012025/21/03/image_22012025_21_03_05_6511.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":["1330669656","1330669650","1330669644","1330669646","1330669642","1330669653"],"photo_ids_order":["1330669642","1330669644","1330669646","1330669650","1330669653","1330669656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef2f6e225a3b99c96481295511c7cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody4640356565806527925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_03_05_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/22/2ffbc5683ea658104a08d6ada6852f4b.jpg","text":"TemporaryFile(/tmp/multipartBody1720684552542141293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_03_16_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/22/2a5d21dab8e08c9d19b2686978d4a32c.jpg","text":"TemporaryFile(/tmp/multipartBody2300237724148194935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_04_06_7077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5787dc6ebf2d69d87921038d079df9a.jpg","text":"TemporaryFile(/tmp/multipartBody8136196217631754885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_03_58_4927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/98e9f223f1144372e05f88cc0a3c508a.jpg","text":"TemporaryFile(/tmp/multipartBody9184694030481766562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_04_11_5088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a17a77d2182bcf78f3d8d26a125ec0a.jpg","text":"TemporaryFile(/tmp/multipartBody822424437157083262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576490806,"filename":"image_22012025_21_03_11_5842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669646","file1":"1330669644","file0":"1330669642","file4":"1330669653","file5":"1330669656","file3":"1330669650"},"map_files_photo_id_array":[{"photo_id":"1330669656","filename":"file5"},{"photo_id":"1330669646","filename":"file2"},{"photo_id":"1330669653","filename":"file4"},{"photo_id":"1330669644","filename":"file1"},{"photo_id":"1330669642","filename":"file0"},{"photo_id":"1330669650","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669656":["hashtag1","hashtag2"]},{"1330669650":["hashtag1","hashtag2"]},{"1330669644":["hashtag1","hashtag2"]},{"1330669646":["hashtag1","hashtag2"]},{"1330669642":["hashtag1","hashtag2"]},{"1330669653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669656, 1330669650, 1330669644, 1330669646, 1330669642, 1330669653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.67392563819885 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:08:02.655888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/02/image_22012025_21_02_59_5244.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_17_6486.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_11_5318.jpg', '/media/data/images/22012025/21/02/image_22012025_21_02_05_5790.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_59_6796.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_17_6835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/02/image_22012025_21_02_59_5244.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_17_6486.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_11_5318.jpg
/media/data/images/22012025/21/02/image_22012025_21_02_05_5790.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_59_6796.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_17_6835.jpg
2025-01-22 21:08:02.674771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/02/image_22012025_07_02_41_6619.jpg', '/media/data/images/22012025/07/02/image_22012025_07_02_53_6619.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_05_6614.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_29_6572.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_34_5315.jpg', '/media/data/images/22012025/07/04/image_22012025_07_04_17_6581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/02/image_22012025_07_02_41_6619.jpg
/media/data/images/22012025/07/02/image_22012025_07_02_53_6619.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_05_6614.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_29_6572.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_34_5315.jpg
/media/data/images/22012025/07/04/image_22012025_07_04_17_6581.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: 59.22789812088013 secondes ---
 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":["1330669697","1330669700","1330669690","1330669703","1330669693","1330669687"],"photo_ids_order":["1330669687","1330669690","1330669693","1330669697","1330669700","1330669703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/149688dc6155dcd17b88916aa6ce8f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8262416200183538547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_02_05_5790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/15ab8f565eb4183ed3fd0c3590d9429a.jpg","text":"TemporaryFile(/tmp/multipartBody8152471253208142694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_01_59_6796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a27390ca67df5800dea302f0ab7699b.jpg","text":"TemporaryFile(/tmp/multipartBody3277279773269989971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_02_17_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/22/bd43d35d45424882770c851ffe74e559.jpg","text":"TemporaryFile(/tmp/multipartBody4601207938522473171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_01_17_6835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/15642a8a46718bd3d929d67666d2d3df.jpg","text":"TemporaryFile(/tmp/multipartBody8345545536172225336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_02_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/22/83b0e15cc32af619d8ace0df51591c94.jpg","text":"TemporaryFile(/tmp/multipartBody803394921574535892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576576655,"filename":"image_22012025_21_02_59_5244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669693","file1":"1330669690","file0":"1330669687","file4":"1330669700","file5":"1330669703","file3":"1330669697"},"map_files_photo_id_array":[{"photo_id":"1330669703","filename":"file5"},{"photo_id":"1330669693","filename":"file2"},{"photo_id":"1330669700","filename":"file4"},{"photo_id":"1330669690","filename":"file1"},{"photo_id":"1330669687","filename":"file0"},{"photo_id":"1330669697","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669697":["hashtag1","hashtag2"]},{"1330669700":["hashtag1","hashtag2"]},{"1330669690":["hashtag1","hashtag2"]},{"1330669703":["hashtag1","hashtag2"]},{"1330669693":["hashtag1","hashtag2"]},{"1330669687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669697, 1330669700, 1330669690, 1330669703, 1330669693, 1330669687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.84660768508911 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:09:22.700972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/21/01/image_22012025_21_01_11_6196.jpg', '/media/data/images/22012025/21/01/image_22012025_21_01_05_5806.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_59_6075.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_17_4932.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_13_6105.jpg', '/media/data/images/22012025/21/00/image_22012025_21_00_06_6800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/21/01/image_22012025_21_01_11_6196.jpg
/media/data/images/22012025/21/01/image_22012025_21_01_05_5806.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_59_6075.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_17_4932.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_13_6105.jpg
/media/data/images/22012025/21/00/image_22012025_21_00_06_6800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330669911","1330669874","1330669910","1330669907","1330669915","1330669878"],"photo_ids_order":["1330669874","1330669878","1330669907","1330669910","1330669911","1330669915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9945731720493db9e48c999eb9970939.jpg","text":"TemporaryFile(/tmp/multipartBody6453752979539416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_00_13_6105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b45f5aad9c242b25700ae7957b717e90.jpg","text":"TemporaryFile(/tmp/multipartBody765513186587986255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_01_11_6196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d6f8d46dd2a6e06ce3c912fc1c22e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody7722807395651076114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_00_17_4932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f2e2991ed082a33cce5116af18b9d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody1047440506442783689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_00_59_6075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4107c78d6ab2ad1bc5103d35444be150.jpg","text":"TemporaryFile(/tmp/multipartBody5708866312166937700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_00_06_6800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/535f6b82b389c04d26381601dfd8c25d.jpg","text":"TemporaryFile(/tmp/multipartBody6145891504824841566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576637474,"filename":"image_22012025_21_01_05_5806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669907","file1":"1330669878","file0":"1330669874","file4":"1330669911","file5":"1330669915","file3":"1330669910"},"map_files_photo_id_array":[{"photo_id":"1330669915","filename":"file5"},{"photo_id":"1330669907","filename":"file2"},{"photo_id":"1330669911","filename":"file4"},{"photo_id":"1330669878","filename":"file1"},{"photo_id":"1330669874","filename":"file0"},{"photo_id":"1330669910","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669911":["hashtag1","hashtag2"]},{"1330669874":["hashtag1","hashtag2"]},{"1330669910":["hashtag1","hashtag2"]},{"1330669907":["hashtag1","hashtag2"]},{"1330669915":["hashtag1","hashtag2"]},{"1330669878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669911, 1330669874, 1330669910, 1330669907, 1330669915, 1330669878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.98901867866516 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:10:21.869113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/59/image_22012025_20_59_59_6545.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_53_5319.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_47_6534.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_41_5300.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_35_6515.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_29_6485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/59/image_22012025_20_59_59_6545.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_53_5319.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_47_6534.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_41_5300.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_35_6515.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_29_6485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330669967","1330669976","1330669961","1330669979","1330669948","1330669983"],"photo_ids_order":["1330669948","1330669961","1330669967","1330669976","1330669979","1330669983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/22ad4a57f4640af589e5c454b7520f60.jpg","text":"TemporaryFile(/tmp/multipartBody1520073459955510713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_47_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/22/0a92f999f139c6d6dbbd671396ad0f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2576777562021540653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_41_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/22/a1944a36c858341de7cb6c36140804af.jpg","text":"TemporaryFile(/tmp/multipartBody7539546020185621253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_53_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/22/997f2d1de12379489e9e1b40a0631731.jpg","text":"TemporaryFile(/tmp/multipartBody3015555380158483732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_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/22/f3b0b20e1b48c4d54b665ac162cdaf42.jpg","text":"TemporaryFile(/tmp/multipartBody1489651212543672989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_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/22/5c3963239241c09e7619d0271d25a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody3467896962501437358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576700573,"filename":"image_22012025_20_59_29_6485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330669967","file1":"1330669961","file0":"1330669948","file4":"1330669979","file5":"1330669983","file3":"1330669976"},"map_files_photo_id_array":[{"photo_id":"1330669983","filename":"file5"},{"photo_id":"1330669967","filename":"file2"},{"photo_id":"1330669979","filename":"file4"},{"photo_id":"1330669961","filename":"file1"},{"photo_id":"1330669948","filename":"file0"},{"photo_id":"1330669976","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330669967":["hashtag1","hashtag2"]},{"1330669976":["hashtag1","hashtag2"]},{"1330669961":["hashtag1","hashtag2"]},{"1330669979":["hashtag1","hashtag2"]},{"1330669948":["hashtag1","hashtag2"]},{"1330669983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330669967, 1330669976, 1330669961, 1330669979, 1330669948, 1330669983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.04779243469238 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:11:22.012878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/59/image_22012025_20_59_22_5295.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_17_5682.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_12_6084.jpg', '/media/data/images/22012025/20/59/image_22012025_20_59_05_5803.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_59_6536.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_18_5762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/59/image_22012025_20_59_22_5295.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_17_5682.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_12_6084.jpg
/media/data/images/22012025/20/59/image_22012025_20_59_05_5803.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_59_6536.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_18_5762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670271","1330670223","1330670226","1330670279","1330670174","1330670263"],"photo_ids_order":["1330670174","1330670223","1330670226","1330670263","1330670271","1330670279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7d40c4e61365a42fa667c866284b0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8650574886337312996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_58_59_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/22/341051894d94aac98d3d03b3eb36d1be.jpg","text":"TemporaryFile(/tmp/multipartBody1414138836390562688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_59_17_5682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a61c57d38747af64dfab73c1748976c8.jpg","text":"TemporaryFile(/tmp/multipartBody6086259277453992288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_59_12_6084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03b9b76b18d1d2d7ed48c0929364b5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8046443591006114182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_58_18_5762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2282141ceacb40a3e503b327a50a3046.jpg","text":"TemporaryFile(/tmp/multipartBody9021810914179315438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_59_22_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/22/679d293fa1c43f61a7013107edf529ca.jpg","text":"TemporaryFile(/tmp/multipartBody8600014774009247430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576759811,"filename":"image_22012025_20_59_05_5803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670226","file1":"1330670223","file0":"1330670174","file4":"1330670271","file5":"1330670279","file3":"1330670263"},"map_files_photo_id_array":[{"photo_id":"1330670279","filename":"file5"},{"photo_id":"1330670226","filename":"file2"},{"photo_id":"1330670271","filename":"file4"},{"photo_id":"1330670223","filename":"file1"},{"photo_id":"1330670174","filename":"file0"},{"photo_id":"1330670263","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670271":["hashtag1","hashtag2"]},{"1330670223":["hashtag1","hashtag2"]},{"1330670226":["hashtag1","hashtag2"]},{"1330670279":["hashtag1","hashtag2"]},{"1330670174":["hashtag1","hashtag2"]},{"1330670263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670271, 1330670223, 1330670226, 1330670279, 1330670174, 1330670263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.92742991447449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:12:22.137406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/58/image_22012025_20_58_12_7456.jpg', '/media/data/images/22012025/20/58/image_22012025_20_58_05_5040.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_59_6510.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_53_6501.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_46_5353.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_41_6505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/58/image_22012025_20_58_12_7456.jpg
/media/data/images/22012025/20/58/image_22012025_20_58_05_5040.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_59_6510.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_53_6501.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_46_5353.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_41_6505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670466","1330670481","1330670502","1330670495","1330670508","1330670413"],"photo_ids_order":["1330670413","1330670466","1330670481","1330670495","1330670502","1330670508"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/901493ffd320e5fc31216c8217c440c8.jpg","text":"TemporaryFile(/tmp/multipartBody4197365996452920048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_58_05_5040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b2a03338726a43d330ef25dfd80e30d.jpg","text":"TemporaryFile(/tmp/multipartBody742272210450720051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_57_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/22/46c27324e0c2578f796f752958ff8fca.jpg","text":"TemporaryFile(/tmp/multipartBody2565145609417559760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_57_46_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/22/7b8e466f15a5ad0276b1d2cc1e172eba.jpg","text":"TemporaryFile(/tmp/multipartBody5123224365859929904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_57_53_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/22/8f7da8cd2a620a4a4ac603827d358f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5889435365668564917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_57_41_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/22/ef660d66267813881d789ef8fb3b5bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7348105924387345141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576808815,"filename":"image_22012025_20_58_12_7456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670481","file1":"1330670466","file0":"1330670413","file4":"1330670502","file5":"1330670508","file3":"1330670495"},"map_files_photo_id_array":[{"photo_id":"1330670508","filename":"file5"},{"photo_id":"1330670481","filename":"file2"},{"photo_id":"1330670502","filename":"file4"},{"photo_id":"1330670466","filename":"file1"},{"photo_id":"1330670413","filename":"file0"},{"photo_id":"1330670495","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670466":["hashtag1","hashtag2"]},{"1330670481":["hashtag1","hashtag2"]},{"1330670502":["hashtag1","hashtag2"]},{"1330670495":["hashtag1","hashtag2"]},{"1330670508":["hashtag1","hashtag2"]},{"1330670413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670466, 1330670481, 1330670502, 1330670495, 1330670508, 1330670413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.736961364746094 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:13:22.297299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/57/image_22012025_20_57_34_5347.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_29_6521.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_23_6306.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_17_5448.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_11_5485.jpg', '/media/data/images/22012025/20/57/image_22012025_20_57_06_7066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/57/image_22012025_20_57_34_5347.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_29_6521.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_23_6306.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_17_5448.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_11_5485.jpg
/media/data/images/22012025/20/57/image_22012025_20_57_06_7066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670589","1330670597","1330670591","1330670599","1330670587","1330670581"],"photo_ids_order":["1330670581","1330670587","1330670589","1330670591","1330670597","1330670599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e89b04792ff7b0a671cf227a667fba40.jpg","text":"TemporaryFile(/tmp/multipartBody984794797273879512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_23_6306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7ab14e2631f9ba6574db22c806b0b1ff.jpg","text":"TemporaryFile(/tmp/multipartBody4274929127459488330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_11_5485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e51f86e0dcb65df3e8b62d01c39e601.jpg","text":"TemporaryFile(/tmp/multipartBody5248567526441074882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_17_5448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2e768628b3718c073d2a1bf057be1d35.jpg","text":"TemporaryFile(/tmp/multipartBody8597736300069328039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_06_7066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b100d987958938759e2619ceeb9b589.jpg","text":"TemporaryFile(/tmp/multipartBody3720137922410728417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_29_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/22/a19cc0151d61d047b98bb81c6061a505.jpg","text":"TemporaryFile(/tmp/multipartBody4561098299942821289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576869750,"filename":"image_22012025_20_57_34_5347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670589","file1":"1330670587","file0":"1330670581","file4":"1330670597","file5":"1330670599","file3":"1330670591"},"map_files_photo_id_array":[{"photo_id":"1330670599","filename":"file5"},{"photo_id":"1330670589","filename":"file2"},{"photo_id":"1330670597","filename":"file4"},{"photo_id":"1330670587","filename":"file1"},{"photo_id":"1330670581","filename":"file0"},{"photo_id":"1330670591","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670589":["hashtag1","hashtag2"]},{"1330670597":["hashtag1","hashtag2"]},{"1330670591":["hashtag1","hashtag2"]},{"1330670599":["hashtag1","hashtag2"]},{"1330670587":["hashtag1","hashtag2"]},{"1330670581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670589, 1330670597, 1330670591, 1330670599, 1330670587, 1330670581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.390183448791504 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:14:22.426928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/56/image_22012025_20_56_58_5309.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_17_6347.jpg', '/media/data/images/22012025/20/56/image_22012025_20_56_11_4737.jpg', '/media/data/images/22012025/20/55/image_22012025_20_55_11_5966.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_47_5283.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_41_6521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/56/image_22012025_20_56_58_5309.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_17_6347.jpg
/media/data/images/22012025/20/56/image_22012025_20_56_11_4737.jpg
/media/data/images/22012025/20/55/image_22012025_20_55_11_5966.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_47_5283.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_41_6521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670614","1330670639","1330670630","1330670627","1330670618","1330670635"],"photo_ids_order":["1330670614","1330670618","1330670627","1330670630","1330670635","1330670639"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2c31c6f4bc75677d1a49b414f1d1460.jpg","text":"TemporaryFile(/tmp/multipartBody3466049477315720448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_56_58_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/22/9c0d436a7e4f6d0e5e6a33a32839d69b.jpg","text":"TemporaryFile(/tmp/multipartBody7461030168291250451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_25_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/22/f9b4de8075a3a14e282dc246a36c2cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3564250084080341267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_55_11_5966.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2db048343684ec292d101c5ba08f9ea8.jpg","text":"TemporaryFile(/tmp/multipartBody3015438737094034896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_56_11_4737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/908a9b028d450100ff1fa7d5956a2a35.jpg","text":"TemporaryFile(/tmp/multipartBody1822908225648169589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_56_17_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/22/c5adf07558a25de82d2ff7681dde98fc.jpg","text":"TemporaryFile(/tmp/multipartBody792111092324076160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576931237,"filename":"image_22012025_20_25_47_5283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670627","file1":"1330670618","file0":"1330670614","file4":"1330670635","file5":"1330670639","file3":"1330670630"},"map_files_photo_id_array":[{"photo_id":"1330670639","filename":"file5"},{"photo_id":"1330670627","filename":"file2"},{"photo_id":"1330670635","filename":"file4"},{"photo_id":"1330670618","filename":"file1"},{"photo_id":"1330670614","filename":"file0"},{"photo_id":"1330670630","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670614":["hashtag1","hashtag2"]},{"1330670639":["hashtag1","hashtag2"]},{"1330670630":["hashtag1","hashtag2"]},{"1330670627":["hashtag1","hashtag2"]},{"1330670618":["hashtag1","hashtag2"]},{"1330670635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670614, 1330670639, 1330670630, 1330670627, 1330670618, 1330670635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.758402585983276 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:15:22.625158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/25/image_22012025_20_25_35_5298.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_30_5796.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_24_6363.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_18_6480.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_11_5484.jpg', '/media/data/images/22012025/20/25/image_22012025_20_25_06_6538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/25/image_22012025_20_25_35_5298.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_30_5796.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_24_6363.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_18_6480.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_11_5484.jpg
/media/data/images/22012025/20/25/image_22012025_20_25_06_6538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670766","1330670811","1330670655","1330670660","1330670762","1330670657"],"photo_ids_order":["1330670655","1330670657","1330670660","1330670762","1330670766","1330670811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/72e4fb31958049f743ab9fb3d1abf0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6913365194234392074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_11_5484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed93979b3edbd4c1a3b8a0affb4a5d20.jpg","text":"TemporaryFile(/tmp/multipartBody2807470117967504552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_06_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/22/a295fa9d9715723925b00a5603fe46cc.jpg","text":"TemporaryFile(/tmp/multipartBody1675162264464088441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_35_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/22/adbe4bd30b06ab02a5f800cbdda8a949.jpg","text":"TemporaryFile(/tmp/multipartBody272445678401652999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_24_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/22/3fcab3cf7a925c80d77cc8371c5f1d01.jpg","text":"TemporaryFile(/tmp/multipartBody4065249056629770854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_18_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/22/89110715a323e94358019ef13ab96621.jpg","text":"TemporaryFile(/tmp/multipartBody1430166986151046315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737576989381,"filename":"image_22012025_20_25_30_5796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670660","file1":"1330670657","file0":"1330670655","file4":"1330670766","file5":"1330670811","file3":"1330670762"},"map_files_photo_id_array":[{"photo_id":"1330670811","filename":"file5"},{"photo_id":"1330670660","filename":"file2"},{"photo_id":"1330670766","filename":"file4"},{"photo_id":"1330670657","filename":"file1"},{"photo_id":"1330670655","filename":"file0"},{"photo_id":"1330670762","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670766":["hashtag1","hashtag2"]},{"1330670811":["hashtag1","hashtag2"]},{"1330670655":["hashtag1","hashtag2"]},{"1330670660":["hashtag1","hashtag2"]},{"1330670762":["hashtag1","hashtag2"]},{"1330670657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670766, 1330670811, 1330670655, 1330670660, 1330670762, 1330670657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.9199275970459 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:16:22.713895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/24/image_22012025_20_24_59_5318.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_23_6830.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_12_7078.jpg', '/media/data/images/22012025/20/24/image_22012025_20_24_05_5853.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_59_6510.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_17_5864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/24/image_22012025_20_24_59_5318.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_23_6830.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_12_7078.jpg
/media/data/images/22012025/20/24/image_22012025_20_24_05_5853.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_59_6510.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_17_5864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330670961","1330670966","1330670963","1330670971","1330670968","1330670938"],"photo_ids_order":["1330670938","1330670961","1330670963","1330670966","1330670968","1330670971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/06bd02aafe6157c83059419fb1318321.jpg","text":"TemporaryFile(/tmp/multipartBody6762656930178912557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_24_23_6830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/64d93d5dd9dcde72088cc44c47d97a56.jpg","text":"TemporaryFile(/tmp/multipartBody8592313699728781322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_24_05_5853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0cf3105086545abe8bb4aebae4b46c09.jpg","text":"TemporaryFile(/tmp/multipartBody8836954751688334743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_24_12_7078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b22d38e89020b3dbee82d39dc5544f5.jpg","text":"TemporaryFile(/tmp/multipartBody3913796348103370814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_23_17_5864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7886dceebf44a158d60475595bd36848.jpg","text":"TemporaryFile(/tmp/multipartBody7172735243923047880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_23_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/22/d2f1a3fc7733fe56a6177bfff156110f.jpg","text":"TemporaryFile(/tmp/multipartBody6138803625294066644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577053758,"filename":"image_22012025_20_24_59_5318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330670963","file1":"1330670961","file0":"1330670938","file4":"1330670968","file5":"1330670971","file3":"1330670966"},"map_files_photo_id_array":[{"photo_id":"1330670971","filename":"file5"},{"photo_id":"1330670963","filename":"file2"},{"photo_id":"1330670968","filename":"file4"},{"photo_id":"1330670961","filename":"file1"},{"photo_id":"1330670938","filename":"file0"},{"photo_id":"1330670966","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330670961":["hashtag1","hashtag2"]},{"1330670966":["hashtag1","hashtag2"]},{"1330670963":["hashtag1","hashtag2"]},{"1330670971":["hashtag1","hashtag2"]},{"1330670968":["hashtag1","hashtag2"]},{"1330670938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330670961, 1330670966, 1330670963, 1330670971, 1330670968, 1330670938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5707151889801 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:17:21.843751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/23/image_22012025_20_23_12_6886.jpg', '/media/data/images/22012025/20/23/image_22012025_20_23_05_5621.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_59_5302.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_12_5717.jpg', '/media/data/images/22012025/20/22/image_22012025_20_22_06_6545.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_59_6804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/23/image_22012025_20_23_12_6886.jpg
/media/data/images/22012025/20/23/image_22012025_20_23_05_5621.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_59_5302.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_12_5717.jpg
/media/data/images/22012025/20/22/image_22012025_20_22_06_6545.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_59_6804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330671012","1330671000","1330671002","1330671005","1330671025","1330671022"],"photo_ids_order":["1330671000","1330671002","1330671005","1330671012","1330671022","1330671025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d10c05f2b571fc15c80fd3594f626d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7004155773901912608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_22_12_5717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5bf18893cf137b849fceef9876ff5982.jpg","text":"TemporaryFile(/tmp/multipartBody7666661059340651040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_23_12_6886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb0e85ac6fd9f2515e7ad23840cfe747.jpg","text":"TemporaryFile(/tmp/multipartBody9188807685567526842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_23_05_5621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4c6606e19cde186b65148eefaf989c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7144773299813618216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_22_59_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/22/45235697a197b6f945eaa4132238f62f.jpg","text":"TemporaryFile(/tmp/multipartBody3551683345520363738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_21_59_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9fef8fae71d1eff2121351476bd8ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6977347049858785488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577113113,"filename":"image_22012025_20_22_06_6545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671005","file1":"1330671002","file0":"1330671000","file4":"1330671022","file5":"1330671025","file3":"1330671012"},"map_files_photo_id_array":[{"photo_id":"1330671025","filename":"file5"},{"photo_id":"1330671005","filename":"file2"},{"photo_id":"1330671022","filename":"file4"},{"photo_id":"1330671002","filename":"file1"},{"photo_id":"1330671000","filename":"file0"},{"photo_id":"1330671012","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671012":["hashtag1","hashtag2"]},{"1330671000":["hashtag1","hashtag2"]},{"1330671002":["hashtag1","hashtag2"]},{"1330671005":["hashtag1","hashtag2"]},{"1330671025":["hashtag1","hashtag2"]},{"1330671022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671012, 1330671000, 1330671002, 1330671005, 1330671025, 1330671022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80232381820679 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:18:21.999121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/21/image_22012025_20_21_17_5684.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_11_6191.jpg', '/media/data/images/22012025/20/21/image_22012025_20_21_05_6076.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_59_6105.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_11_4952.jpg', '/media/data/images/22012025/20/20/image_22012025_20_20_06_6110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/21/image_22012025_20_21_17_5684.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_11_6191.jpg
/media/data/images/22012025/20/21/image_22012025_20_21_05_6076.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_59_6105.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_11_4952.jpg
/media/data/images/22012025/20/20/image_22012025_20_20_06_6110.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":["1330671114","1330671108","1330671110","1330671112","1330671106","1330671109"],"photo_ids_order":["1330671106","1330671108","1330671109","1330671110","1330671112","1330671114"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d3e47d334b55cec659fef538ea53f0d.jpg","text":"TemporaryFile(/tmp/multipartBody3865999653791504549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_20_06_6110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fd71ad51a89e962cf91997ecc62b476f.jpg","text":"TemporaryFile(/tmp/multipartBody1705543805566370448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_21_11_6191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8987c3485226940dd5376f042818f813.jpg","text":"TemporaryFile(/tmp/multipartBody4225766710280588581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_20_59_6105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bbbf11fe19f1b65cf6b993de2f6c23de.jpg","text":"TemporaryFile(/tmp/multipartBody9020931566808587465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_20_11_4952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b71dc33a3bd841dd077e620ad25c66c.jpg","text":"TemporaryFile(/tmp/multipartBody1552469814347184246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_21_17_5684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0875a6946b26b8cd123506e0ff877e30.jpg","text":"TemporaryFile(/tmp/multipartBody5549250318381497588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577205888,"filename":"image_22012025_20_21_05_6076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671109","file1":"1330671108","file0":"1330671106","file4":"1330671112","file5":"1330671114","file3":"1330671110"},"map_files_photo_id_array":[{"photo_id":"1330671114","filename":"file5"},{"photo_id":"1330671109","filename":"file2"},{"photo_id":"1330671112","filename":"file4"},{"photo_id":"1330671108","filename":"file1"},{"photo_id":"1330671106","filename":"file0"},{"photo_id":"1330671110","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671114":["hashtag1","hashtag2"]},{"1330671108":["hashtag1","hashtag2"]},{"1330671110":["hashtag1","hashtag2"]},{"1330671112":["hashtag1","hashtag2"]},{"1330671106":["hashtag1","hashtag2"]},{"1330671109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671114, 1330671108, 1330671110, 1330671112, 1330671106, 1330671109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.93801689147949 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:20:02.402046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/02/image_22012025_07_02_41_6619.jpg', '/media/data/images/22012025/07/02/image_22012025_07_02_53_6619.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_05_6614.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_29_6572.jpg', '/media/data/images/22012025/07/03/image_22012025_07_03_34_5315.jpg', '/media/data/images/22012025/07/04/image_22012025_07_04_17_6581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/02/image_22012025_07_02_41_6619.jpg
/media/data/images/22012025/07/02/image_22012025_07_02_53_6619.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_05_6614.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_29_6572.jpg
/media/data/images/22012025/07/03/image_22012025_07_03_34_5315.jpg
/media/data/images/22012025/07/04/image_22012025_07_04_17_6581.jpg
2025-01-22 21:20:02.450795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/19/image_22012025_20_19_59_5770.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_17_6964.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_10_6008.jpg', '/media/data/images/22012025/20/19/image_22012025_20_19_04_4970.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_59_6508.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_17_5857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/19/image_22012025_20_19_59_5770.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_17_6964.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_10_6008.jpg
/media/data/images/22012025/20/19/image_22012025_20_19_04_4970.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_59_6508.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_17_5857.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":["1330671227","1330671215","1330671218","1330671223","1330671232","1330671198"],"photo_ids_order":["1330671198","1330671215","1330671218","1330671223","1330671227","1330671232"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/86def3848dd569701608ad35ef5d1079.jpg","text":"TemporaryFile(/tmp/multipartBody4109918923640822269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_18_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/22/9cfca6653d2a3c025824cce684f556c4.jpg","text":"TemporaryFile(/tmp/multipartBody2955175331113073879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_19_17_6964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2810de0e843b9d6e9e508ced43ca0e13.jpg","text":"TemporaryFile(/tmp/multipartBody6727169299099587672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_19_10_6008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb43687ee38ad30e0801808736f0ed0d.jpg","text":"TemporaryFile(/tmp/multipartBody5063677978516987438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_19_04_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/22/d6bba675e2eafa4756651f43e8b9719e.jpg","text":"TemporaryFile(/tmp/multipartBody1036031909698330288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_18_17_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b8b0c1ac511052b1671c369c8467601.jpg","text":"TemporaryFile(/tmp/multipartBody4591562579677092548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577299339,"filename":"image_22012025_20_19_59_5770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671218","file1":"1330671215","file0":"1330671198","file4":"1330671227","file5":"1330671232","file3":"1330671223"},"map_files_photo_id_array":[{"photo_id":"1330671232","filename":"file5"},{"photo_id":"1330671218","filename":"file2"},{"photo_id":"1330671227","filename":"file4"},{"photo_id":"1330671215","filename":"file1"},{"photo_id":"1330671198","filename":"file0"},{"photo_id":"1330671223","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671227":["hashtag1","hashtag2"]},{"1330671215":["hashtag1","hashtag2"]},{"1330671218":["hashtag1","hashtag2"]},{"1330671223":["hashtag1","hashtag2"]},{"1330671232":["hashtag1","hashtag2"]},{"1330671198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671227, 1330671215, 1330671218, 1330671223, 1330671232, 1330671198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.56287050247192 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":["1330671369","1330671237","1330671362","1330671268","1330671247","1330671366"],"photo_ids_order":["1330671237","1330671247","1330671268","1330671362","1330671366","1330671369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96ddeab4b60b8188389a224af3d15f14.jpg","text":"TemporaryFile(/tmp/multipartBody5793974502007508935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_04_17_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/22/72cbcfe750bdb13670b6050bc372338a.jpg","text":"TemporaryFile(/tmp/multipartBody8136932989067082815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_02_41_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/22/1e234637b449173eb8d8442aea035569.jpg","text":"TemporaryFile(/tmp/multipartBody7697324553397261882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_03_29_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/22/e7703fd9fd6058b7938ec641a2614118.jpg","text":"TemporaryFile(/tmp/multipartBody2799600198058811860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_03_05_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/22/dae4a6bc4239e6fba1257950d328a489.jpg","text":"TemporaryFile(/tmp/multipartBody8028639307957804247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_02_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/22/253009e3e0d5b2587d4ed3edc6f68e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1395684528300967270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577328798,"filename":"image_22012025_07_03_34_5315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671268","file1":"1330671247","file0":"1330671237","file4":"1330671366","file5":"1330671369","file3":"1330671362"},"map_files_photo_id_array":[{"photo_id":"1330671369","filename":"file5"},{"photo_id":"1330671268","filename":"file2"},{"photo_id":"1330671366","filename":"file4"},{"photo_id":"1330671247","filename":"file1"},{"photo_id":"1330671237","filename":"file0"},{"photo_id":"1330671362","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671369":["hashtag1","hashtag2"]},{"1330671237":["hashtag1","hashtag2"]},{"1330671362":["hashtag1","hashtag2"]},{"1330671268":["hashtag1","hashtag2"]},{"1330671247":["hashtag1","hashtag2"]},{"1330671366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671369, 1330671237, 1330671362, 1330671268, 1330671247, 1330671366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.55340600013733 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:22:02.734812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/18/image_22012025_20_18_11_5117.jpg', '/media/data/images/22012025/20/18/image_22012025_20_18_06_7258.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_58_5250.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_18_6179.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_12_6917.jpg', '/media/data/images/22012025/20/17/image_22012025_20_17_05_5847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/18/image_22012025_20_18_11_5117.jpg
/media/data/images/22012025/20/18/image_22012025_20_18_06_7258.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_58_5250.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_18_6179.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_12_6917.jpg
/media/data/images/22012025/20/17/image_22012025_20_17_05_5847.jpg
2025-01-22 21:22:02.734790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/04/image_22012025_07_04_59_5382.jpg', '/media/data/images/22012025/07/05/image_22012025_07_05_11_6744.jpg', '/media/data/images/22012025/07/05/image_22012025_07_05_53_5343.jpg', '/media/data/images/22012025/07/06/image_22012025_07_06_05_5503.jpg', '/media/data/images/22012025/07/06/image_22012025_07_06_10_5631.jpg', '/media/data/images/22012025/07/06/image_22012025_07_06_22_5448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/04/image_22012025_07_04_59_5382.jpg
/media/data/images/22012025/07/05/image_22012025_07_05_11_6744.jpg
/media/data/images/22012025/07/05/image_22012025_07_05_53_5343.jpg
/media/data/images/22012025/07/06/image_22012025_07_06_05_5503.jpg
/media/data/images/22012025/07/06/image_22012025_07_06_10_5631.jpg
/media/data/images/22012025/07/06/image_22012025_07_06_22_5448.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":["1330671504","1330671488","1330671496","1330671490","1330671466","1330671462"],"photo_ids_order":["1330671462","1330671466","1330671488","1330671490","1330671496","1330671504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a9a3995bd8ed0cd0be215915150a9969.jpg","text":"TemporaryFile(/tmp/multipartBody3151061513347229455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_17_05_5847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d9e6eba0c4d2155d27ff94aeda1dd3ed.jpg","text":"TemporaryFile(/tmp/multipartBody6244156166429848132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_17_58_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/22/74d839b0ad97bfa1412ab89626d318bb.jpg","text":"TemporaryFile(/tmp/multipartBody7430438744068144619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_17_12_6917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/61baa571da1c4c06136115b0151bc60e.jpg","text":"TemporaryFile(/tmp/multipartBody7007642169976448347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_17_18_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/22/0f5b12804c04ae0120fe5795bc3105e9.jpg","text":"TemporaryFile(/tmp/multipartBody1265660458312406880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_18_06_7258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a28d89e9d863d0dd36c907896b2e4085.jpg","text":"TemporaryFile(/tmp/multipartBody6123720730507828940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577423770,"filename":"image_22012025_20_18_11_5117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671488","file1":"1330671466","file0":"1330671462","file4":"1330671496","file5":"1330671504","file3":"1330671490"},"map_files_photo_id_array":[{"photo_id":"1330671504","filename":"file5"},{"photo_id":"1330671488","filename":"file2"},{"photo_id":"1330671496","filename":"file4"},{"photo_id":"1330671466","filename":"file1"},{"photo_id":"1330671462","filename":"file0"},{"photo_id":"1330671490","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671504":["hashtag1","hashtag2"]},{"1330671488":["hashtag1","hashtag2"]},{"1330671496":["hashtag1","hashtag2"]},{"1330671490":["hashtag1","hashtag2"]},{"1330671466":["hashtag1","hashtag2"]},{"1330671462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671504, 1330671488, 1330671496, 1330671490, 1330671466, 1330671462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.36502957344055 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330671503","1330671512","1330671515","1330671493","1330671495","1330671508"],"photo_ids_order":["1330671493","1330671495","1330671503","1330671508","1330671512","1330671515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82d9b8af174225074b62ba5ddb1d7b82.jpg","text":"TemporaryFile(/tmp/multipartBody2684272424806753662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_05_53_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/22/e01eafd0945da363cc528336fc8e0907.jpg","text":"TemporaryFile(/tmp/multipartBody7216884600973091373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_06_10_5631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6ce8c35716fd3b34c60bb7d90c719a26.jpg","text":"TemporaryFile(/tmp/multipartBody3628050653373484588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_06_22_5448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f4d214f7b6aa04be2240279300f7a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3785856875745477574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_04_59_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/22/ec693805db810beb67f61aae51165671.jpg","text":"TemporaryFile(/tmp/multipartBody1844747692386398265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_05_11_6744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/628bf484825c2248e4c54be8ded922a1.jpg","text":"TemporaryFile(/tmp/multipartBody7369626427854151556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577439272,"filename":"image_22012025_07_06_05_5503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671503","file1":"1330671495","file0":"1330671493","file4":"1330671512","file5":"1330671515","file3":"1330671508"},"map_files_photo_id_array":[{"photo_id":"1330671515","filename":"file5"},{"photo_id":"1330671503","filename":"file2"},{"photo_id":"1330671512","filename":"file4"},{"photo_id":"1330671495","filename":"file1"},{"photo_id":"1330671493","filename":"file0"},{"photo_id":"1330671508","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671503":["hashtag1","hashtag2"]},{"1330671512":["hashtag1","hashtag2"]},{"1330671515":["hashtag1","hashtag2"]},{"1330671493":["hashtag1","hashtag2"]},{"1330671495":["hashtag1","hashtag2"]},{"1330671508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671503, 1330671512, 1330671515, 1330671493, 1330671495, 1330671508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.54058122634888 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:23:42.704077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/16/image_22012025_20_16_59_5350.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_54_6491.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_47_6519.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_40_5300.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_35_6544.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_29_5287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/16/image_22012025_20_16_59_5350.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_54_6491.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_47_6519.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_40_5300.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_35_6544.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_29_5287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330671612","1330671609","1330671600","1330671605","1330671595","1330671616"],"photo_ids_order":["1330671595","1330671600","1330671605","1330671609","1330671612","1330671616"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3bf58f3b4dd30f69adb4c2460f1e0049.jpg","text":"TemporaryFile(/tmp/multipartBody4457157094433710051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_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/22/2a140b07d0b3fb51c782435bd6f15545.jpg","text":"TemporaryFile(/tmp/multipartBody4847593277682773302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_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/22/9be39180191ef33a675a8786b804735d.jpg","text":"TemporaryFile(/tmp/multipartBody2736121816102270018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_54_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/22/d16beffc57a17111e151a911c7ea7574.jpg","text":"TemporaryFile(/tmp/multipartBody1416473431979299110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_47_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/22/7a59bb646ac9a7288df1b59d09b55107.jpg","text":"TemporaryFile(/tmp/multipartBody7341081870728509638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_59_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/22/f6240826eb46ee508e836a46ae03d806.jpg","text":"TemporaryFile(/tmp/multipartBody4185228056032136312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577496916,"filename":"image_22012025_20_16_29_5287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671605","file1":"1330671600","file0":"1330671595","file4":"1330671612","file5":"1330671616","file3":"1330671609"},"map_files_photo_id_array":[{"photo_id":"1330671616","filename":"file5"},{"photo_id":"1330671605","filename":"file2"},{"photo_id":"1330671612","filename":"file4"},{"photo_id":"1330671600","filename":"file1"},{"photo_id":"1330671595","filename":"file0"},{"photo_id":"1330671609","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671612":["hashtag1","hashtag2"]},{"1330671609":["hashtag1","hashtag2"]},{"1330671600":["hashtag1","hashtag2"]},{"1330671605":["hashtag1","hashtag2"]},{"1330671595":["hashtag1","hashtag2"]},{"1330671616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671612, 1330671609, 1330671600, 1330671605, 1330671595, 1330671616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.57020592689514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:24:41.843120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/16/image_22012025_20_16_23_6090.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_17_5362.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_12_7057.jpg', '/media/data/images/22012025/20/16/image_22012025_20_16_05_6192.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_59_5294.jpg', '/media/data/images/22012025/20/15/image_22012025_20_15_11_6070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/16/image_22012025_20_16_23_6090.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_17_5362.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_12_7057.jpg
/media/data/images/22012025/20/16/image_22012025_20_16_05_6192.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_59_5294.jpg
/media/data/images/22012025/20/15/image_22012025_20_15_11_6070.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":["1330671880","1330671883","1330671862","1330671871","1330671867","1330671876"],"photo_ids_order":["1330671862","1330671867","1330671871","1330671876","1330671880","1330671883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ca2b85f15f7b6ef37a234a6a836a4042.jpg","text":"TemporaryFile(/tmp/multipartBody3442422415842597060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_15_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/22/be1ce6c91026ee921de34a279c8420af.jpg","text":"TemporaryFile(/tmp/multipartBody7747196286212109423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_15_11_6070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8b06dd53b6fef9eab14f9037ab9d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody484791167111998702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_16_23_6090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/513c36fe239af7e55920dfc54eddb196.jpg","text":"TemporaryFile(/tmp/multipartBody74139512874922884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_16_12_7057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ee15e4dfc8e61696f75db418e77dbccf.jpg","text":"TemporaryFile(/tmp/multipartBody1223588065980641012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_16_17_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/22/651d58012e14008019f86f3be91b6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody709217353854095164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577572299,"filename":"image_22012025_20_16_05_6192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671871","file1":"1330671867","file0":"1330671862","file4":"1330671880","file5":"1330671883","file3":"1330671876"},"map_files_photo_id_array":[{"photo_id":"1330671883","filename":"file5"},{"photo_id":"1330671871","filename":"file2"},{"photo_id":"1330671880","filename":"file4"},{"photo_id":"1330671867","filename":"file1"},{"photo_id":"1330671862","filename":"file0"},{"photo_id":"1330671876","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671880":["hashtag1","hashtag2"]},{"1330671883":["hashtag1","hashtag2"]},{"1330671862":["hashtag1","hashtag2"]},{"1330671871":["hashtag1","hashtag2"]},{"1330671867":["hashtag1","hashtag2"]},{"1330671876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671880, 1330671883, 1330671862, 1330671871, 1330671867, 1330671876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.84012055397034 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-22 21:26:02.228782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/06/image_22012025_07_06_29_6612.jpg', '/media/data/images/22012025/07/06/image_22012025_07_06_41_6680.jpg', '/media/data/images/22012025/07/06/image_22012025_07_06_53_6617.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_05_6495.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_17_6609.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_29_6586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/06/image_22012025_07_06_29_6612.jpg
/media/data/images/22012025/07/06/image_22012025_07_06_41_6680.jpg
/media/data/images/22012025/07/06/image_22012025_07_06_53_6617.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_05_6495.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_17_6609.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_29_6586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330671989","1330671998","1330671970","1330671966","1330672002","1330671960"],"photo_ids_order":["1330671960","1330671966","1330671970","1330671989","1330671998","1330672002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09ce8dfef0ba02eb17bf7b754106cd22.jpg","text":"TemporaryFile(/tmp/multipartBody6845382373719616090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_07_05_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/22/e88038e378b3a5eb1ba12a416f27881b.jpg","text":"TemporaryFile(/tmp/multipartBody4844966072451715807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_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/22/81a7ab7318858b9514695797ae09e98e.jpg","text":"TemporaryFile(/tmp/multipartBody2871599442753591177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_06_53_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/22/3596663b882e315e68b58a93a5d15d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8514758350353225465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_06_41_6680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cac525cbdf3ba0be11d5c0d7fb42e2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7306610698906313543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_07_29_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/22/845d0b6039f05bd95095efcd7eb152af.jpg","text":"TemporaryFile(/tmp/multipartBody3911348967627697856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577640507,"filename":"image_22012025_07_06_29_6612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330671970","file1":"1330671966","file0":"1330671960","file4":"1330671998","file5":"1330672002","file3":"1330671989"},"map_files_photo_id_array":[{"photo_id":"1330672002","filename":"file5"},{"photo_id":"1330671970","filename":"file2"},{"photo_id":"1330671998","filename":"file4"},{"photo_id":"1330671966","filename":"file1"},{"photo_id":"1330671960","filename":"file0"},{"photo_id":"1330671989","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330671989":["hashtag1","hashtag2"]},{"1330671998":["hashtag1","hashtag2"]},{"1330671970":["hashtag1","hashtag2"]},{"1330671966":["hashtag1","hashtag2"]},{"1330672002":["hashtag1","hashtag2"]},{"1330671960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330671989, 1330671998, 1330671970, 1330671966, 1330672002, 1330671960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.351927280426025 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:27:02.508072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/15/image_22012025_20_15_05_5230.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_59_6504.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_23_5262.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_18_6107.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_12_6943.jpg', '/media/data/images/22012025/20/14/image_22012025_20_14_05_5173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/15/image_22012025_20_15_05_5230.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_59_6504.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_23_5262.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_18_6107.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_12_6943.jpg
/media/data/images/22012025/20/14/image_22012025_20_14_05_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":["1330672154","1330672133","1330672144","1330672152","1330672149","1330672140"],"photo_ids_order":["1330672133","1330672140","1330672144","1330672149","1330672152","1330672154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/388abe97b290661c896acb1ef3489865.jpg","text":"TemporaryFile(/tmp/multipartBody4380144611715821275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_14_05_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/22/4acab29435bdbde1b2f7556f53ff5264.jpg","text":"TemporaryFile(/tmp/multipartBody5440994135269661708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_15_05_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/22/caf9a3b88d65dea12e36f8292acadec8.jpg","text":"TemporaryFile(/tmp/multipartBody4288814406627534110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_14_23_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/22/7b10fa1e63b7dcdd938f0f99c0a472e8.jpg","text":"TemporaryFile(/tmp/multipartBody8247252802569961333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_14_12_6943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3c984e954ed814eb8289c541d9c4c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2798612373075865944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_14_18_6107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b1fd9a8f2726ea8a85f9b703f69c3c7.jpg","text":"TemporaryFile(/tmp/multipartBody8195083740721618904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577697634,"filename":"image_22012025_20_14_59_6504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672144","file1":"1330672140","file0":"1330672133","file4":"1330672152","file5":"1330672154","file3":"1330672149"},"map_files_photo_id_array":[{"photo_id":"1330672154","filename":"file5"},{"photo_id":"1330672144","filename":"file2"},{"photo_id":"1330672152","filename":"file4"},{"photo_id":"1330672140","filename":"file1"},{"photo_id":"1330672133","filename":"file0"},{"photo_id":"1330672149","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672154":["hashtag1","hashtag2"]},{"1330672133":["hashtag1","hashtag2"]},{"1330672144":["hashtag1","hashtag2"]},{"1330672152":["hashtag1","hashtag2"]},{"1330672149":["hashtag1","hashtag2"]},{"1330672140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672154, 1330672133, 1330672144, 1330672152, 1330672149, 1330672140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.17790651321411 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:28:02.595512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/13/image_22012025_20_13_59_6501.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_17_6726.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_11_6096.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_05_5697.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_59_5333.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_17_6206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/13/image_22012025_20_13_59_6501.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_17_6726.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_11_6096.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_05_5697.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_59_5333.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_17_6206.jpg
2025-01-22 21:28:02.650929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/07/image_22012025_07_07_35_6584.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_41_5331.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_47_6571.jpg', '/media/data/images/22012025/07/07/image_22012025_07_07_59_6613.jpg', '/media/data/images/22012025/07/08/image_22012025_07_08_05_5668.jpg', '/media/data/images/22012025/07/08/image_22012025_07_08_23_5375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/07/image_22012025_07_07_35_6584.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_41_5331.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_47_6571.jpg
/media/data/images/22012025/07/07/image_22012025_07_07_59_6613.jpg
/media/data/images/22012025/07/08/image_22012025_07_08_05_5668.jpg
/media/data/images/22012025/07/08/image_22012025_07_08_23_5375.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: 22.191476345062256 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672196","1330672175","1330672192","1330672186","1330672171","1330672180"],"photo_ids_order":["1330672171","1330672175","1330672180","1330672186","1330672192","1330672196"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ff01e5ed41f32849ed3110884841501.jpg","text":"TemporaryFile(/tmp/multipartBody452616795590850384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_08_23_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/22/2eec12ffbd2cf1788f645aabecabfbca.jpg","text":"TemporaryFile(/tmp/multipartBody4126997018048836165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_07_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/22/d5dbb54286018cfb6611cc151381760f.jpg","text":"TemporaryFile(/tmp/multipartBody3660700165200127947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_08_05_5668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/adcff0b890df27737da544ccf9f40d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5340799365733400321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_07_59_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/22/612d4bea7985d3a07f63f2eb001d1fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6528889569841528376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_07_35_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/22/69a4c0e16bb64b257f31a6234c3d8919.jpg","text":"TemporaryFile(/tmp/multipartBody1327414907944433258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577764661,"filename":"image_22012025_07_07_47_6571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672180","file1":"1330672175","file0":"1330672171","file4":"1330672192","file5":"1330672196","file3":"1330672186"},"map_files_photo_id_array":[{"photo_id":"1330672196","filename":"file5"},{"photo_id":"1330672180","filename":"file2"},{"photo_id":"1330672192","filename":"file4"},{"photo_id":"1330672175","filename":"file1"},{"photo_id":"1330672171","filename":"file0"},{"photo_id":"1330672186","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672196":["hashtag1","hashtag2"]},{"1330672175":["hashtag1","hashtag2"]},{"1330672192":["hashtag1","hashtag2"]},{"1330672186":["hashtag1","hashtag2"]},{"1330672171":["hashtag1","hashtag2"]},{"1330672180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672196, 1330672175, 1330672192, 1330672186, 1330672171, 1330672180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.969857931137085 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-22 21:29:03.005114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/13/image_22012025_20_13_59_6501.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_17_6726.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_11_6096.jpg', '/media/data/images/22012025/20/13/image_22012025_20_13_05_5697.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_59_5333.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_17_6206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/13/image_22012025_20_13_59_6501.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_17_6726.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_11_6096.jpg
/media/data/images/22012025/20/13/image_22012025_20_13_05_5697.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_59_5333.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_17_6206.jpg
2025-01-22 21:29:03.014308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/08/image_22012025_07_08_29_6642.jpg', '/media/data/images/22012025/07/08/image_22012025_07_08_47_5379.jpg', '/media/data/images/22012025/07/08/image_22012025_07_08_53_6653.jpg', '/media/data/images/22012025/07/09/image_22012025_07_09_17_5397.jpg', '/media/data/images/22012025/07/09/image_22012025_07_09_29_5405.jpg', '/media/data/images/22012025/07/09/image_22012025_07_09_41_5397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/08/image_22012025_07_08_29_6642.jpg
/media/data/images/22012025/07/08/image_22012025_07_08_47_5379.jpg
/media/data/images/22012025/07/08/image_22012025_07_08_53_6653.jpg
/media/data/images/22012025/07/09/image_22012025_07_09_17_5397.jpg
/media/data/images/22012025/07/09/image_22012025_07_09_29_5405.jpg
/media/data/images/22012025/07/09/image_22012025_07_09_41_5397.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":["1330672292","1330672241","1330672319","1330672249","1330672230","1330672305"],"photo_ids_order":["1330672230","1330672241","1330672249","1330672292","1330672305","1330672319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b76097e0d2ca3092fa45ab35784394a6.jpg","text":"TemporaryFile(/tmp/multipartBody3471137373876836404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_13_05_5697.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/30469742eda6c1812e56794e6f022bb3.jpg","text":"TemporaryFile(/tmp/multipartBody9020632431489889997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_13_17_6726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f527c954aeb615da7203cc8ae05ed56.jpg","text":"TemporaryFile(/tmp/multipartBody6022279537139362558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_12_17_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/22/252f69e7d8917e1e779432d5fc2bfc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8187101753711093009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_13_11_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17f69035db7a09ac47d03f8cf3f1308c.jpg","text":"TemporaryFile(/tmp/multipartBody5127405825433801778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_13_59_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/22/e7bc9276ff8fb4e7782f624fd8918582.jpg","text":"TemporaryFile(/tmp/multipartBody2131718226431823804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577830161,"filename":"image_22012025_20_12_59_5333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672249","file1":"1330672241","file0":"1330672230","file4":"1330672305","file5":"1330672319","file3":"1330672292"},"map_files_photo_id_array":[{"photo_id":"1330672319","filename":"file5"},{"photo_id":"1330672249","filename":"file2"},{"photo_id":"1330672305","filename":"file4"},{"photo_id":"1330672241","filename":"file1"},{"photo_id":"1330672230","filename":"file0"},{"photo_id":"1330672292","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672292":["hashtag1","hashtag2"]},{"1330672241":["hashtag1","hashtag2"]},{"1330672319":["hashtag1","hashtag2"]},{"1330672249":["hashtag1","hashtag2"]},{"1330672230":["hashtag1","hashtag2"]},{"1330672305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672292, 1330672241, 1330672319, 1330672249, 1330672230, 1330672305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.042739391326904 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672322","1330672325","1330672328","1330672318","1330672326","1330672329"],"photo_ids_order":["1330672318","1330672322","1330672325","1330672326","1330672328","1330672329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f9aa24d7cb04bfb4bc038cc8f4591422.jpg","text":"TemporaryFile(/tmp/multipartBody4541623526401731452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_08_47_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/22/a5571c125d4442434a2713f7cec61b07.jpg","text":"TemporaryFile(/tmp/multipartBody7114019735962412676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_08_53_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/22/e41dcb073c99f832ca358f8aaf7a9211.jpg","text":"TemporaryFile(/tmp/multipartBody6740114496582910599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_09_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/22/ad2cc92bca4879334567b202ec54d34f.jpg","text":"TemporaryFile(/tmp/multipartBody3875464219893673650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_08_29_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/22/d01eba11361b351a162dc55ce986c0d4.jpg","text":"TemporaryFile(/tmp/multipartBody1980978777070097678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_09_17_5397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8406c75ec47918555a09840cc3d79907.jpg","text":"TemporaryFile(/tmp/multipartBody4964933100630878237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577851685,"filename":"image_22012025_07_09_41_5397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672325","file1":"1330672322","file0":"1330672318","file4":"1330672328","file5":"1330672329","file3":"1330672326"},"map_files_photo_id_array":[{"photo_id":"1330672329","filename":"file5"},{"photo_id":"1330672325","filename":"file2"},{"photo_id":"1330672328","filename":"file4"},{"photo_id":"1330672322","filename":"file1"},{"photo_id":"1330672318","filename":"file0"},{"photo_id":"1330672326","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672322":["hashtag1","hashtag2"]},{"1330672325":["hashtag1","hashtag2"]},{"1330672328":["hashtag1","hashtag2"]},{"1330672318":["hashtag1","hashtag2"]},{"1330672326":["hashtag1","hashtag2"]},{"1330672329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672322, 1330672325, 1330672328, 1330672318, 1330672326, 1330672329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.4594566822052 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:30:42.726363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/12/image_22012025_20_12_11_6190.jpg', '/media/data/images/22012025/20/12/image_22012025_20_12_05_4951.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_59_6522.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_17_5316.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_12_6038.jpg', '/media/data/images/22012025/20/11/image_22012025_20_11_06_6250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/12/image_22012025_20_12_11_6190.jpg
/media/data/images/22012025/20/12/image_22012025_20_12_05_4951.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_59_6522.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_17_5316.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_12_6038.jpg
/media/data/images/22012025/20/11/image_22012025_20_11_06_6250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672515","1330672509","1330672523","1330672519","1330672512","1330672506"],"photo_ids_order":["1330672506","1330672509","1330672512","1330672515","1330672519","1330672523"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ade28ff037cf94de97230adcdb150390.jpg","text":"TemporaryFile(/tmp/multipartBody6563183753973496984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_11_17_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/22/5b81fc6fc2b8bb7bf38294e28b264680.jpg","text":"TemporaryFile(/tmp/multipartBody1685186237070056361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_12_05_4951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36426503c152cbfd85572967af602b50.jpg","text":"TemporaryFile(/tmp/multipartBody2711007316154937972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_11_06_6250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8b23b02d80970537106d5315815af697.jpg","text":"TemporaryFile(/tmp/multipartBody144676836642929300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_11_12_6038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0885fdac743510f80e8ae801c2620df6.jpg","text":"TemporaryFile(/tmp/multipartBody8754867223374137592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_11_59_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/22/1491b8d68a50e3baea794d346de1ab91.jpg","text":"TemporaryFile(/tmp/multipartBody3316030128354361047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577926057,"filename":"image_22012025_20_12_11_6190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672512","file1":"1330672509","file0":"1330672506","file4":"1330672519","file5":"1330672523","file3":"1330672515"},"map_files_photo_id_array":[{"photo_id":"1330672523","filename":"file5"},{"photo_id":"1330672512","filename":"file2"},{"photo_id":"1330672519","filename":"file4"},{"photo_id":"1330672509","filename":"file1"},{"photo_id":"1330672506","filename":"file0"},{"photo_id":"1330672515","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672515":["hashtag1","hashtag2"]},{"1330672509":["hashtag1","hashtag2"]},{"1330672523":["hashtag1","hashtag2"]},{"1330672519":["hashtag1","hashtag2"]},{"1330672512":["hashtag1","hashtag2"]},{"1330672506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672515, 1330672509, 1330672523, 1330672519, 1330672512, 1330672506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5715708732605 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:31:41.849431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/10/image_22012025_20_11_00_6202.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_16_4717.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_12_5986.jpg', '/media/data/images/22012025/20/10/image_22012025_20_10_06_7205.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_58_5325.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_17_5218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/10/image_22012025_20_11_00_6202.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_16_4717.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_12_5986.jpg
/media/data/images/22012025/20/10/image_22012025_20_10_06_7205.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_58_5325.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_17_5218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672550","1330672556","1330672558","1330672552","1330672546","1330672560"],"photo_ids_order":["1330672546","1330672550","1330672552","1330672556","1330672558","1330672560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1f66b2c7f3d54729539496be08ece5cd.jpg","text":"TemporaryFile(/tmp/multipartBody957777936152782614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_10_16_4717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/705ac71eba0000aba6b5e77481f422f0.jpg","text":"TemporaryFile(/tmp/multipartBody1177414515197118203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_10_06_7205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19e056d270dfacad475b63dd2438f25e.jpg","text":"TemporaryFile(/tmp/multipartBody4903249642379445063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_09_58_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/22/a321bfcc5661f77aa7303d75779dc0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1795570563443178315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_10_12_5986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ddbe8a2a94eed05f174eb7913fb17c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3833510510174744864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_11_00_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/22/792cdc0ad965ed27955926831de558ce.jpg","text":"TemporaryFile(/tmp/multipartBody7375113542386108313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737577977099,"filename":"image_22012025_20_09_17_5218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672552","file1":"1330672550","file0":"1330672546","file4":"1330672558","file5":"1330672560","file3":"1330672556"},"map_files_photo_id_array":[{"photo_id":"1330672560","filename":"file5"},{"photo_id":"1330672552","filename":"file2"},{"photo_id":"1330672558","filename":"file4"},{"photo_id":"1330672550","filename":"file1"},{"photo_id":"1330672546","filename":"file0"},{"photo_id":"1330672556","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672550":["hashtag1","hashtag2"]},{"1330672556":["hashtag1","hashtag2"]},{"1330672558":["hashtag1","hashtag2"]},{"1330672552":["hashtag1","hashtag2"]},{"1330672546":["hashtag1","hashtag2"]},{"1330672560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672550, 1330672556, 1330672558, 1330672552, 1330672546, 1330672560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.66700077056885 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:32:41.975883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/09/image_22012025_20_09_11_5983.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_06_5993.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_59_7049.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_16_4715.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_12_6861.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_05_6491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/09/image_22012025_20_09_11_5983.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_06_5993.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_59_7049.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_16_4715.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_12_6861.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_05_6491.jpg
 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: 24.233749866485596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:33:22.137448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/09/image_22012025_20_09_11_5983.jpg', '/media/data/images/22012025/20/09/image_22012025_20_09_06_5993.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_59_7049.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_16_4715.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_12_6861.jpg', '/media/data/images/22012025/20/08/image_22012025_20_08_05_6491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/09/image_22012025_20_09_11_5983.jpg
/media/data/images/22012025/20/09/image_22012025_20_09_06_5993.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_59_7049.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_16_4715.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_12_6861.jpg
/media/data/images/22012025/20/08/image_22012025_20_08_05_6491.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":["1330672631","1330672622","1330672618","1330672615","1330672629","1330672626"],"photo_ids_order":["1330672615","1330672618","1330672622","1330672626","1330672629","1330672631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b0800932d11b2fd1106c8d0e654a845.jpg","text":"TemporaryFile(/tmp/multipartBody3422275239764607228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_08_05_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/22/3da45319e319a6a30270532662841e43.jpg","text":"TemporaryFile(/tmp/multipartBody9091592718448049385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_08_59_7049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/66b5d8ad8f648e9b4c0a1638cde4066d.jpg","text":"TemporaryFile(/tmp/multipartBody1197161594135071276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_09_06_5993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/644f9b509b8023aac520aaf12e94505e.jpg","text":"TemporaryFile(/tmp/multipartBody1124951851025618623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_09_11_5983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0507a5ca91ed8d20b9a176b3ce318ad9.jpg","text":"TemporaryFile(/tmp/multipartBody7217328200517980609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_08_12_6861.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce4e64e3aca7bf0045de67dc730fa50f.jpg","text":"TemporaryFile(/tmp/multipartBody9163282203377003558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578094895,"filename":"image_22012025_20_08_16_4715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672622","file1":"1330672618","file0":"1330672615","file4":"1330672629","file5":"1330672631","file3":"1330672626"},"map_files_photo_id_array":[{"photo_id":"1330672631","filename":"file5"},{"photo_id":"1330672622","filename":"file2"},{"photo_id":"1330672629","filename":"file4"},{"photo_id":"1330672618","filename":"file1"},{"photo_id":"1330672615","filename":"file0"},{"photo_id":"1330672626","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672631":["hashtag1","hashtag2"]},{"1330672622":["hashtag1","hashtag2"]},{"1330672618":["hashtag1","hashtag2"]},{"1330672615":["hashtag1","hashtag2"]},{"1330672629":["hashtag1","hashtag2"]},{"1330672626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672631, 1330672622, 1330672618, 1330672615, 1330672629, 1330672626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.18046951293945 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:34:42.279981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/07/image_22012025_20_07_58_5267.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_17_5413.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_11_6077.jpg', '/media/data/images/22012025/20/07/image_22012025_20_07_05_5931.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_59_6713.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_17_6223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/07/image_22012025_20_07_58_5267.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_17_5413.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_11_6077.jpg
/media/data/images/22012025/20/07/image_22012025_20_07_05_5931.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_59_6713.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_17_6223.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672676","1330672679","1330672661","1330672672","1330672657","1330672665"],"photo_ids_order":["1330672657","1330672661","1330672665","1330672672","1330672676","1330672679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/521b05882a0bc195ba6f40000b041650.jpg","text":"TemporaryFile(/tmp/multipartBody5798027185390194092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_06_59_6713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5cb8d808d0b54102022257ed7e8a28e.jpg","text":"TemporaryFile(/tmp/multipartBody1242444971467835004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_06_17_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/22/1e78d800ce5ad875a18e243cdbfe1930.jpg","text":"TemporaryFile(/tmp/multipartBody2243027588766212785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_07_17_5413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a0d77393cb0512d99a7f381bf76bcefa.jpg","text":"TemporaryFile(/tmp/multipartBody6593006430390437596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_07_05_5931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f18a74e2fbc3ba9c61189e7d63dab7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5770910824986644114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_07_58_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/22/bf7be88df41325d7560d5de10fe5d68f.jpg","text":"TemporaryFile(/tmp/multipartBody6571696056913786120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578163302,"filename":"image_22012025_20_07_11_6077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672665","file1":"1330672661","file0":"1330672657","file4":"1330672676","file5":"1330672679","file3":"1330672672"},"map_files_photo_id_array":[{"photo_id":"1330672679","filename":"file5"},{"photo_id":"1330672665","filename":"file2"},{"photo_id":"1330672676","filename":"file4"},{"photo_id":"1330672661","filename":"file1"},{"photo_id":"1330672657","filename":"file0"},{"photo_id":"1330672672","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672676":["hashtag1","hashtag2"]},{"1330672679":["hashtag1","hashtag2"]},{"1330672661":["hashtag1","hashtag2"]},{"1330672672":["hashtag1","hashtag2"]},{"1330672657":["hashtag1","hashtag2"]},{"1330672665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672676, 1330672679, 1330672661, 1330672672, 1330672657, 1330672665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94436192512512 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:35:42.438607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/06/image_22012025_20_06_11_6667.jpg', '/media/data/images/22012025/20/06/image_22012025_20_06_05_5694.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_59_6495.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_17_6009.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_11_4484.jpg', '/media/data/images/22012025/20/05/image_22012025_20_05_07_7524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/06/image_22012025_20_06_11_6667.jpg
/media/data/images/22012025/20/06/image_22012025_20_06_05_5694.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_59_6495.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_17_6009.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_11_4484.jpg
/media/data/images/22012025/20/05/image_22012025_20_05_07_7524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330672748","1330672733","1330672753","1330672762","1330672708","1330672758"],"photo_ids_order":["1330672708","1330672733","1330672748","1330672753","1330672758","1330672762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d16b05be6cab8eba43fc3ab0a2d1e341.jpg","text":"TemporaryFile(/tmp/multipartBody4956204040219691064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_05_59_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/22/617f213d9e17011f8dba3168e5fec283.jpg","text":"TemporaryFile(/tmp/multipartBody9039151148027574666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_06_05_5694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20a63bdd12c4a8147f60e87da35bc611.jpg","text":"TemporaryFile(/tmp/multipartBody3582645748407879952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_05_17_6009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f362f60f3de47670361735f8601b6da5.jpg","text":"TemporaryFile(/tmp/multipartBody885925733014949014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_05_07_7524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e5658818984cf3de83e3fc1210f75873.jpg","text":"TemporaryFile(/tmp/multipartBody4494074872487070611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_06_11_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/22/ba01da602bd074c5498f551ffc9698e7.jpg","text":"TemporaryFile(/tmp/multipartBody8299069971438830458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578211034,"filename":"image_22012025_20_05_11_4484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330672748","file1":"1330672733","file0":"1330672708","file4":"1330672758","file5":"1330672762","file3":"1330672753"},"map_files_photo_id_array":[{"photo_id":"1330672762","filename":"file5"},{"photo_id":"1330672748","filename":"file2"},{"photo_id":"1330672758","filename":"file4"},{"photo_id":"1330672733","filename":"file1"},{"photo_id":"1330672708","filename":"file0"},{"photo_id":"1330672753","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330672748":["hashtag1","hashtag2"]},{"1330672733":["hashtag1","hashtag2"]},{"1330672753":["hashtag1","hashtag2"]},{"1330672762":["hashtag1","hashtag2"]},{"1330672708":["hashtag1","hashtag2"]},{"1330672758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330672748, 1330672733, 1330672753, 1330672762, 1330672708, 1330672758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.385249853134155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:36:42.568926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/04/image_22012025_20_04_58_5293.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_53_6523.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_47_5316.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_41_6595.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_35_5288.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_29_6667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/04/image_22012025_20_04_58_5293.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_53_6523.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_47_5316.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_41_6595.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_35_5288.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_29_6667.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":["1330673759","1330673770","1330673752","1330673941","1330674012","1330674008"],"photo_ids_order":["1330673752","1330673759","1330673770","1330673941","1330674008","1330674012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4e4ef4b2d477c8f23018cded674a0ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2476528113933435220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_53_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/22/74300b175336c65da4e764dc661a36e8.jpg","text":"TemporaryFile(/tmp/multipartBody8656205566208671965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_47_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/22/0ec00d861407d37873c8f7ff64385392.jpg","text":"TemporaryFile(/tmp/multipartBody8771087962175490155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_58_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/22/f12abdf0d55171012ebfb3493935bef2.jpg","text":"TemporaryFile(/tmp/multipartBody4307911953904762543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_41_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/22/6114a2878fe6fea66f542b118418bbec.jpg","text":"TemporaryFile(/tmp/multipartBody8133255249101771023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_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/22/834a5302299428a455fe7e1204db358e.jpg","text":"TemporaryFile(/tmp/multipartBody5603666633969139600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578295322,"filename":"image_22012025_20_04_35_5288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330673770","file1":"1330673759","file0":"1330673752","file4":"1330674008","file5":"1330674012","file3":"1330673941"},"map_files_photo_id_array":[{"photo_id":"1330674012","filename":"file5"},{"photo_id":"1330673770","filename":"file2"},{"photo_id":"1330674008","filename":"file4"},{"photo_id":"1330673759","filename":"file1"},{"photo_id":"1330673752","filename":"file0"},{"photo_id":"1330673941","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330673759":["hashtag1","hashtag2"]},{"1330673770":["hashtag1","hashtag2"]},{"1330673752":["hashtag1","hashtag2"]},{"1330673941":["hashtag1","hashtag2"]},{"1330674012":["hashtag1","hashtag2"]},{"1330674008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330673759, 1330673770, 1330673752, 1330673941, 1330674012, 1330674008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.64602017402649 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-22 21:38:01.995386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/09/image_22012025_07_09_53_6656.jpg', '/media/data/images/22012025/07/09/image_22012025_07_09_59_5399.jpg', '/media/data/images/22012025/07/10/image_22012025_07_10_11_5660.jpg', '/media/data/images/22012025/07/10/image_22012025_07_10_47_6641.jpg', '/media/data/images/22012025/07/11/image_22012025_07_11_05_5724.jpg', '/media/data/images/22012025/07/11/image_22012025_07_11_47_5374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/09/image_22012025_07_09_53_6656.jpg
/media/data/images/22012025/07/09/image_22012025_07_09_59_5399.jpg
/media/data/images/22012025/07/10/image_22012025_07_10_11_5660.jpg
/media/data/images/22012025/07/10/image_22012025_07_10_47_6641.jpg
/media/data/images/22012025/07/11/image_22012025_07_11_05_5724.jpg
/media/data/images/22012025/07/11/image_22012025_07_11_47_5374.jpg
2025-01-22 21:38:02.092089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/04/image_22012025_20_04_23_6096.jpg', '/media/data/images/22012025/20/04/image_22012025_20_04_05_4991.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_59_6497.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_17_5579.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_12_5895.jpg', '/media/data/images/22012025/20/03/image_22012025_20_03_06_6420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/04/image_22012025_20_04_23_6096.jpg
/media/data/images/22012025/20/04/image_22012025_20_04_05_4991.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_59_6497.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_17_5579.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_12_5895.jpg
/media/data/images/22012025/20/03/image_22012025_20_03_06_6420.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":["1330674119","1330674121","1330674132","1330674125","1330674140","1330674128"],"photo_ids_order":["1330674119","1330674121","1330674125","1330674128","1330674132","1330674140"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9007860c4db75b4c66bbd111001e0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7890991927646091890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_04_23_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0876c4de7b696ec4dc683a2f2f4f6aab.jpg","text":"TemporaryFile(/tmp/multipartBody3382590333003014234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_04_05_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/22/c1f8f85950cf638fe21d62740c8fdafc.jpg","text":"TemporaryFile(/tmp/multipartBody7481299202723107570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_03_12_5895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ebc76a1341039910a42d44678c1c6303.jpg","text":"TemporaryFile(/tmp/multipartBody8958342351507986090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_03_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/22/9342a1118f161fcf334c0fed295d6b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1522172365486510207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_03_06_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/22/6ce0d1c521ccf45362d4c4af64849933.jpg","text":"TemporaryFile(/tmp/multipartBody1794282061535521253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578388406,"filename":"image_22012025_20_03_17_5579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674125","file1":"1330674121","file0":"1330674119","file4":"1330674132","file5":"1330674140","file3":"1330674128"},"map_files_photo_id_array":[{"photo_id":"1330674140","filename":"file5"},{"photo_id":"1330674125","filename":"file2"},{"photo_id":"1330674132","filename":"file4"},{"photo_id":"1330674121","filename":"file1"},{"photo_id":"1330674119","filename":"file0"},{"photo_id":"1330674128","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674119":["hashtag1","hashtag2"]},{"1330674121":["hashtag1","hashtag2"]},{"1330674132":["hashtag1","hashtag2"]},{"1330674125":["hashtag1","hashtag2"]},{"1330674140":["hashtag1","hashtag2"]},{"1330674128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674119, 1330674121, 1330674132, 1330674125, 1330674140, 1330674128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.80894732475281 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":["1330674160","1330674151","1330674139","1330674168","1330674156","1330674146"],"photo_ids_order":["1330674139","1330674146","1330674151","1330674156","1330674160","1330674168"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/305729d316d374a9418ee26b3a4b2417.jpg","text":"TemporaryFile(/tmp/multipartBody2685049907994443730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_11_05_5724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c335fdb3cb3f84c47f545fe944cb5853.jpg","text":"TemporaryFile(/tmp/multipartBody7894107425553486693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_10_11_5660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a17a9f3e05387ece1b6f737c1205527f.jpg","text":"TemporaryFile(/tmp/multipartBody5082725598284432213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_09_53_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/22/b2dc803df8510096797fa6be572b77b6.jpg","text":"TemporaryFile(/tmp/multipartBody2865338047798813216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_11_47_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/22/ae53ccecf65a65524d34d8b57206800a.jpg","text":"TemporaryFile(/tmp/multipartBody3434202767525880872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_10_47_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/22/654d5b3b78a6b2fde37cb8220c5f5727.jpg","text":"TemporaryFile(/tmp/multipartBody4030630027020141041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578409834,"filename":"image_22012025_07_09_59_5399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674151","file1":"1330674146","file0":"1330674139","file4":"1330674160","file5":"1330674168","file3":"1330674156"},"map_files_photo_id_array":[{"photo_id":"1330674168","filename":"file5"},{"photo_id":"1330674151","filename":"file2"},{"photo_id":"1330674160","filename":"file4"},{"photo_id":"1330674146","filename":"file1"},{"photo_id":"1330674139","filename":"file0"},{"photo_id":"1330674156","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674160":["hashtag1","hashtag2"]},{"1330674151":["hashtag1","hashtag2"]},{"1330674139":["hashtag1","hashtag2"]},{"1330674168":["hashtag1","hashtag2"]},{"1330674156":["hashtag1","hashtag2"]},{"1330674146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674160, 1330674151, 1330674139, 1330674168, 1330674156, 1330674146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.48721051216125 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-22 21:40:02.345635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/02/image_22012025_20_02_59_6500.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_18_5831.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_12_7123.jpg', '/media/data/images/22012025/20/02/image_22012025_20_02_05_5300.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_59_6497.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_17_6632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/02/image_22012025_20_02_59_6500.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_18_5831.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_12_7123.jpg
/media/data/images/22012025/20/02/image_22012025_20_02_05_5300.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_59_6497.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_17_6632.jpg
2025-01-22 21:40:02.345615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/12/image_22012025_07_12_36_6636.jpg', '/media/data/images/22012025/07/12/image_22012025_07_12_53_6654.jpg', '/media/data/images/22012025/07/15/image_22012025_07_15_59_5401.jpg', '/media/data/images/22012025/07/16/image_22012025_07_16_05_6688.jpg', '/media/data/images/22012025/07/16/image_22012025_07_16_11_5872.jpg', '/media/data/images/22012025/07/16/image_22012025_07_16_17_5512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/12/image_22012025_07_12_36_6636.jpg
/media/data/images/22012025/07/12/image_22012025_07_12_53_6654.jpg
/media/data/images/22012025/07/15/image_22012025_07_15_59_5401.jpg
/media/data/images/22012025/07/16/image_22012025_07_16_05_6688.jpg
/media/data/images/22012025/07/16/image_22012025_07_16_11_5872.jpg
/media/data/images/22012025/07/16/image_22012025_07_16_17_5512.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":["1330674379","1330674256","1330674259","1330674465","1330674468","1330674281"],"photo_ids_order":["1330674256","1330674259","1330674281","1330674379","1330674465","1330674468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1566cb6f6a5ea8affaa17931ba0cd29.jpg","text":"TemporaryFile(/tmp/multipartBody2764861622095285714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_02_05_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/22/e8884c31d6f4c38de9a9da33331bbf3f.jpg","text":"TemporaryFile(/tmp/multipartBody4656127136839599780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_02_59_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/22/9c52ea472c523b65a73fe8bce41f7019.jpg","text":"TemporaryFile(/tmp/multipartBody3597004361711682798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_02_18_5831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b31b48a1592b3128f8215dc8d0d1d684.jpg","text":"TemporaryFile(/tmp/multipartBody7420896704388275012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_01_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/22/b11114c97d1ad572d0e59f634aca3980.jpg","text":"TemporaryFile(/tmp/multipartBody7401726265490310746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_01_17_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/22/2217a6f7230419dc03c4ab88ca3c7fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7822386741990998825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578485184,"filename":"image_22012025_20_02_12_7123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674281","file1":"1330674259","file0":"1330674256","file4":"1330674465","file5":"1330674468","file3":"1330674379"},"map_files_photo_id_array":[{"photo_id":"1330674468","filename":"file5"},{"photo_id":"1330674281","filename":"file2"},{"photo_id":"1330674465","filename":"file4"},{"photo_id":"1330674259","filename":"file1"},{"photo_id":"1330674256","filename":"file0"},{"photo_id":"1330674379","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674379":["hashtag1","hashtag2"]},{"1330674256":["hashtag1","hashtag2"]},{"1330674259":["hashtag1","hashtag2"]},{"1330674465":["hashtag1","hashtag2"]},{"1330674468":["hashtag1","hashtag2"]},{"1330674281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674379, 1330674256, 1330674259, 1330674465, 1330674468, 1330674281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.352184534072876 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330674478","1330674610","1330674618","1330674560","1330674506","1330674481"],"photo_ids_order":["1330674478","1330674481","1330674506","1330674560","1330674610","1330674618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c63da8d59857f3c5f9080b9956787db1.jpg","text":"TemporaryFile(/tmp/multipartBody1687544868263233581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_12_36_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/22/3abe06e6eb7af083b31e0088e5314947.jpg","text":"TemporaryFile(/tmp/multipartBody2837684911431627878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_16_11_5872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a681f4c25b473f718f5ad3f6da4d27a6.jpg","text":"TemporaryFile(/tmp/multipartBody7186515139373457127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_16_17_5512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4c10f260601a1707ecab29b5a988ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody5198693050629265499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_16_05_6688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fd195772fd5321e5cc2417bb163e316b.jpg","text":"TemporaryFile(/tmp/multipartBody4050601970137968628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_15_59_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/22/c094bbcaa88609d27d6549901e323fdb.jpg","text":"TemporaryFile(/tmp/multipartBody415025911676468671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578512898,"filename":"image_22012025_07_12_53_6654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674506","file1":"1330674481","file0":"1330674478","file4":"1330674610","file5":"1330674618","file3":"1330674560"},"map_files_photo_id_array":[{"photo_id":"1330674618","filename":"file5"},{"photo_id":"1330674506","filename":"file2"},{"photo_id":"1330674610","filename":"file4"},{"photo_id":"1330674481","filename":"file1"},{"photo_id":"1330674478","filename":"file0"},{"photo_id":"1330674560","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674478":["hashtag1","hashtag2"]},{"1330674610":["hashtag1","hashtag2"]},{"1330674618":["hashtag1","hashtag2"]},{"1330674560":["hashtag1","hashtag2"]},{"1330674506":["hashtag1","hashtag2"]},{"1330674481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674478, 1330674610, 1330674618, 1330674560, 1330674506, 1330674481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.46502113342285 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:41:42.293015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/20/01/image_22012025_20_01_11_5793.jpg', '/media/data/images/22012025/20/01/image_22012025_20_01_05_6118.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_59_6448.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_17_5483.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_12_6379.jpg', '/media/data/images/22012025/20/00/image_22012025_20_00_05_5990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/20/01/image_22012025_20_01_11_5793.jpg
/media/data/images/22012025/20/01/image_22012025_20_01_05_6118.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_59_6448.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_17_5483.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_12_6379.jpg
/media/data/images/22012025/20/00/image_22012025_20_00_05_5990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330674660","1330674654","1330674657","1330674651","1330674650","1330674647"],"photo_ids_order":["1330674647","1330674650","1330674651","1330674654","1330674657","1330674660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/58ad36bf7191537830f2ad25d5dac86e.jpg","text":"TemporaryFile(/tmp/multipartBody5628710154254325001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_00_05_5990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f9865923af50d62469cf7f1f28cd4db.jpg","text":"TemporaryFile(/tmp/multipartBody5627930176825111801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_00_17_5483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/28adeffdd419ce909f3b7d49187e55d8.jpg","text":"TemporaryFile(/tmp/multipartBody1572796223163514665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_00_12_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/22/0684feb0724e78ccecdf3f7b3f5f84ff.jpg","text":"TemporaryFile(/tmp/multipartBody7474104460098166683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_00_59_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/22/d23b31bddbcce03a4321d99ce8ca8b00.jpg","text":"TemporaryFile(/tmp/multipartBody7337008679826388705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_01_05_6118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/77c2fa4e363ba8e2cd5b227d0ce0277b.jpg","text":"TemporaryFile(/tmp/multipartBody447617834629784848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578577255,"filename":"image_22012025_20_01_11_5793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674651","file1":"1330674650","file0":"1330674647","file4":"1330674657","file5":"1330674660","file3":"1330674654"},"map_files_photo_id_array":[{"photo_id":"1330674660","filename":"file5"},{"photo_id":"1330674651","filename":"file2"},{"photo_id":"1330674657","filename":"file4"},{"photo_id":"1330674650","filename":"file1"},{"photo_id":"1330674647","filename":"file0"},{"photo_id":"1330674654","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674660":["hashtag1","hashtag2"]},{"1330674654":["hashtag1","hashtag2"]},{"1330674657":["hashtag1","hashtag2"]},{"1330674651":["hashtag1","hashtag2"]},{"1330674650":["hashtag1","hashtag2"]},{"1330674647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674660, 1330674654, 1330674657, 1330674651, 1330674650, 1330674647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.62504196166992 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:42:42.429486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/59/image_22012025_19_59_59_5252.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_17_6858.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_10_4658.jpg', '/media/data/images/22012025/19/59/image_22012025_19_59_06_6191.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_59_6884.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_17_6759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/59/image_22012025_19_59_59_5252.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_17_6858.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_10_4658.jpg
/media/data/images/22012025/19/59/image_22012025_19_59_06_6191.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_59_6884.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_17_6759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330674707","1330674727","1330674712","1330674723","1330674716","1330674704"],"photo_ids_order":["1330674704","1330674707","1330674712","1330674716","1330674723","1330674727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/564cc4ac18149dbc9fc557f23c400e86.jpg","text":"TemporaryFile(/tmp/multipartBody584844610148541602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_59_17_6858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a20129d7d9379e01d69779c134edcfe4.jpg","text":"TemporaryFile(/tmp/multipartBody6431938638588139230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_58_17_6759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ffe2c6f4997914f8e7d0bd8c640b2038.jpg","text":"TemporaryFile(/tmp/multipartBody3879029497486000202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_59_10_4658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/404fff4360bbc1d71c4e15de75a02efc.jpg","text":"TemporaryFile(/tmp/multipartBody7931151972683964511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_58_59_6884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ad3ea95c64221698a7aec00b41efdd33.jpg","text":"TemporaryFile(/tmp/multipartBody6535203450126593140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_59_06_6191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/86f2b80923c94e430e70d684e5645ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6582245804307041194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578643179,"filename":"image_22012025_19_59_59_5252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674712","file1":"1330674707","file0":"1330674704","file4":"1330674723","file5":"1330674727","file3":"1330674716"},"map_files_photo_id_array":[{"photo_id":"1330674727","filename":"file5"},{"photo_id":"1330674712","filename":"file2"},{"photo_id":"1330674723","filename":"file4"},{"photo_id":"1330674707","filename":"file1"},{"photo_id":"1330674704","filename":"file0"},{"photo_id":"1330674716","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674707":["hashtag1","hashtag2"]},{"1330674727":["hashtag1","hashtag2"]},{"1330674712":["hashtag1","hashtag2"]},{"1330674723":["hashtag1","hashtag2"]},{"1330674716":["hashtag1","hashtag2"]},{"1330674704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674707, 1330674727, 1330674712, 1330674723, 1330674716, 1330674704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.14444184303284 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:43:42.567199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/58/image_22012025_19_58_11_4736.jpg', '/media/data/images/22012025/19/58/image_22012025_19_58_06_6045.jpg', '/media/data/images/22012025/19/57/image_22012025_19_58_00_6474.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_54_6599.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_47_5662.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_41_6504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/58/image_22012025_19_58_11_4736.jpg
/media/data/images/22012025/19/58/image_22012025_19_58_06_6045.jpg
/media/data/images/22012025/19/57/image_22012025_19_58_00_6474.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_54_6599.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_47_5662.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_41_6504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330674757","1330674742","1330674751","1330674738","1330674746","1330674761"],"photo_ids_order":["1330674738","1330674742","1330674746","1330674751","1330674757","1330674761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1dd87a796bd318c03760e79a55a3985.jpg","text":"TemporaryFile(/tmp/multipartBody1147943913112118227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_57_47_5662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7c4be3906497f4f455fcc3f496bd255.jpg","text":"TemporaryFile(/tmp/multipartBody5071977463491620669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_58_06_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6fedd3bd96cc734e9dff49ea8fb4bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody929383067664530920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_57_54_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/22/afd6aedf8d9067a92710597d6e8e61ae.jpg","text":"TemporaryFile(/tmp/multipartBody1799573553298955790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_58_11_4736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4cafbd550c4515c7a11e18dc446523bb.jpg","text":"TemporaryFile(/tmp/multipartBody2659320370357381702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_58_00_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/22/3eac694a28597a2d5465c9bf91585592.jpg","text":"TemporaryFile(/tmp/multipartBody8627487944824480594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578691045,"filename":"image_22012025_19_57_41_6504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674746","file1":"1330674742","file0":"1330674738","file4":"1330674757","file5":"1330674761","file3":"1330674751"},"map_files_photo_id_array":[{"photo_id":"1330674761","filename":"file5"},{"photo_id":"1330674746","filename":"file2"},{"photo_id":"1330674757","filename":"file4"},{"photo_id":"1330674742","filename":"file1"},{"photo_id":"1330674738","filename":"file0"},{"photo_id":"1330674751","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674757":["hashtag1","hashtag2"]},{"1330674742":["hashtag1","hashtag2"]},{"1330674751":["hashtag1","hashtag2"]},{"1330674738":["hashtag1","hashtag2"]},{"1330674746":["hashtag1","hashtag2"]},{"1330674761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674757, 1330674742, 1330674751, 1330674738, 1330674746, 1330674761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19777202606201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:44:42.701596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/57/image_22012025_19_57_34_5268.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_29_6467.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_23_5233.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_17_6811.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_11_6319.jpg', '/media/data/images/22012025/19/57/image_22012025_19_57_05_5770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/57/image_22012025_19_57_34_5268.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_29_6467.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_23_5233.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_17_6811.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_11_6319.jpg
/media/data/images/22012025/19/57/image_22012025_19_57_05_5770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330674865","1330674853","1330674843","1330674860","1330674848","1330674833"],"photo_ids_order":["1330674833","1330674843","1330674848","1330674853","1330674860","1330674865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57cf5c9ba54a46e602b2d173c294f4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1233537685854181750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_05_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ffea98aa1cf3ae7e7d4d12559ff6605.jpg","text":"TemporaryFile(/tmp/multipartBody7909322039167985448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_17_6811.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b7f97a3c8002b7ff8a22483e147bd94.jpg","text":"TemporaryFile(/tmp/multipartBody3357123003578876511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_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/22/a9a50a193913f7f04d4c1876ab46bf5a.jpg","text":"TemporaryFile(/tmp/multipartBody7868113016968042840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_11_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/22/c1276f9a06e1d25e54cf6b31d46c67e1.jpg","text":"TemporaryFile(/tmp/multipartBody3139358560254771202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_23_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/22/9b8c12c1a5e6cb5a47639c25e1a7807e.jpg","text":"TemporaryFile(/tmp/multipartBody402775801301887830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578760393,"filename":"image_22012025_19_57_34_5268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330674848","file1":"1330674843","file0":"1330674833","file4":"1330674860","file5":"1330674865","file3":"1330674853"},"map_files_photo_id_array":[{"photo_id":"1330674865","filename":"file5"},{"photo_id":"1330674848","filename":"file2"},{"photo_id":"1330674860","filename":"file4"},{"photo_id":"1330674843","filename":"file1"},{"photo_id":"1330674833","filename":"file0"},{"photo_id":"1330674853","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330674865":["hashtag1","hashtag2"]},{"1330674853":["hashtag1","hashtag2"]},{"1330674843":["hashtag1","hashtag2"]},{"1330674860":["hashtag1","hashtag2"]},{"1330674848":["hashtag1","hashtag2"]},{"1330674833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330674865, 1330674853, 1330674843, 1330674860, 1330674848, 1330674833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.832385778427124 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:45:41.839949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/56/image_22012025_19_56_59_5796.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_17_5763.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_12_6279.jpg', '/media/data/images/22012025/19/56/image_22012025_19_56_05_6022.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_59_5584.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_17_6589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/56/image_22012025_19_56_59_5796.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_17_5763.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_12_6279.jpg
/media/data/images/22012025/19/56/image_22012025_19_56_05_6022.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_59_5584.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_17_6589.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":["1330675299","1330675263","1330675242","1330675359","1330675248","1330675246"],"photo_ids_order":["1330675242","1330675246","1330675248","1330675263","1330675299","1330675359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38316897417c6102ac6c211f7858d420.jpg","text":"TemporaryFile(/tmp/multipartBody794391601871242362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_55_59_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/22/313f89285b97d7200b911c04758a3936.jpg","text":"TemporaryFile(/tmp/multipartBody147085892952324214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_56_05_6022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/93131c8df94432017e01d0eed5e5bea5.jpg","text":"TemporaryFile(/tmp/multipartBody4632952046644181987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_56_59_5796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/93511e19a5c5c6d60c35f98a244d0ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3503115509508149195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_55_17_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/22/1afc2f591f8ae71ef58cc47fe402f03a.jpg","text":"TemporaryFile(/tmp/multipartBody8163866593709718851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_56_12_6279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/434376ea1f505e934d1a0378d93079ab.jpg","text":"TemporaryFile(/tmp/multipartBody3910559127298824515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578829488,"filename":"image_22012025_19_56_17_5763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675248","file1":"1330675246","file0":"1330675242","file4":"1330675299","file5":"1330675359","file3":"1330675263"},"map_files_photo_id_array":[{"photo_id":"1330675359","filename":"file5"},{"photo_id":"1330675248","filename":"file2"},{"photo_id":"1330675299","filename":"file4"},{"photo_id":"1330675246","filename":"file1"},{"photo_id":"1330675242","filename":"file0"},{"photo_id":"1330675263","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675299":["hashtag1","hashtag2"]},{"1330675263":["hashtag1","hashtag2"]},{"1330675242":["hashtag1","hashtag2"]},{"1330675359":["hashtag1","hashtag2"]},{"1330675248":["hashtag1","hashtag2"]},{"1330675246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675299, 1330675263, 1330675242, 1330675359, 1330675248, 1330675246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.36802530288696 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:47:02.582113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/55/image_22012025_19_55_11_6011.jpg', '/media/data/images/22012025/19/55/image_22012025_19_55_05_5965.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_59_5934.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_17_5813.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_11_6322.jpg', '/media/data/images/22012025/19/54/image_22012025_19_54_05_5761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/55/image_22012025_19_55_11_6011.jpg
/media/data/images/22012025/19/55/image_22012025_19_55_05_5965.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_59_5934.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_17_5813.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_11_6322.jpg
/media/data/images/22012025/19/54/image_22012025_19_54_05_5761.jpg
2025-01-22 21:47:02.543171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/16/image_22012025_07_16_36_6650.jpg', '/media/data/images/22012025/07/16/image_22012025_07_16_48_6654.jpg', '/media/data/images/22012025/07/17/image_22012025_07_17_52_5390.jpg', '/media/data/images/22012025/07/17/image_22012025_07_17_59_6640.jpg', '/media/data/images/22012025/07/18/image_22012025_07_18_11_5939.jpg', '/media/data/images/22012025/07/18/image_22012025_07_18_23_5398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/16/image_22012025_07_16_36_6650.jpg
/media/data/images/22012025/07/16/image_22012025_07_16_48_6654.jpg
/media/data/images/22012025/07/17/image_22012025_07_17_52_5390.jpg
/media/data/images/22012025/07/17/image_22012025_07_17_59_6640.jpg
/media/data/images/22012025/07/18/image_22012025_07_18_11_5939.jpg
/media/data/images/22012025/07/18/image_22012025_07_18_23_5398.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":["1330675453","1330675458","1330675460","1330675454","1330675456","1330675450"],"photo_ids_order":["1330675450","1330675453","1330675454","1330675456","1330675458","1330675460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b8cb70fac3e3430bcd2f66caaa372a9.jpg","text":"TemporaryFile(/tmp/multipartBody1940471918532063880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_55_05_5965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/56a8315a8e59257ac16d3d9e5a0a0ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7340585064345791666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_54_11_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/22/a22bdeb41ef9b02cb72a5e3a26a1da2b.jpg","text":"TemporaryFile(/tmp/multipartBody1021883155729655665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_54_05_5761.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ba21606d475255f0ed0619f210ff19e8.jpg","text":"TemporaryFile(/tmp/multipartBody3467051776837468971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_54_59_5934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ecef2ea33a90ef1844cc304562ca8a91.jpg","text":"TemporaryFile(/tmp/multipartBody5791843581289658671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_54_17_5813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/21d54c47d4a844c49df4b385d775ba20.jpg","text":"TemporaryFile(/tmp/multipartBody9191875422734782558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578902030,"filename":"image_22012025_19_55_11_6011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675454","file1":"1330675453","file0":"1330675450","file4":"1330675458","file5":"1330675460","file3":"1330675456"},"map_files_photo_id_array":[{"photo_id":"1330675460","filename":"file5"},{"photo_id":"1330675454","filename":"file2"},{"photo_id":"1330675458","filename":"file4"},{"photo_id":"1330675453","filename":"file1"},{"photo_id":"1330675450","filename":"file0"},{"photo_id":"1330675456","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675453":["hashtag1","hashtag2"]},{"1330675458":["hashtag1","hashtag2"]},{"1330675460":["hashtag1","hashtag2"]},{"1330675454":["hashtag1","hashtag2"]},{"1330675456":["hashtag1","hashtag2"]},{"1330675450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675453, 1330675458, 1330675460, 1330675454, 1330675456, 1330675450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.271557331085205 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":["1330675491","1330675479","1330675467","1330675463","1330675472","1330675469"],"photo_ids_order":["1330675463","1330675467","1330675469","1330675472","1330675479","1330675491"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc0fd9ad5a24fe97cb1fe92fd7a4abdd.jpg","text":"TemporaryFile(/tmp/multipartBody4397502147480251896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_18_23_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/22/6bcc66fe04a3fd20bc8283885a1e5773.jpg","text":"TemporaryFile(/tmp/multipartBody4454720143609496406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_18_11_5939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cdbb4c3b546f182d9b6a57baf7ac0223.jpg","text":"TemporaryFile(/tmp/multipartBody664351543265993264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_16_48_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/22/38a681fe5b036f4ce3f0f32202f42686.jpg","text":"TemporaryFile(/tmp/multipartBody2943876457044044053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_16_36_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9bffcfdc3769d678c088625a2a60c01e.jpg","text":"TemporaryFile(/tmp/multipartBody3778055049104614982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_17_59_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09a3eafdc2abf7c36bb7a3b4ee278b30.jpg","text":"TemporaryFile(/tmp/multipartBody6000082260522530466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578928118,"filename":"image_22012025_07_17_52_5390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675469","file1":"1330675467","file0":"1330675463","file4":"1330675479","file5":"1330675491","file3":"1330675472"},"map_files_photo_id_array":[{"photo_id":"1330675491","filename":"file5"},{"photo_id":"1330675469","filename":"file2"},{"photo_id":"1330675479","filename":"file4"},{"photo_id":"1330675467","filename":"file1"},{"photo_id":"1330675463","filename":"file0"},{"photo_id":"1330675472","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675491":["hashtag1","hashtag2"]},{"1330675479":["hashtag1","hashtag2"]},{"1330675467":["hashtag1","hashtag2"]},{"1330675463":["hashtag1","hashtag2"]},{"1330675472":["hashtag1","hashtag2"]},{"1330675469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675491, 1330675479, 1330675467, 1330675463, 1330675472, 1330675469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.89815211296082 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:48:22.282979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/53/image_22012025_19_53_59_5523.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_17_5443.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_12_6072.jpg', '/media/data/images/22012025/19/53/image_22012025_19_53_06_5989.jpg', '/media/data/images/22012025/19/52/image_22012025_19_53_00_6108.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_16_6058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/53/image_22012025_19_53_59_5523.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_17_5443.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_12_6072.jpg
/media/data/images/22012025/19/53/image_22012025_19_53_06_5989.jpg
/media/data/images/22012025/19/52/image_22012025_19_53_00_6108.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_16_6058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330675599","1330675587","1330675572","1330675548","1330675595","1330675553"],"photo_ids_order":["1330675548","1330675553","1330675572","1330675587","1330675595","1330675599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9dc87787f877e30fdee5d45daf443e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8552758016797807724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_52_16_6058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f0c1c934de37ec792611941275f47fd.jpg","text":"TemporaryFile(/tmp/multipartBody993948981950686425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_53_06_5989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d57a8d05ad6b5ec86dfd5bb85f0ed27b.jpg","text":"TemporaryFile(/tmp/multipartBody6230550810143140542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_53_12_6072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e69421da7bfead43380af5c7cd1a70c.jpg","text":"TemporaryFile(/tmp/multipartBody2019368324393951369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_53_59_5523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/69c47187df5a88dc950c53f8ce14b447.jpg","text":"TemporaryFile(/tmp/multipartBody6831457105669905304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_53_00_6108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5830472e48335ed77aaf29a966412a0f.jpg","text":"TemporaryFile(/tmp/multipartBody9085574690755606644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737578984727,"filename":"image_22012025_19_53_17_5443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675572","file1":"1330675553","file0":"1330675548","file4":"1330675595","file5":"1330675599","file3":"1330675587"},"map_files_photo_id_array":[{"photo_id":"1330675599","filename":"file5"},{"photo_id":"1330675572","filename":"file2"},{"photo_id":"1330675595","filename":"file4"},{"photo_id":"1330675553","filename":"file1"},{"photo_id":"1330675548","filename":"file0"},{"photo_id":"1330675587","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675599":["hashtag1","hashtag2"]},{"1330675587":["hashtag1","hashtag2"]},{"1330675572":["hashtag1","hashtag2"]},{"1330675548":["hashtag1","hashtag2"]},{"1330675595":["hashtag1","hashtag2"]},{"1330675553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675599, 1330675587, 1330675572, 1330675548, 1330675595, 1330675553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81402635574341 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:49:22.432115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/52/image_22012025_19_52_10_5100.jpg', '/media/data/images/22012025/19/52/image_22012025_19_52_05_5422.jpg', '/media/data/images/22012025/19/51/image_22012025_19_52_00_6340.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_17_5424.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_11_6122.jpg', '/media/data/images/22012025/19/51/image_22012025_19_51_05_6801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/52/image_22012025_19_52_10_5100.jpg
/media/data/images/22012025/19/52/image_22012025_19_52_05_5422.jpg
/media/data/images/22012025/19/51/image_22012025_19_52_00_6340.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_17_5424.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_11_6122.jpg
/media/data/images/22012025/19/51/image_22012025_19_51_05_6801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330675630","1330675618","1330675627","1330675635","1330675623","1330675640"],"photo_ids_order":["1330675618","1330675623","1330675627","1330675630","1330675635","1330675640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2322411c7b8a7f79823d21ba4ff5f73e.jpg","text":"TemporaryFile(/tmp/multipartBody5380999045086394608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_51_17_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/22/8fa3777c7856cee600685928cc74cdbe.jpg","text":"TemporaryFile(/tmp/multipartBody6915724870212170541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_52_10_5100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/82811cb8ce5b994064973eb9eea2df72.jpg","text":"TemporaryFile(/tmp/multipartBody5292819907560802205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_52_00_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/22/5111cf5962514712cdb8f1ddd527ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody4963331628277181786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_51_11_6122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/22a68107c15e01ac0a9bb482c2104cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4817578196372313707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_52_05_5422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb23d8ec5050e2ebec3bd97ad18c94f6.jpg","text":"TemporaryFile(/tmp/multipartBody8030931818056775767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579046308,"filename":"image_22012025_19_51_05_6801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675627","file1":"1330675623","file0":"1330675618","file4":"1330675635","file5":"1330675640","file3":"1330675630"},"map_files_photo_id_array":[{"photo_id":"1330675640","filename":"file5"},{"photo_id":"1330675627","filename":"file2"},{"photo_id":"1330675635","filename":"file4"},{"photo_id":"1330675623","filename":"file1"},{"photo_id":"1330675618","filename":"file0"},{"photo_id":"1330675630","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675630":["hashtag1","hashtag2"]},{"1330675618":["hashtag1","hashtag2"]},{"1330675627":["hashtag1","hashtag2"]},{"1330675635":["hashtag1","hashtag2"]},{"1330675623":["hashtag1","hashtag2"]},{"1330675640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675630, 1330675618, 1330675627, 1330675635, 1330675623, 1330675640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.816537618637085 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:50:22.607982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/50/image_22012025_19_50_58_5276.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_17_5988.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_11_4932.jpg', '/media/data/images/22012025/19/50/image_22012025_19_50_06_7301.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_58_5269.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_17_5227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/50/image_22012025_19_50_58_5276.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_17_5988.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_11_4932.jpg
/media/data/images/22012025/19/50/image_22012025_19_50_06_7301.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_58_5269.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_17_5227.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330675701","1330675694","1330675697","1330675679","1330675706","1330675690"],"photo_ids_order":["1330675679","1330675690","1330675694","1330675697","1330675701","1330675706"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6848256af3a9b92b8c338aac9067c450.jpg","text":"TemporaryFile(/tmp/multipartBody4844528222174107489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_49_58_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/22/b8a81566fcf01b0ddc401f320164dedc.jpg","text":"TemporaryFile(/tmp/multipartBody5362088716874526108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_50_11_4932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/67fca3efeca7a00ad8d4229bdb584ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8800892010167602912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_50_06_7301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f50d17d0c520f7ff20d76fb5ac581ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3219463853326886839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_50_58_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/22/6446aadda3f4bea2bd82e4a6e920e739.jpg","text":"TemporaryFile(/tmp/multipartBody7328880640521479629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_49_17_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/22/bec8bfbfb08126bf18225a5e5a0bf59d.jpg","text":"TemporaryFile(/tmp/multipartBody2615010419021935284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579107257,"filename":"image_22012025_19_50_17_5988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675694","file1":"1330675690","file0":"1330675679","file4":"1330675701","file5":"1330675706","file3":"1330675697"},"map_files_photo_id_array":[{"photo_id":"1330675706","filename":"file5"},{"photo_id":"1330675694","filename":"file2"},{"photo_id":"1330675701","filename":"file4"},{"photo_id":"1330675690","filename":"file1"},{"photo_id":"1330675679","filename":"file0"},{"photo_id":"1330675697","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675701":["hashtag1","hashtag2"]},{"1330675694":["hashtag1","hashtag2"]},{"1330675697":["hashtag1","hashtag2"]},{"1330675679":["hashtag1","hashtag2"]},{"1330675706":["hashtag1","hashtag2"]},{"1330675690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675701, 1330675694, 1330675697, 1330675679, 1330675706, 1330675690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.73352265357971 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:51:22.737711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/49/image_22012025_19_49_11_5815.jpg', '/media/data/images/22012025/19/49/image_22012025_19_49_06_6802.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_59_5249.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_12_5671.jpg', '/media/data/images/22012025/19/48/image_22012025_19_48_06_7531.jpg', '/media/data/images/22012025/19/47/image_22012025_19_47_58_5525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/49/image_22012025_19_49_11_5815.jpg
/media/data/images/22012025/19/49/image_22012025_19_49_06_6802.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_59_5249.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_12_5671.jpg
/media/data/images/22012025/19/48/image_22012025_19_48_06_7531.jpg
/media/data/images/22012025/19/47/image_22012025_19_47_58_5525.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":["1330675770","1330675743","1330675803","1330675778","1330675774","1330675768"],"photo_ids_order":["1330675743","1330675768","1330675770","1330675774","1330675778","1330675803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da10f4fcd2c3f6ff265c5d62d3640bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7251073246720457202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_48_59_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/22/a89e7781dbe286996a4b806b9abc3861.jpg","text":"TemporaryFile(/tmp/multipartBody5990489891204335308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_49_11_5815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3481f5298cce08975ad2efd93cc760b.jpg","text":"TemporaryFile(/tmp/multipartBody6531334041767253180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_47_58_5525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cde1a5e6abc205ab137bed8f3ac9182a.jpg","text":"TemporaryFile(/tmp/multipartBody7747502657624740308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_48_06_7531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e9cd9ecd74c5d2f17cafa1744c67060a.jpg","text":"TemporaryFile(/tmp/multipartBody3174474716633337030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_48_12_5671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da1a19ff993cfeae7502fd0d0516cf99.jpg","text":"TemporaryFile(/tmp/multipartBody8240399601151897710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579171977,"filename":"image_22012025_19_49_06_6802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675770","file1":"1330675768","file0":"1330675743","file4":"1330675778","file5":"1330675803","file3":"1330675774"},"map_files_photo_id_array":[{"photo_id":"1330675803","filename":"file5"},{"photo_id":"1330675770","filename":"file2"},{"photo_id":"1330675778","filename":"file4"},{"photo_id":"1330675768","filename":"file1"},{"photo_id":"1330675743","filename":"file0"},{"photo_id":"1330675774","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675770":["hashtag1","hashtag2"]},{"1330675743":["hashtag1","hashtag2"]},{"1330675803":["hashtag1","hashtag2"]},{"1330675778":["hashtag1","hashtag2"]},{"1330675774":["hashtag1","hashtag2"]},{"1330675768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675770, 1330675743, 1330675803, 1330675778, 1330675774, 1330675768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.58834528923035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:52:41.867794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/41/image_22012025_19_41_18_6581.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_12_6609.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_05_6019.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_59_6512.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_52_5227.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_47_6462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/41/image_22012025_19_41_18_6581.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_12_6609.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_05_6019.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_59_6512.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_52_5227.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_47_6462.jpg
 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: 20.319495677947998 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:53:22.027872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/41/image_22012025_19_41_18_6581.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_12_6609.jpg', '/media/data/images/22012025/19/41/image_22012025_19_41_05_6019.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_59_6512.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_52_5227.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_47_6462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/41/image_22012025_19_41_18_6581.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_12_6609.jpg
/media/data/images/22012025/19/41/image_22012025_19_41_05_6019.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_59_6512.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_52_5227.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_47_6462.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330675878","1330675863","1330675874","1330675865","1330675870","1330675867"],"photo_ids_order":["1330675863","1330675865","1330675867","1330675870","1330675874","1330675878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3570459fc7caf9f395092c591b6fa000.jpg","text":"TemporaryFile(/tmp/multipartBody1297576759004275645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_40_47_6462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7bf8431ce4dd5bcb44212d20f2ba5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody7254967849712029464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_41_18_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/22/9e69b6d8df5ee7b8fd47eabd424c3c29.jpg","text":"TemporaryFile(/tmp/multipartBody2290772659217132492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_40_52_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/22/7e039901c943dde7909f176c9c20260b.jpg","text":"TemporaryFile(/tmp/multipartBody5285627990767657009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_41_12_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/22/1cc2bbe2598f790d3c234cc5a40011c1.jpg","text":"TemporaryFile(/tmp/multipartBody5243658631636640784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_40_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/22/c9ee5541bc9d81d3682b4ba998dcc67f.jpg","text":"TemporaryFile(/tmp/multipartBody5585566429546413285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579269066,"filename":"image_22012025_19_41_05_6019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675867","file1":"1330675865","file0":"1330675863","file4":"1330675874","file5":"1330675878","file3":"1330675870"},"map_files_photo_id_array":[{"photo_id":"1330675878","filename":"file5"},{"photo_id":"1330675867","filename":"file2"},{"photo_id":"1330675874","filename":"file4"},{"photo_id":"1330675865","filename":"file1"},{"photo_id":"1330675863","filename":"file0"},{"photo_id":"1330675870","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675878":["hashtag1","hashtag2"]},{"1330675863":["hashtag1","hashtag2"]},{"1330675874":["hashtag1","hashtag2"]},{"1330675865":["hashtag1","hashtag2"]},{"1330675870":["hashtag1","hashtag2"]},{"1330675867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675878, 1330675863, 1330675874, 1330675865, 1330675870, 1330675867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30569863319397 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 21:54:02.361317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/18/image_22012025_07_18_59_5393.jpg', '/media/data/images/22012025/07/19/image_22012025_07_19_59_5377.jpg', '/media/data/images/22012025/07/20/image_22012025_07_20_10_5803.jpg', '/media/data/images/22012025/07/20/image_22012025_07_20_23_5421.jpg', '/media/data/images/22012025/07/20/image_22012025_07_20_29_6673.jpg', '/media/data/images/22012025/07/20/image_22012025_07_20_35_5423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/18/image_22012025_07_18_59_5393.jpg
/media/data/images/22012025/07/19/image_22012025_07_19_59_5377.jpg
/media/data/images/22012025/07/20/image_22012025_07_20_10_5803.jpg
/media/data/images/22012025/07/20/image_22012025_07_20_23_5421.jpg
/media/data/images/22012025/07/20/image_22012025_07_20_29_6673.jpg
/media/data/images/22012025/07/20/image_22012025_07_20_35_5423.jpg
2025-01-22 21:54:02.468466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/40/image_22012025_19_40_41_5211.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_35_6499.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_29_6539.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_22_5338.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_18_6288.jpg', '/media/data/images/22012025/19/40/image_22012025_19_40_11_5084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/40/image_22012025_19_40_41_5211.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_35_6499.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_29_6539.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_22_5338.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_18_6288.jpg
/media/data/images/22012025/19/40/image_22012025_19_40_11_5084.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":["1330675915","1330675909","1330675912","1330675899","1330675904","1330675901"],"photo_ids_order":["1330675899","1330675901","1330675904","1330675909","1330675912","1330675915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ddfe45dd2f0b9cd4712815d4be5d6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1911221699470519060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_11_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/22/c622544477808cb7c46a555909ca82a7.jpg","text":"TemporaryFile(/tmp/multipartBody5969402553809122521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_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/22/e1d74ad9d5c56224a418db17dad92630.jpg","text":"TemporaryFile(/tmp/multipartBody3357544943701441854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_18_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/22/d50a4196fe09ce63580788bdd7e3742b.jpg","text":"TemporaryFile(/tmp/multipartBody6909672722063120627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_41_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/22/27e2c8c7d15b81ba3a74818e9c4bb549.jpg","text":"TemporaryFile(/tmp/multipartBody8586338400929585333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_29_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/22/0587e6abb9841ac04475a1e9008a43d4.jpg","text":"TemporaryFile(/tmp/multipartBody4671033981077572904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579312525,"filename":"image_22012025_19_40_35_6499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675904","file1":"1330675901","file0":"1330675899","file4":"1330675912","file5":"1330675915","file3":"1330675909"},"map_files_photo_id_array":[{"photo_id":"1330675915","filename":"file5"},{"photo_id":"1330675904","filename":"file2"},{"photo_id":"1330675912","filename":"file4"},{"photo_id":"1330675901","filename":"file1"},{"photo_id":"1330675899","filename":"file0"},{"photo_id":"1330675909","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675915":["hashtag1","hashtag2"]},{"1330675909":["hashtag1","hashtag2"]},{"1330675912":["hashtag1","hashtag2"]},{"1330675899":["hashtag1","hashtag2"]},{"1330675904":["hashtag1","hashtag2"]},{"1330675901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675915, 1330675909, 1330675912, 1330675899, 1330675904, 1330675901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30012083053589 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330675921","1330675929","1330675908","1330675916","1330675925","1330675913"],"photo_ids_order":["1330675908","1330675913","1330675916","1330675921","1330675925","1330675929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b0eac24ab99b4be71082c73efd41b2d5.jpg","text":"TemporaryFile(/tmp/multipartBody4030005760411005390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_20_23_5421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2645358bbea45cfa1cef72f3f39c1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody6955476422088692466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_20_35_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/22/086b40f2ee76116f65bad2751624d067.jpg","text":"TemporaryFile(/tmp/multipartBody3115966529035824375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_18_59_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/22/e27e4f1c59b2e23f29612277ea39ba52.jpg","text":"TemporaryFile(/tmp/multipartBody7635589282478004662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_20_10_5803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a351a6f054fd45a467d4c8d728498bb.jpg","text":"TemporaryFile(/tmp/multipartBody7462102418445386890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_20_29_6673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/475de34368b8285e742b26e8b0a16edf.jpg","text":"TemporaryFile(/tmp/multipartBody3699119336216312857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579324983,"filename":"image_22012025_07_19_59_5377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330675916","file1":"1330675913","file0":"1330675908","file4":"1330675925","file5":"1330675929","file3":"1330675921"},"map_files_photo_id_array":[{"photo_id":"1330675929","filename":"file5"},{"photo_id":"1330675916","filename":"file2"},{"photo_id":"1330675925","filename":"file4"},{"photo_id":"1330675913","filename":"file1"},{"photo_id":"1330675908","filename":"file0"},{"photo_id":"1330675921","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330675921":["hashtag1","hashtag2"]},{"1330675929":["hashtag1","hashtag2"]},{"1330675908":["hashtag1","hashtag2"]},{"1330675916":["hashtag1","hashtag2"]},{"1330675925":["hashtag1","hashtag2"]},{"1330675913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330675921, 1330675929, 1330675908, 1330675916, 1330675925, 1330675913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.227463722229004 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-22 21:55:02.490449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/20/image_22012025_07_20_47_5429.jpg', '/media/data/images/22012025/07/21/image_22012025_07_21_11_7011.jpg', '/media/data/images/22012025/07/21/image_22012025_07_21_24_6785.jpg', '/media/data/images/22012025/07/21/image_22012025_07_21_34_5424.jpg', '/media/data/images/22012025/07/21/image_22012025_07_21_47_5443.jpg', '/media/data/images/22012025/07/21/image_22012025_07_21_53_6687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/20/image_22012025_07_20_47_5429.jpg
/media/data/images/22012025/07/21/image_22012025_07_21_11_7011.jpg
/media/data/images/22012025/07/21/image_22012025_07_21_24_6785.jpg
/media/data/images/22012025/07/21/image_22012025_07_21_34_5424.jpg
/media/data/images/22012025/07/21/image_22012025_07_21_47_5443.jpg
/media/data/images/22012025/07/21/image_22012025_07_21_53_6687.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":["1330676058","1330676040","1330676022","1330676063","1330676036","1330676026"],"photo_ids_order":["1330676022","1330676026","1330676036","1330676040","1330676058","1330676063"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cd366eeed1eae57ef2a394a4f296d4b4.jpg","text":"TemporaryFile(/tmp/multipartBody9193018302612057438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_21_47_5443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c0aeadcd0bde9c1217c3308e8a151524.jpg","text":"TemporaryFile(/tmp/multipartBody6321182000731382138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_21_34_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/22/f4648b757ee8ff4622a10557fe3f8910.jpg","text":"TemporaryFile(/tmp/multipartBody7408201746127381477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_20_47_5429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35d7ab1ffbf62badc398d2af41875ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4555019551004566459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_21_53_6687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57bfec30153e9d4d29f95d62b7bb81d8.jpg","text":"TemporaryFile(/tmp/multipartBody4325321270735138269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_21_24_6785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e3779b7da155c2234255ce9098a940df.jpg","text":"TemporaryFile(/tmp/multipartBody8282109472620443475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579402207,"filename":"image_22012025_07_21_11_7011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676036","file1":"1330676026","file0":"1330676022","file4":"1330676058","file5":"1330676063","file3":"1330676040"},"map_files_photo_id_array":[{"photo_id":"1330676063","filename":"file5"},{"photo_id":"1330676036","filename":"file2"},{"photo_id":"1330676058","filename":"file4"},{"photo_id":"1330676026","filename":"file1"},{"photo_id":"1330676022","filename":"file0"},{"photo_id":"1330676040","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676058":["hashtag1","hashtag2"]},{"1330676040":["hashtag1","hashtag2"]},{"1330676022":["hashtag1","hashtag2"]},{"1330676063":["hashtag1","hashtag2"]},{"1330676036":["hashtag1","hashtag2"]},{"1330676026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676058, 1330676040, 1330676022, 1330676063, 1330676036, 1330676026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.40005922317505 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:56:22.443110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/40/image_22012025_19_40_06_6503.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_59_6381.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_17_5410.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_11_6059.jpg', '/media/data/images/22012025/19/39/image_22012025_19_39_05_5927.jpg', '/media/data/images/22012025/19/38/image_22012025_19_38_59_5469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/40/image_22012025_19_40_06_6503.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_59_6381.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_17_5410.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_11_6059.jpg
/media/data/images/22012025/19/39/image_22012025_19_39_05_5927.jpg
/media/data/images/22012025/19/38/image_22012025_19_38_59_5469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330676301","1330676194","1330676296","1330676207","1330676173","1330676305"],"photo_ids_order":["1330676173","1330676194","1330676207","1330676296","1330676301","1330676305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5722d3158f904a4aabda65e3e2777f17.jpg","text":"TemporaryFile(/tmp/multipartBody2749765906952314634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_39_05_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1180153fc4acf8516515934a8176568b.jpg","text":"TemporaryFile(/tmp/multipartBody332121943202724714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_39_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/22/6100ee262459b88673a96eb543c5ede8.jpg","text":"TemporaryFile(/tmp/multipartBody601920087941061061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_39_11_6059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b8f00d1727926664589e8ffeb1e57fa.jpg","text":"TemporaryFile(/tmp/multipartBody3111219777219775705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_39_17_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/22/1dbe0f152dc7529230f43f9d3d45f588.jpg","text":"TemporaryFile(/tmp/multipartBody7052592245889449702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_40_06_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/22/535c9fdc20504c7cf8628c986e319118.jpg","text":"TemporaryFile(/tmp/multipartBody1368940144745115364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579451810,"filename":"image_22012025_19_38_59_5469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676207","file1":"1330676194","file0":"1330676173","file4":"1330676301","file5":"1330676305","file3":"1330676296"},"map_files_photo_id_array":[{"photo_id":"1330676305","filename":"file5"},{"photo_id":"1330676207","filename":"file2"},{"photo_id":"1330676301","filename":"file4"},{"photo_id":"1330676194","filename":"file1"},{"photo_id":"1330676173","filename":"file0"},{"photo_id":"1330676296","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676301":["hashtag1","hashtag2"]},{"1330676194":["hashtag1","hashtag2"]},{"1330676296":["hashtag1","hashtag2"]},{"1330676207":["hashtag1","hashtag2"]},{"1330676173":["hashtag1","hashtag2"]},{"1330676305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676301, 1330676194, 1330676296, 1330676207, 1330676173, 1330676305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91892433166504 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:57:22.577792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/34/image_22012025_19_34_59_5579.jpg', '/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg', '/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/34/image_22012025_19_34_59_5579.jpg
/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg
/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.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-22 21:58:02.793242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/22/image_22012025_07_22_17_5471.jpg', '/media/data/images/22012025/07/22/image_22012025_07_22_22_5406.jpg', '/media/data/images/22012025/07/22/image_22012025_07_22_29_6661.jpg', '/media/data/images/22012025/07/22/image_22012025_07_22_34_5403.jpg', '/media/data/images/22012025/07/23/image_22012025_07_23_05_6773.jpg', '/media/data/images/22012025/07/23/image_22012025_07_23_41_5390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/22/image_22012025_07_22_17_5471.jpg
/media/data/images/22012025/07/22/image_22012025_07_22_22_5406.jpg
/media/data/images/22012025/07/22/image_22012025_07_22_29_6661.jpg
/media/data/images/22012025/07/22/image_22012025_07_22_34_5403.jpg
/media/data/images/22012025/07/23/image_22012025_07_23_05_6773.jpg
/media/data/images/22012025/07/23/image_22012025_07_23_41_5390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330676550","1330676553","1330676549","1330676552","1330676554","1330676548"],"photo_ids_order":["1330676548","1330676549","1330676550","1330676552","1330676553","1330676554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/07f10d251e22f6c04ed6a1a299ab0a24.jpg","text":"TemporaryFile(/tmp/multipartBody214896458806187153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_22_29_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20e535d633e1d4c0eb8844e8f2a797d1.jpg","text":"TemporaryFile(/tmp/multipartBody8005343814988312751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_23_05_6773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fbfb2c5997ef5ea53ccfc00021752fab.jpg","text":"TemporaryFile(/tmp/multipartBody8720239252234381920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_22_22_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/22/1a002aeb19b0702c74b96adaafc37e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2281399779515096415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_22_34_5403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f39ff93bc9a18ec00c59c9ed78306690.jpg","text":"TemporaryFile(/tmp/multipartBody668996550514386981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_23_41_5390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7162f538ac2972a7c6d60914ce1500d.jpg","text":"TemporaryFile(/tmp/multipartBody6499329466325302075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579576039,"filename":"image_22012025_07_22_17_5471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676550","file1":"1330676549","file0":"1330676548","file4":"1330676553","file5":"1330676554","file3":"1330676552"},"map_files_photo_id_array":[{"photo_id":"1330676554","filename":"file5"},{"photo_id":"1330676550","filename":"file2"},{"photo_id":"1330676553","filename":"file4"},{"photo_id":"1330676549","filename":"file1"},{"photo_id":"1330676548","filename":"file0"},{"photo_id":"1330676552","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676550":["hashtag1","hashtag2"]},{"1330676553":["hashtag1","hashtag2"]},{"1330676549":["hashtag1","hashtag2"]},{"1330676552":["hashtag1","hashtag2"]},{"1330676554":["hashtag1","hashtag2"]},{"1330676548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676550, 1330676553, 1330676549, 1330676552, 1330676554, 1330676548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.63650703430176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 21:59:22.297272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/34/image_22012025_19_34_59_5579.jpg', '/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg', '/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg', '/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/34/image_22012025_19_34_59_5579.jpg
/media/data/images/22012025/19/31/image_22012025_19_31_35_5432.jpg
/media/data/images/22012025/19/30/image_22012025_19_30_29_5461.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_17_6540.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_10_5862.jpg
/media/data/images/22012025/19/27/image_22012025_19_27_05_5355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330676631","1330676624","1330676612","1330676606","1330676609","1330676614"],"photo_ids_order":["1330676606","1330676609","1330676612","1330676614","1330676624","1330676631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/902b093903bedd4fb1eda04a0d0a1142.jpg","text":"TemporaryFile(/tmp/multipartBody2907604551070385193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_27_05_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/22/70a1486a19af621d341d24618208b061.jpg","text":"TemporaryFile(/tmp/multipartBody1750489176573129312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_27_10_5862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a424fae159d7d2d1f0eeeb9d1d6143dd.jpg","text":"TemporaryFile(/tmp/multipartBody2650938111437345075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_30_29_5461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4c089b20b9e3f729edf5379fb0586d64.jpg","text":"TemporaryFile(/tmp/multipartBody1049270332758333013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_34_59_5579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bcd2ca0605934a571e9458cfd696854e.jpg","text":"TemporaryFile(/tmp/multipartBody5993443815273477004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_31_35_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/22/6f2b8e356e85ab5257aacd11e23a3fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5857994430539166965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579640198,"filename":"image_22012025_19_27_17_6540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676612","file1":"1330676609","file0":"1330676606","file4":"1330676624","file5":"1330676631","file3":"1330676614"},"map_files_photo_id_array":[{"photo_id":"1330676631","filename":"file5"},{"photo_id":"1330676612","filename":"file2"},{"photo_id":"1330676624","filename":"file4"},{"photo_id":"1330676609","filename":"file1"},{"photo_id":"1330676606","filename":"file0"},{"photo_id":"1330676614","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676631":["hashtag1","hashtag2"]},{"1330676624":["hashtag1","hashtag2"]},{"1330676612":["hashtag1","hashtag2"]},{"1330676606":["hashtag1","hashtag2"]},{"1330676609":["hashtag1","hashtag2"]},{"1330676614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676631, 1330676624, 1330676612, 1330676606, 1330676609, 1330676614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.59405159950256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:00:22.401093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/26/image_22012025_19_26_59_6503.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_17_5558.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_12_6168.jpg', '/media/data/images/22012025/19/26/image_22012025_19_26_06_6034.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_59_6484.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_17_5251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/26/image_22012025_19_26_59_6503.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_17_5558.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_12_6168.jpg
/media/data/images/22012025/19/26/image_22012025_19_26_06_6034.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_59_6484.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_17_5251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330676682","1330676672","1330676741","1330676738","1330676743","1330676688"],"photo_ids_order":["1330676672","1330676682","1330676688","1330676738","1330676741","1330676743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2b32b2661504a6b9121ebcacf1e13ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5274412576062508947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_26_17_5558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b241ca8504ffed26be31d95159403ff.jpg","text":"TemporaryFile(/tmp/multipartBody2112289178364731067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_26_59_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/22/22b628bbe23555f1879bfb2a04a3bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody1007893808389240693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_25_59_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/22/d54cdbfe5c6386142274c70d99c1324a.jpg","text":"TemporaryFile(/tmp/multipartBody3014479600527060958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_26_06_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/79f53ecc0a844176328538f81a381174.jpg","text":"TemporaryFile(/tmp/multipartBody7155723048335769160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_25_17_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/22/dedf49d72fddcf4159006af1cc9ed214.jpg","text":"TemporaryFile(/tmp/multipartBody7141187944486367475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579696752,"filename":"image_22012025_19_26_12_6168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676688","file1":"1330676682","file0":"1330676672","file4":"1330676741","file5":"1330676743","file3":"1330676738"},"map_files_photo_id_array":[{"photo_id":"1330676743","filename":"file5"},{"photo_id":"1330676688","filename":"file2"},{"photo_id":"1330676741","filename":"file4"},{"photo_id":"1330676682","filename":"file1"},{"photo_id":"1330676672","filename":"file0"},{"photo_id":"1330676738","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676682":["hashtag1","hashtag2"]},{"1330676672":["hashtag1","hashtag2"]},{"1330676741":["hashtag1","hashtag2"]},{"1330676738":["hashtag1","hashtag2"]},{"1330676743":["hashtag1","hashtag2"]},{"1330676688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676682, 1330676672, 1330676741, 1330676738, 1330676743, 1330676688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.04192900657654 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:01:22.598778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/25/image_22012025_19_25_12_7261.jpg', '/media/data/images/22012025/19/25/image_22012025_19_25_04_4901.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_59_6688.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_17_5428.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_12_6062.jpg', '/media/data/images/22012025/19/24/image_22012025_19_24_06_6912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/25/image_22012025_19_25_12_7261.jpg
/media/data/images/22012025/19/25/image_22012025_19_25_04_4901.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_59_6688.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_17_5428.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_12_6062.jpg
/media/data/images/22012025/19/24/image_22012025_19_24_06_6912.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":["1330676811","1330676798","1330676999","1330676802","1330677097","1330676793"],"photo_ids_order":["1330676793","1330676798","1330676802","1330676811","1330676999","1330677097"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/980b722e58138c24ba154c20fbcbdd47.jpg","text":"TemporaryFile(/tmp/multipartBody3258143883319693445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_24_17_5428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9ed382296972e965e5ea6a4c883bf628.jpg","text":"TemporaryFile(/tmp/multipartBody4989748418596165919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_25_04_4901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09f87c888f26f2eefd09dee870dc7f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8288235009492487666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_24_12_6062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b563bd58ea65b1f545942b16b07989eb.jpg","text":"TemporaryFile(/tmp/multipartBody8477444584072876743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_24_59_6688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7e849d34528e87f7cf1a5b729a38669.jpg","text":"TemporaryFile(/tmp/multipartBody7835402957930928655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_24_06_6912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7cfccdb718f645d9506b0d30626d8df7.jpg","text":"TemporaryFile(/tmp/multipartBody5904000220727074646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579761849,"filename":"image_22012025_19_25_12_7261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330676802","file1":"1330676798","file0":"1330676793","file4":"1330676999","file5":"1330677097","file3":"1330676811"},"map_files_photo_id_array":[{"photo_id":"1330677097","filename":"file5"},{"photo_id":"1330676802","filename":"file2"},{"photo_id":"1330676999","filename":"file4"},{"photo_id":"1330676798","filename":"file1"},{"photo_id":"1330676793","filename":"file0"},{"photo_id":"1330676811","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330676811":["hashtag1","hashtag2"]},{"1330676798":["hashtag1","hashtag2"]},{"1330676999":["hashtag1","hashtag2"]},{"1330676802":["hashtag1","hashtag2"]},{"1330677097":["hashtag1","hashtag2"]},{"1330676793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330676811, 1330676798, 1330676999, 1330676802, 1330677097, 1330676793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.02150249481201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:02:42.713456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/23/image_22012025_19_23_53_6671.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_17_6605.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_11_5943.jpg', '/media/data/images/22012025/19/23/image_22012025_19_23_05_5831.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_59_5260.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_17_5649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/23/image_22012025_19_23_53_6671.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_17_6605.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_11_5943.jpg
/media/data/images/22012025/19/23/image_22012025_19_23_05_5831.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_59_5260.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_17_5649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330677360","1330677348","1330677353","1330677356","1330677344","1330677363"],"photo_ids_order":["1330677344","1330677348","1330677353","1330677356","1330677360","1330677363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e1ca1a424642e0d77c84c7ce3e85b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1786693322957565010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_22_59_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/22/380cf45a5dde7ee2595f6cb8941c6664.jpg","text":"TemporaryFile(/tmp/multipartBody5026160807920602530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_23_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/22/4d9f57c59f0bd6af8ce84052d6f857ec.jpg","text":"TemporaryFile(/tmp/multipartBody2019913311126891767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_23_11_5943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e3f0e9033791434e8593b3b939cb3507.jpg","text":"TemporaryFile(/tmp/multipartBody8794505480948068687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_23_05_5831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ff07842f86a44423ba7b5ec8fb2ced1.jpg","text":"TemporaryFile(/tmp/multipartBody4243971423372130987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_23_53_6671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/185dd22756ee082a5a8ec84b802c58cb.jpg","text":"TemporaryFile(/tmp/multipartBody7264089625235611295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579841767,"filename":"image_22012025_19_22_17_5649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677353","file1":"1330677348","file0":"1330677344","file4":"1330677360","file5":"1330677363","file3":"1330677356"},"map_files_photo_id_array":[{"photo_id":"1330677363","filename":"file5"},{"photo_id":"1330677353","filename":"file2"},{"photo_id":"1330677360","filename":"file4"},{"photo_id":"1330677348","filename":"file1"},{"photo_id":"1330677344","filename":"file0"},{"photo_id":"1330677356","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677360":["hashtag1","hashtag2"]},{"1330677348":["hashtag1","hashtag2"]},{"1330677353":["hashtag1","hashtag2"]},{"1330677356":["hashtag1","hashtag2"]},{"1330677344":["hashtag1","hashtag2"]},{"1330677363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677360, 1330677348, 1330677353, 1330677356, 1330677344, 1330677363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.571531534194946 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:03:41.868047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/22/image_22012025_19_22_11_6102.jpg', '/media/data/images/22012025/19/22/image_22012025_19_22_05_5770.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_59_6902.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_17_5227.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_11_7058.jpg', '/media/data/images/22012025/19/21/image_22012025_19_21_04_5643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/22/image_22012025_19_22_11_6102.jpg
/media/data/images/22012025/19/22/image_22012025_19_22_05_5770.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_59_6902.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_17_5227.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_11_7058.jpg
/media/data/images/22012025/19/21/image_22012025_19_21_04_5643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330677510","1330677513","1330677515","1330677506","1330677484","1330677514"],"photo_ids_order":["1330677484","1330677506","1330677510","1330677513","1330677514","1330677515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cbb453de9ddfd43b259649a5ef48aea7.jpg","text":"TemporaryFile(/tmp/multipartBody9068333243735491927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_21_59_6902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/aceea99ee1500d1cb19f04e4758349e5.jpg","text":"TemporaryFile(/tmp/multipartBody9064548328804565814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_21_17_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/22/7fda6dd763b83e23439344d0993a800c.jpg","text":"TemporaryFile(/tmp/multipartBody793161088509016840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_21_04_5643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/faa976ea84976191b7e165bfce39fe3f.jpg","text":"TemporaryFile(/tmp/multipartBody9089271740357574966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_22_05_5770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fdd558fe9861fed1445fd9547a00b048.jpg","text":"TemporaryFile(/tmp/multipartBody6310086407875667283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_22_11_6102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1b787a7253237eefa7103df732452f0d.jpg","text":"TemporaryFile(/tmp/multipartBody316505337467508759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579895721,"filename":"image_22012025_19_21_11_7058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677510","file1":"1330677506","file0":"1330677484","file4":"1330677514","file5":"1330677515","file3":"1330677513"},"map_files_photo_id_array":[{"photo_id":"1330677515","filename":"file5"},{"photo_id":"1330677510","filename":"file2"},{"photo_id":"1330677514","filename":"file4"},{"photo_id":"1330677506","filename":"file1"},{"photo_id":"1330677484","filename":"file0"},{"photo_id":"1330677513","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677510":["hashtag1","hashtag2"]},{"1330677513":["hashtag1","hashtag2"]},{"1330677515":["hashtag1","hashtag2"]},{"1330677506":["hashtag1","hashtag2"]},{"1330677484":["hashtag1","hashtag2"]},{"1330677514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677510, 1330677513, 1330677515, 1330677506, 1330677484, 1330677514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.38188886642456 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:04:42.023695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/20/image_22012025_19_20_59_5278.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_17_5593.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_12_6254.jpg', '/media/data/images/22012025/19/20/image_22012025_19_20_06_6219.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_59_6084.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_17_6520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/20/image_22012025_19_20_59_5278.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_17_5593.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_12_6254.jpg
/media/data/images/22012025/19/20/image_22012025_19_20_06_6219.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_59_6084.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_17_6520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330677546","1330677534","1330677554","1330677539","1330677550","1330677541"],"photo_ids_order":["1330677534","1330677539","1330677541","1330677546","1330677550","1330677554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49d014edff7cf33e612c93fce37c8d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6891045039229286686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_20_06_6219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da510a98d6b54e7abdf292a9c5724592.jpg","text":"TemporaryFile(/tmp/multipartBody5567802355657850458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_20_59_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/22/cc465a3292e84882c56a8f12f208f4d7.jpg","text":"TemporaryFile(/tmp/multipartBody615873921249624396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_19_17_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/22/21d5f888b229734ac1f46e27fade5820.jpg","text":"TemporaryFile(/tmp/multipartBody1571572851406794443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_20_17_5593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4046141fafd75311e83c44f14da175d2.jpg","text":"TemporaryFile(/tmp/multipartBody5522973710283162533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_19_59_6084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ae2fbe592fc3511b9b5fbec50db9ada7.jpg","text":"TemporaryFile(/tmp/multipartBody1393034863571607955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737579950830,"filename":"image_22012025_19_20_12_6254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677541","file1":"1330677539","file0":"1330677534","file4":"1330677550","file5":"1330677554","file3":"1330677546"},"map_files_photo_id_array":[{"photo_id":"1330677554","filename":"file5"},{"photo_id":"1330677541","filename":"file2"},{"photo_id":"1330677550","filename":"file4"},{"photo_id":"1330677539","filename":"file1"},{"photo_id":"1330677534","filename":"file0"},{"photo_id":"1330677546","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677546":["hashtag1","hashtag2"]},{"1330677534":["hashtag1","hashtag2"]},{"1330677554":["hashtag1","hashtag2"]},{"1330677539":["hashtag1","hashtag2"]},{"1330677550":["hashtag1","hashtag2"]},{"1330677541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677546, 1330677534, 1330677554, 1330677539, 1330677550, 1330677541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.791764974594116 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:05:42.143435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/19/image_22012025_19_19_11_5804.jpg', '/media/data/images/22012025/19/19/image_22012025_19_19_05_5742.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_53_6419.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_17_6240.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_11_5147.jpg', '/media/data/images/22012025/19/18/image_22012025_19_18_06_6858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/19/image_22012025_19_19_11_5804.jpg
/media/data/images/22012025/19/19/image_22012025_19_19_05_5742.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_53_6419.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_17_6240.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_11_5147.jpg
/media/data/images/22012025/19/18/image_22012025_19_18_06_6858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330677612","1330677596","1330677602","1330677592","1330677589","1330677608"],"photo_ids_order":["1330677589","1330677592","1330677596","1330677602","1330677608","1330677612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/62a1977aeea8877e06d621edac97be8e.jpg","text":"TemporaryFile(/tmp/multipartBody6777346805964878362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_18_06_6858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b4a921ba80b76c2b6ff0b223870aa944.jpg","text":"TemporaryFile(/tmp/multipartBody4032909313240209528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_18_53_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/22/3ebbec950071425add8532812801d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6282162843558794428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_18_17_6240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1e221fd8a36affff7535c65233dbaf8.jpg","text":"TemporaryFile(/tmp/multipartBody1905744205592727543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_19_05_5742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03ba5914dfd890613e4e3828413c6e31.jpg","text":"TemporaryFile(/tmp/multipartBody5154467886120548578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_19_11_5804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de98f000dd280abc9e69cb3f6524f413.jpg","text":"TemporaryFile(/tmp/multipartBody1585187387261462315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580014632,"filename":"image_22012025_19_18_11_5147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677596","file1":"1330677592","file0":"1330677589","file4":"1330677608","file5":"1330677612","file3":"1330677602"},"map_files_photo_id_array":[{"photo_id":"1330677612","filename":"file5"},{"photo_id":"1330677596","filename":"file2"},{"photo_id":"1330677608","filename":"file4"},{"photo_id":"1330677592","filename":"file1"},{"photo_id":"1330677589","filename":"file0"},{"photo_id":"1330677602","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677612":["hashtag1","hashtag2"]},{"1330677596":["hashtag1","hashtag2"]},{"1330677602":["hashtag1","hashtag2"]},{"1330677592":["hashtag1","hashtag2"]},{"1330677589":["hashtag1","hashtag2"]},{"1330677608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677612, 1330677596, 1330677602, 1330677592, 1330677589, 1330677608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.47348690032959 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:06:42.293091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/17/image_22012025_19_17_59_5988.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_53_5344.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_47_6511.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_41_5236.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_35_6517.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_29_6453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/17/image_22012025_19_17_59_5988.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_53_5344.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_47_6511.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_41_5236.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_35_6517.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_29_6453.jpg
 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: 20.296059370040894 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:07:22.522385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/17/image_22012025_19_17_59_5988.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_53_5344.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_47_6511.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_41_5236.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_35_6517.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_29_6453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/17/image_22012025_19_17_59_5988.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_53_5344.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_47_6511.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_41_5236.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_35_6517.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_29_6453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330677689","1330677668","1330677658","1330677684","1330677693","1330677696"],"photo_ids_order":["1330677658","1330677668","1330677684","1330677689","1330677693","1330677696"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/48a0cc7ff34d6a8c5ade58f14d557fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2224006375069015162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_41_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/22/cfc6e3fcdbb4dc8e26cdf1c7d3b1196d.jpg","text":"TemporaryFile(/tmp/multipartBody2770121269668758581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_53_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/22/768aee51ae46638ee0e392ee39487bae.jpg","text":"TemporaryFile(/tmp/multipartBody4959833997564237183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_59_5988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dcaab55bed7832dc9a0c66534675e008.jpg","text":"TemporaryFile(/tmp/multipartBody5684398510426733387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_47_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/22/2f1bada4ac6f342a8ac5bab6c4eb149d.jpg","text":"TemporaryFile(/tmp/multipartBody2981201848674341358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_35_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/22/c9f49ff52adddfd3e7f7ba5da38f8602.jpg","text":"TemporaryFile(/tmp/multipartBody4768249699958653431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580110290,"filename":"image_22012025_19_17_29_6453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677684","file1":"1330677668","file0":"1330677658","file4":"1330677693","file5":"1330677696","file3":"1330677689"},"map_files_photo_id_array":[{"photo_id":"1330677696","filename":"file5"},{"photo_id":"1330677684","filename":"file2"},{"photo_id":"1330677693","filename":"file4"},{"photo_id":"1330677668","filename":"file1"},{"photo_id":"1330677658","filename":"file0"},{"photo_id":"1330677689","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677689":["hashtag1","hashtag2"]},{"1330677668":["hashtag1","hashtag2"]},{"1330677658":["hashtag1","hashtag2"]},{"1330677684":["hashtag1","hashtag2"]},{"1330677693":["hashtag1","hashtag2"]},{"1330677696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677689, 1330677668, 1330677658, 1330677684, 1330677693, 1330677696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75825262069702 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:08:22.560770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/17/image_22012025_19_17_22_5248.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_17_6661.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_11_5949.jpg', '/media/data/images/22012025/19/17/image_22012025_19_17_05_5906.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_59_5399.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_17_5604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/17/image_22012025_19_17_22_5248.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_17_6661.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_11_5949.jpg
/media/data/images/22012025/19/17/image_22012025_19_17_05_5906.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_59_5399.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_17_5604.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
after request
<Response [200]>
b'{"photo_ids":["1330677770","1330677755","1330677760","1330677763","1330677757","1330677766"],"photo_ids_order":["1330677755","1330677757","1330677760","1330677763","1330677766","1330677770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2dc0e88d02a0a3ffcb1ecd94018d1f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2751838357711885621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_16_17_5604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c4ca76e0e9b4df220e6f428a62bbad4f.jpg","text":"TemporaryFile(/tmp/multipartBody1204451579602453638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_17_22_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/22/6a75ef8b80033ae15015f00898f32d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1185992852426803649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_17_11_5949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/02e86f9b90ad20047433eb9d29dadee1.jpg","text":"TemporaryFile(/tmp/multipartBody4957591285502016823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_17_05_5906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/751ae8d7f360d07b7c3e9b08237c8311.jpg","text":"TemporaryFile(/tmp/multipartBody3575236323631238215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_17_17_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/954837434f88260c3a4190f398a164b5.jpg","text":"TemporaryFile(/tmp/multipartBody8918623141580809051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580229083,"filename":"image_22012025_19_16_59_5399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677760","file1":"1330677757","file0":"1330677755","file4":"1330677766","file5":"1330677770","file3":"1330677763"},"map_files_photo_id_array":[{"photo_id":"1330677770","filename":"file5"},{"photo_id":"1330677760","filename":"file2"},{"photo_id":"1330677766","filename":"file4"},{"photo_id":"1330677757","filename":"file1"},{"photo_id":"1330677755","filename":"file0"},{"photo_id":"1330677763","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677770":["hashtag1","hashtag2"]},{"1330677755":["hashtag1","hashtag2"]},{"1330677760":["hashtag1","hashtag2"]},{"1330677763":["hashtag1","hashtag2"]},{"1330677757":["hashtag1","hashtag2"]},{"1330677766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677770, 1330677755, 1330677760, 1330677763, 1330677757, 1330677766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.24931907653809 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:10:21.876116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/16/image_22012025_19_16_11_6398.jpg', '/media/data/images/22012025/19/16/image_22012025_19_16_05_5844.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_59_5247.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_17_6636.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_11_5979.jpg', '/media/data/images/22012025/19/15/image_22012025_19_15_05_6004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/16/image_22012025_19_16_11_6398.jpg
/media/data/images/22012025/19/16/image_22012025_19_16_05_5844.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_59_5247.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_17_6636.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_11_5979.jpg
/media/data/images/22012025/19/15/image_22012025_19_15_05_6004.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":["1330677942","1330677921","1330677937","1330677916","1330677910","1330677939"],"photo_ids_order":["1330677910","1330677916","1330677921","1330677937","1330677939","1330677942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/33a07a2713e95b57cbbcfb5a272afe43.jpg","text":"TemporaryFile(/tmp/multipartBody4211183972864160506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_15_05_6004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a8a28cffaaf6e663ea852da489c03618.jpg","text":"TemporaryFile(/tmp/multipartBody6269281978381547795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_15_59_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/22/6f02488c1981d84e3279c78740a5652e.jpg","text":"TemporaryFile(/tmp/multipartBody5272909621185636543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_15_17_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/22/074c0a483a14c207f0595c92d1d3413d.jpg","text":"TemporaryFile(/tmp/multipartBody4544039000668396449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_16_05_5844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4dbd4daf48335a07e0b55c13512bd986.jpg","text":"TemporaryFile(/tmp/multipartBody441157892190991036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_16_11_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/22/7551ee781736b956129f0dc679ca12e4.jpg","text":"TemporaryFile(/tmp/multipartBody3870557993056447689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580337206,"filename":"image_22012025_19_15_11_5979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330677921","file1":"1330677916","file0":"1330677910","file4":"1330677939","file5":"1330677942","file3":"1330677937"},"map_files_photo_id_array":[{"photo_id":"1330677942","filename":"file5"},{"photo_id":"1330677921","filename":"file2"},{"photo_id":"1330677939","filename":"file4"},{"photo_id":"1330677916","filename":"file1"},{"photo_id":"1330677910","filename":"file0"},{"photo_id":"1330677937","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330677942":["hashtag1","hashtag2"]},{"1330677921":["hashtag1","hashtag2"]},{"1330677937":["hashtag1","hashtag2"]},{"1330677916":["hashtag1","hashtag2"]},{"1330677910":["hashtag1","hashtag2"]},{"1330677939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330677942, 1330677921, 1330677937, 1330677916, 1330677910, 1330677939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.56907534599304 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-22 22:12:02.290762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/24/image_22012025_07_24_05_4958.jpg', '/media/data/images/22012025/07/25/image_22012025_07_25_11_5838.jpg', '/media/data/images/22012025/07/25/image_22012025_07_25_40_5425.jpg', '/media/data/images/22012025/07/25/image_22012025_07_25_52_5415.jpg', '/media/data/images/22012025/07/26/image_22012025_07_26_05_6109.jpg', '/media/data/images/22012025/07/27/image_22012025_07_27_23_6655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/24/image_22012025_07_24_05_4958.jpg
/media/data/images/22012025/07/25/image_22012025_07_25_11_5838.jpg
/media/data/images/22012025/07/25/image_22012025_07_25_40_5425.jpg
/media/data/images/22012025/07/25/image_22012025_07_25_52_5415.jpg
/media/data/images/22012025/07/26/image_22012025_07_26_05_6109.jpg
/media/data/images/22012025/07/27/image_22012025_07_27_23_6655.jpg
2025-01-22 22:12:02.458530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/14/image_22012025_19_14_59_6463.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_17_5763.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_11_6411.jpg', '/media/data/images/22012025/19/14/image_22012025_19_14_04_5368.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_53_5257.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_17_5346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/14/image_22012025_19_14_59_6463.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_17_5763.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_11_6411.jpg
/media/data/images/22012025/19/14/image_22012025_19_14_04_5368.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_53_5257.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_17_5346.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
after request
<Response [200]>
b'{"photo_ids":["1330678171","1330678174","1330678168","1330678182","1330678179","1330678184"],"photo_ids_order":["1330678168","1330678171","1330678174","1330678179","1330678182","1330678184"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5010b34f3e1225b1dfeca2a72eb7be97.jpg","text":"TemporaryFile(/tmp/multipartBody5485689759733952568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_14_17_5763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dd0c0eb58ce1f3e77acb72f38648ad31.jpg","text":"TemporaryFile(/tmp/multipartBody3382797245808289169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_14_11_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/22/8e0b1a54f7b9128787f7ad2480cf44dd.jpg","text":"TemporaryFile(/tmp/multipartBody1199522624794847074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_14_59_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/22/cc34ada4aa1f24c76411f7878ab64c15.jpg","text":"TemporaryFile(/tmp/multipartBody315580403282423261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_13_53_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/22/394a22080af8f412ed9d30dd238a718a.jpg","text":"TemporaryFile(/tmp/multipartBody7842204247498595111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_14_04_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/22/046722fcd9e56f5c762e0aa7f95c3fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8121124991517252223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580449223,"filename":"image_22012025_19_13_17_5346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678174","file1":"1330678171","file0":"1330678168","file4":"1330678182","file5":"1330678184","file3":"1330678179"},"map_files_photo_id_array":[{"photo_id":"1330678184","filename":"file5"},{"photo_id":"1330678174","filename":"file2"},{"photo_id":"1330678182","filename":"file4"},{"photo_id":"1330678171","filename":"file1"},{"photo_id":"1330678168","filename":"file0"},{"photo_id":"1330678179","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678171":["hashtag1","hashtag2"]},{"1330678174":["hashtag1","hashtag2"]},{"1330678168":["hashtag1","hashtag2"]},{"1330678182":["hashtag1","hashtag2"]},{"1330678179":["hashtag1","hashtag2"]},{"1330678184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678171, 1330678174, 1330678168, 1330678182, 1330678179, 1330678184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.24283480644226 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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":["1330678511","1330678502","1330678492","1330678480","1330678497","1330678488"],"photo_ids_order":["1330678480","1330678488","1330678492","1330678497","1330678502","1330678511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f914d2a4bb45ffd1d6b0345459531a5.jpg","text":"TemporaryFile(/tmp/multipartBody9038826089898720222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_27_23_6655.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a4b2979b5a4a54dbeb749acdda7eae08.jpg","text":"TemporaryFile(/tmp/multipartBody3965922289443442305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_26_05_6109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c3f32364c8bc0cfd52199c021c7e4c2c.jpg","text":"TemporaryFile(/tmp/multipartBody8444578566787934662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_25_40_5425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ee533aec3957adf7961cf924125613a.jpg","text":"TemporaryFile(/tmp/multipartBody6174534866146568487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_24_05_4958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/47655909b8fc343047a1a2a51b892c94.jpg","text":"TemporaryFile(/tmp/multipartBody1148450559664985777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_25_52_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/22/9d3b8eb273e0633adb171108dae1ca79.jpg","text":"TemporaryFile(/tmp/multipartBody3260155803074982468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580621731,"filename":"image_22012025_07_25_11_5838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678492","file1":"1330678488","file0":"1330678480","file4":"1330678502","file5":"1330678511","file3":"1330678497"},"map_files_photo_id_array":[{"photo_id":"1330678511","filename":"file5"},{"photo_id":"1330678492","filename":"file2"},{"photo_id":"1330678502","filename":"file4"},{"photo_id":"1330678488","filename":"file1"},{"photo_id":"1330678480","filename":"file0"},{"photo_id":"1330678497","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678511":["hashtag1","hashtag2"]},{"1330678502":["hashtag1","hashtag2"]},{"1330678492":["hashtag1","hashtag2"]},{"1330678480":["hashtag1","hashtag2"]},{"1330678497":["hashtag1","hashtag2"]},{"1330678488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678511, 1330678502, 1330678492, 1330678480, 1330678497, 1330678488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 273.88311195373535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:16:42.752303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/13/image_22012025_19_13_11_5927.jpg', '/media/data/images/22012025/19/13/image_22012025_19_13_05_6651.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_59_5236.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_17_6245.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_11_6050.jpg', '/media/data/images/22012025/19/12/image_22012025_19_12_05_6064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/13/image_22012025_19_13_11_5927.jpg
/media/data/images/22012025/19/13/image_22012025_19_13_05_6651.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_59_5236.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_17_6245.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_11_6050.jpg
/media/data/images/22012025/19/12/image_22012025_19_12_05_6064.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330678526","1330678529","1330678522","1330678531","1330678524","1330678527"],"photo_ids_order":["1330678522","1330678524","1330678526","1330678527","1330678529","1330678531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9b829d239a8c8e85c3ddc78a4303acb1.jpg","text":"TemporaryFile(/tmp/multipartBody536448159179766339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_12_59_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/22/02824eb4f83731dc0dcb5fa5d8fdd3db.jpg","text":"TemporaryFile(/tmp/multipartBody3574096587343050000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_12_11_6050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e7fb7ab071e04589a2771dfdba0f00e4.jpg","text":"TemporaryFile(/tmp/multipartBody2580929231849342124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_13_11_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71591135d2b6de0fa83293878d4fbb70.jpg","text":"TemporaryFile(/tmp/multipartBody6146960142936552755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_12_05_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e932310f1c872b0ba4f934944677409e.jpg","text":"TemporaryFile(/tmp/multipartBody8135382145350087415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_13_05_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/22/284feb89db36d1f5f8eaa62e50e6466c.jpg","text":"TemporaryFile(/tmp/multipartBody5919307484979896870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580671038,"filename":"image_22012025_19_12_17_6245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678526","file1":"1330678524","file0":"1330678522","file4":"1330678529","file5":"1330678531","file3":"1330678527"},"map_files_photo_id_array":[{"photo_id":"1330678531","filename":"file5"},{"photo_id":"1330678526","filename":"file2"},{"photo_id":"1330678529","filename":"file4"},{"photo_id":"1330678524","filename":"file1"},{"photo_id":"1330678522","filename":"file0"},{"photo_id":"1330678527","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678526":["hashtag1","hashtag2"]},{"1330678529":["hashtag1","hashtag2"]},{"1330678522":["hashtag1","hashtag2"]},{"1330678531":["hashtag1","hashtag2"]},{"1330678524":["hashtag1","hashtag2"]},{"1330678527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678526, 1330678529, 1330678522, 1330678531, 1330678524, 1330678527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84501552581787 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:17:41.892489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/11/image_22012025_19_11_59_6539.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_17_6444.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_11_5855.jpg', '/media/data/images/22012025/19/11/image_22012025_19_11_05_6714.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_58_5235.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_17_6070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/11/image_22012025_19_11_59_6539.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_17_6444.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_11_5855.jpg
/media/data/images/22012025/19/11/image_22012025_19_11_05_6714.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_58_5235.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_17_6070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330678562","1330678568","1330678555","1330678558","1330678552","1330678566"],"photo_ids_order":["1330678552","1330678555","1330678558","1330678562","1330678566","1330678568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/855769efc3c43347a34ad5f809e65948.jpg","text":"TemporaryFile(/tmp/multipartBody8342344221653313043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_11_05_6714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7951542574675e5ed5b6a95299ea7e91.jpg","text":"TemporaryFile(/tmp/multipartBody3804053480320718902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_10_17_6070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03b309eb593590144584675968e992f2.jpg","text":"TemporaryFile(/tmp/multipartBody8752972448669450862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_11_17_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/22/2c9d73346876f387151257e5073424ad.jpg","text":"TemporaryFile(/tmp/multipartBody6765383354098328468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_11_11_5855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3741d8f5f04980ab62835b0ed2df01e2.jpg","text":"TemporaryFile(/tmp/multipartBody6839435758327955257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_11_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/22/95f5a1a14cc9529ac6f90bc2eb141d74.jpg","text":"TemporaryFile(/tmp/multipartBody3446022005297873127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580730679,"filename":"image_22012025_19_10_58_5235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678558","file1":"1330678555","file0":"1330678552","file4":"1330678566","file5":"1330678568","file3":"1330678562"},"map_files_photo_id_array":[{"photo_id":"1330678568","filename":"file5"},{"photo_id":"1330678558","filename":"file2"},{"photo_id":"1330678566","filename":"file4"},{"photo_id":"1330678555","filename":"file1"},{"photo_id":"1330678552","filename":"file0"},{"photo_id":"1330678562","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678562":["hashtag1","hashtag2"]},{"1330678568":["hashtag1","hashtag2"]},{"1330678555":["hashtag1","hashtag2"]},{"1330678558":["hashtag1","hashtag2"]},{"1330678552":["hashtag1","hashtag2"]},{"1330678566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678562, 1330678568, 1330678555, 1330678558, 1330678552, 1330678566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.837262868881226 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:18:42.037721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/10/image_22012025_19_10_11_6084.jpg', '/media/data/images/22012025/19/10/image_22012025_19_10_05_6150.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_59_4827.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_17_5238.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_12_7188.jpg', '/media/data/images/22012025/19/09/image_22012025_19_09_04_5876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/10/image_22012025_19_10_11_6084.jpg
/media/data/images/22012025/19/10/image_22012025_19_10_05_6150.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_59_4827.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_17_5238.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_12_7188.jpg
/media/data/images/22012025/19/09/image_22012025_19_09_04_5876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330678655","1330678658","1330678634","1330678660","1330678662","1330678632"],"photo_ids_order":["1330678632","1330678634","1330678655","1330678658","1330678660","1330678662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a63fa8ceea5e35d1303b01cb97053fb.jpg","text":"TemporaryFile(/tmp/multipartBody2379688446388469475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_09_59_4827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b01e67b58b143d07abaf320620322d78.jpg","text":"TemporaryFile(/tmp/multipartBody2383222401057798915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_09_17_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/22/8070b26c47d267e782ee5748044401aa.jpg","text":"TemporaryFile(/tmp/multipartBody4232475515953865404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_10_05_6150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a9ae658ca670abe3f728b4d5a4eb1d69.jpg","text":"TemporaryFile(/tmp/multipartBody2828140867475682885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_09_12_7188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d35a58797c00f3842f486fd51c3c0a20.jpg","text":"TemporaryFile(/tmp/multipartBody2524262136141161450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_09_04_5876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cdc18c4f30afae8243df5efcb75f5018.jpg","text":"TemporaryFile(/tmp/multipartBody4691293356087316475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580795361,"filename":"image_22012025_19_10_11_6084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678655","file1":"1330678634","file0":"1330678632","file4":"1330678660","file5":"1330678662","file3":"1330678658"},"map_files_photo_id_array":[{"photo_id":"1330678662","filename":"file5"},{"photo_id":"1330678655","filename":"file2"},{"photo_id":"1330678660","filename":"file4"},{"photo_id":"1330678634","filename":"file1"},{"photo_id":"1330678632","filename":"file0"},{"photo_id":"1330678658","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678655":["hashtag1","hashtag2"]},{"1330678658":["hashtag1","hashtag2"]},{"1330678634":["hashtag1","hashtag2"]},{"1330678660":["hashtag1","hashtag2"]},{"1330678662":["hashtag1","hashtag2"]},{"1330678632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678655, 1330678658, 1330678634, 1330678660, 1330678662, 1330678632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.07859182357788 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:19:42.187901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/08/image_22012025_19_08_58_5048.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_54_5791.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_48_6199.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_42_6448.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_35_6498.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_29_5261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/08/image_22012025_19_08_58_5048.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_54_5791.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_48_6199.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_42_6448.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_35_6498.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_29_5261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330678696","1330678687","1330678705","1330678689","1330678692","1330678701"],"photo_ids_order":["1330678687","1330678689","1330678692","1330678696","1330678701","1330678705"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/764955af70d701537375e74e50afbc70.jpg","text":"TemporaryFile(/tmp/multipartBody1350741872621656741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_42_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/22/1813c618833b0fca11e9740f004d3151.jpg","text":"TemporaryFile(/tmp/multipartBody5554345194090204153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_58_5048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/52e213d15436ab63ac46cd99eadcc65c.jpg","text":"TemporaryFile(/tmp/multipartBody2867807416062579485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_29_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/24b64b7feb450e51f9f56f5cc99e0654.jpg","text":"TemporaryFile(/tmp/multipartBody8890575924639142886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_54_5791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7a5be1c3863e3adb1037a455d1368371.jpg","text":"TemporaryFile(/tmp/multipartBody5548620932869925919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_48_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/22/60765ca6eb2003f049a096556bba874f.jpg","text":"TemporaryFile(/tmp/multipartBody6852569906371086162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580850930,"filename":"image_22012025_19_08_35_6498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678692","file1":"1330678689","file0":"1330678687","file4":"1330678701","file5":"1330678705","file3":"1330678696"},"map_files_photo_id_array":[{"photo_id":"1330678705","filename":"file5"},{"photo_id":"1330678692","filename":"file2"},{"photo_id":"1330678701","filename":"file4"},{"photo_id":"1330678689","filename":"file1"},{"photo_id":"1330678687","filename":"file0"},{"photo_id":"1330678696","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678696":["hashtag1","hashtag2"]},{"1330678687":["hashtag1","hashtag2"]},{"1330678705":["hashtag1","hashtag2"]},{"1330678689":["hashtag1","hashtag2"]},{"1330678692":["hashtag1","hashtag2"]},{"1330678701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678696, 1330678687, 1330678705, 1330678689, 1330678692, 1330678701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92569899559021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:20:42.335807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_17_5693.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_11_6406.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_05_5884.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_59_4939.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_17_5292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_17_5693.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_11_6406.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_05_5884.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_59_4939.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_17_5292.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.889478921890259 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 22:21:02.795167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/28/image_22012025_07_28_17_5514.jpg', '/media/data/images/22012025/07/28/image_22012025_07_28_29_5399.jpg', '/media/data/images/22012025/07/28/image_22012025_07_28_36_6661.jpg', '/media/data/images/22012025/07/29/image_22012025_07_29_41_5432.jpg', '/media/data/images/22012025/07/29/image_22012025_07_29_53_5406.jpg', '/media/data/images/22012025/07/29/image_22012025_07_29_59_6688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/28/image_22012025_07_28_17_5514.jpg
/media/data/images/22012025/07/28/image_22012025_07_28_29_5399.jpg
/media/data/images/22012025/07/28/image_22012025_07_28_36_6661.jpg
/media/data/images/22012025/07/29/image_22012025_07_29_41_5432.jpg
/media/data/images/22012025/07/29/image_22012025_07_29_53_5406.jpg
/media/data/images/22012025/07/29/image_22012025_07_29_59_6688.jpg
2025-01-22 22:21:02.890142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_17_5693.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_11_6406.jpg', '/media/data/images/22012025/19/08/image_22012025_19_08_05_5884.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_59_4939.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_17_5292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/08/image_22012025_19_08_23_6566.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_17_5693.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_11_6406.jpg
/media/data/images/22012025/19/08/image_22012025_19_08_05_5884.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_59_4939.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_17_5292.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":["1330678895","1330678901","1330678887","1330678906","1330678890","1330678892"],"photo_ids_order":["1330678887","1330678890","1330678892","1330678895","1330678901","1330678906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fb0aeafb12f541ab8f2113840c32d377.jpg","text":"TemporaryFile(/tmp/multipartBody5842188748026125289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_08_05_5884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a0775d243abdc06e1df4f7f5780a8ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6672975830070263401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_07_59_4939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1bd8d4481402106bd7b1a85bf1b6d216.jpg","text":"TemporaryFile(/tmp/multipartBody3405726795882003288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_08_23_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/22/4f445dedf3a2f676ebb1f4dadf264805.jpg","text":"TemporaryFile(/tmp/multipartBody3371434479957697981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_07_17_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/22/361de6d60a858afb81990f82df7abf29.jpg","text":"TemporaryFile(/tmp/multipartBody4848579297060090341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_08_17_5693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d40377dd9c978cf384fdbe3d6e6746e.jpg","text":"TemporaryFile(/tmp/multipartBody1001635330282347117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580941506,"filename":"image_22012025_19_08_11_6406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678892","file1":"1330678890","file0":"1330678887","file4":"1330678901","file5":"1330678906","file3":"1330678895"},"map_files_photo_id_array":[{"photo_id":"1330678906","filename":"file5"},{"photo_id":"1330678892","filename":"file2"},{"photo_id":"1330678901","filename":"file4"},{"photo_id":"1330678890","filename":"file1"},{"photo_id":"1330678887","filename":"file0"},{"photo_id":"1330678895","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678895":["hashtag1","hashtag2"]},{"1330678901":["hashtag1","hashtag2"]},{"1330678887":["hashtag1","hashtag2"]},{"1330678906":["hashtag1","hashtag2"]},{"1330678890":["hashtag1","hashtag2"]},{"1330678892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678895, 1330678901, 1330678887, 1330678906, 1330678890, 1330678892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52723145484924 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":["1330678916","1330678913","1330678900","1330678896","1330678920","1330678908"],"photo_ids_order":["1330678896","1330678900","1330678908","1330678913","1330678916","1330678920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2c7e507d19fb5812b5b7aae98161cbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1249086360781130850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_29_53_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/22/a5d3beaf541d8dd7c263f7cc5f41d43a.jpg","text":"TemporaryFile(/tmp/multipartBody8726986478461771965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_29_41_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/22/5541cbc8e0bf38599f2d3b965ef7b613.jpg","text":"TemporaryFile(/tmp/multipartBody2237866056865046667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_28_29_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/22/3ab82453429c44e51d2bb655d892bf71.jpg","text":"TemporaryFile(/tmp/multipartBody9130225958237095901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_28_17_5514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/84b0f723a8745f43eeef3e9d61d927c1.jpg","text":"TemporaryFile(/tmp/multipartBody5750982732472500943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_29_59_6688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6c898b8ef21e016becff680cadb50b89.jpg","text":"TemporaryFile(/tmp/multipartBody6643042469131670916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737580958162,"filename":"image_22012025_07_28_36_6661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678908","file1":"1330678900","file0":"1330678896","file4":"1330678916","file5":"1330678920","file3":"1330678913"},"map_files_photo_id_array":[{"photo_id":"1330678920","filename":"file5"},{"photo_id":"1330678908","filename":"file2"},{"photo_id":"1330678916","filename":"file4"},{"photo_id":"1330678900","filename":"file1"},{"photo_id":"1330678896","filename":"file0"},{"photo_id":"1330678913","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678916":["hashtag1","hashtag2"]},{"1330678913":["hashtag1","hashtag2"]},{"1330678900":["hashtag1","hashtag2"]},{"1330678896":["hashtag1","hashtag2"]},{"1330678920":["hashtag1","hashtag2"]},{"1330678908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678916, 1330678913, 1330678900, 1330678896, 1330678920, 1330678908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.98178601264954 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:22:22.601599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/07/image_22012025_19_07_11_7074.jpg', '/media/data/images/22012025/19/07/image_22012025_19_07_04_5418.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_59_6419.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_16_5750.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_11_4918.jpg', '/media/data/images/22012025/19/06/image_22012025_19_06_06_7055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/07/image_22012025_19_07_11_7074.jpg
/media/data/images/22012025/19/07/image_22012025_19_07_04_5418.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_59_6419.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_16_5750.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_11_4918.jpg
/media/data/images/22012025/19/06/image_22012025_19_06_06_7055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330678976","1330678968","1330678971","1330678959","1330678985","1330678979"],"photo_ids_order":["1330678959","1330678968","1330678971","1330678976","1330678979","1330678985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/405507288274a6d3e89ea5518cb911e7.jpg","text":"TemporaryFile(/tmp/multipartBody4121484969351990103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_06_16_5750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c0b3552f84780104200dd67354f05c09.jpg","text":"TemporaryFile(/tmp/multipartBody1157232478091407398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_07_04_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/22/1bdcde72069e0751540d547ee4d6a8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3615597636970030309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_06_59_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/22/b212e2018fca8294378839513c03fa91.jpg","text":"TemporaryFile(/tmp/multipartBody7239771451372634392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_07_11_7074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a7d079558008798be94d6471951144ce.jpg","text":"TemporaryFile(/tmp/multipartBody8831362408632897752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_06_06_7055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f5ff43732dbdab38bd809d5a31e6475.jpg","text":"TemporaryFile(/tmp/multipartBody1943538956603121766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581022470,"filename":"image_22012025_19_06_11_4918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330678971","file1":"1330678968","file0":"1330678959","file4":"1330678979","file5":"1330678985","file3":"1330678976"},"map_files_photo_id_array":[{"photo_id":"1330678985","filename":"file5"},{"photo_id":"1330678971","filename":"file2"},{"photo_id":"1330678979","filename":"file4"},{"photo_id":"1330678968","filename":"file1"},{"photo_id":"1330678959","filename":"file0"},{"photo_id":"1330678976","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330678976":["hashtag1","hashtag2"]},{"1330678968":["hashtag1","hashtag2"]},{"1330678971":["hashtag1","hashtag2"]},{"1330678959":["hashtag1","hashtag2"]},{"1330678985":["hashtag1","hashtag2"]},{"1330678979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330678976, 1330678968, 1330678971, 1330678959, 1330678985, 1330678979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.83275818824768 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:23:22.721637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/05/image_22012025_19_05_59_5230.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_16_5328.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_11_5923.jpg', '/media/data/images/22012025/19/05/image_22012025_19_05_05_6699.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_58_5294.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_16_5580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/05/image_22012025_19_05_59_5230.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_16_5328.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_11_5923.jpg
/media/data/images/22012025/19/05/image_22012025_19_05_05_6699.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_58_5294.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_16_5580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679074","1330679062","1330679067","1330679070","1330679064","1330679072"],"photo_ids_order":["1330679062","1330679064","1330679067","1330679070","1330679072","1330679074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/559cb76cc0ce2ca81f5de0dfd1be3002.jpg","text":"TemporaryFile(/tmp/multipartBody4725419534903194805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_04_16_5580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c637647942d79eaa36c974bb8d125819.jpg","text":"TemporaryFile(/tmp/multipartBody7974918761265977291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_05_59_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/22/b5fb311b764fd77c8fd84d6a5a9c8065.jpg","text":"TemporaryFile(/tmp/multipartBody7101989617685683834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_05_11_5923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c916ca7c7ae2880f3547d62ac48c542f.jpg","text":"TemporaryFile(/tmp/multipartBody7135222222666656436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_05_05_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/22/3c6b6346580a74504ad00ddf424ade2f.jpg","text":"TemporaryFile(/tmp/multipartBody2418283596381797184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_05_16_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/22/afd8896ca57b2618eaec6c960ab61a39.jpg","text":"TemporaryFile(/tmp/multipartBody4415393902733204764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581075593,"filename":"image_22012025_19_04_58_5294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679067","file1":"1330679064","file0":"1330679062","file4":"1330679072","file5":"1330679074","file3":"1330679070"},"map_files_photo_id_array":[{"photo_id":"1330679074","filename":"file5"},{"photo_id":"1330679067","filename":"file2"},{"photo_id":"1330679072","filename":"file4"},{"photo_id":"1330679064","filename":"file1"},{"photo_id":"1330679062","filename":"file0"},{"photo_id":"1330679070","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679074":["hashtag1","hashtag2"]},{"1330679062":["hashtag1","hashtag2"]},{"1330679067":["hashtag1","hashtag2"]},{"1330679070":["hashtag1","hashtag2"]},{"1330679064":["hashtag1","hashtag2"]},{"1330679072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679074, 1330679062, 1330679067, 1330679070, 1330679064, 1330679072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.24917936325073 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:24:21.874747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/04/image_22012025_19_04_11_6390.jpg', '/media/data/images/22012025/19/04/image_22012025_19_04_05_5693.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_52_5247.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_17_6603.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_11_5850.jpg', '/media/data/images/22012025/19/03/image_22012025_19_03_05_5647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/04/image_22012025_19_04_11_6390.jpg
/media/data/images/22012025/19/04/image_22012025_19_04_05_5693.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_52_5247.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_17_6603.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_11_5850.jpg
/media/data/images/22012025/19/03/image_22012025_19_03_05_5647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679135","1330679123","1330679131","1330679154","1330679118","1330679133"],"photo_ids_order":["1330679118","1330679123","1330679131","1330679133","1330679135","1330679154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/147e12633682bc0a1995b412fd01178d.jpg","text":"TemporaryFile(/tmp/multipartBody1829061690925838803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_03_11_5850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b960169013cc32b3fcba86c1f5fc85f.jpg","text":"TemporaryFile(/tmp/multipartBody3619901649858085758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_04_05_5693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1651579b1acd4133d6bea74f6a77feca.jpg","text":"TemporaryFile(/tmp/multipartBody9147570670783580558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_03_52_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/22/bc4870fd45c1d3108943eab592cd7ab0.jpg","text":"TemporaryFile(/tmp/multipartBody3796860321420208049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_03_05_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71df483b5c2b949412874439e30d76e6.jpg","text":"TemporaryFile(/tmp/multipartBody4585948548445907083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_04_11_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/22/b015939e0b3b4b461a1202e868ecb0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1991466544507731250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581138752,"filename":"image_22012025_19_03_17_6603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679131","file1":"1330679123","file0":"1330679118","file4":"1330679135","file5":"1330679154","file3":"1330679133"},"map_files_photo_id_array":[{"photo_id":"1330679154","filename":"file5"},{"photo_id":"1330679131","filename":"file2"},{"photo_id":"1330679135","filename":"file4"},{"photo_id":"1330679123","filename":"file1"},{"photo_id":"1330679118","filename":"file0"},{"photo_id":"1330679133","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679135":["hashtag1","hashtag2"]},{"1330679123":["hashtag1","hashtag2"]},{"1330679131":["hashtag1","hashtag2"]},{"1330679154":["hashtag1","hashtag2"]},{"1330679118":["hashtag1","hashtag2"]},{"1330679133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679135, 1330679123, 1330679131, 1330679154, 1330679118, 1330679133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.044269323349 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:25:22.057473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/02/image_22012025_19_02_59_6449.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_17_5329.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_13_6956.jpg', '/media/data/images/22012025/19/02/image_22012025_19_02_05_6167.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_59_6479.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_52_5284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/02/image_22012025_19_02_59_6449.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_17_5329.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_13_6956.jpg
/media/data/images/22012025/19/02/image_22012025_19_02_05_6167.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_59_6479.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_52_5284.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679191","1330679196","1330679202","1330679208","1330679183","1330679177"],"photo_ids_order":["1330679177","1330679183","1330679191","1330679196","1330679202","1330679208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3677acc22b237c7fdbf4467250ca5a44.jpg","text":"TemporaryFile(/tmp/multipartBody8407524328904912029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_02_13_6956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f1cced990793488482755c0172fc23c2.jpg","text":"TemporaryFile(/tmp/multipartBody7019942753171508478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_02_05_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/22/ce5c9d968e2b2c26ca521657f97645c3.jpg","text":"TemporaryFile(/tmp/multipartBody3718618778070519784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_01_59_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/22/74d932f75f498575a9ce479943e1da40.jpg","text":"TemporaryFile(/tmp/multipartBody9041101929761041844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_01_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/22/9e4b787a16abc0be6f9e83bde2c05e24.jpg","text":"TemporaryFile(/tmp/multipartBody6729885247779887412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_02_17_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/22/7a538848a0d84823353fd3fac3eada43.jpg","text":"TemporaryFile(/tmp/multipartBody5496654501038997031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581198993,"filename":"image_22012025_19_02_59_6449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679191","file1":"1330679183","file0":"1330679177","file4":"1330679202","file5":"1330679208","file3":"1330679196"},"map_files_photo_id_array":[{"photo_id":"1330679208","filename":"file5"},{"photo_id":"1330679191","filename":"file2"},{"photo_id":"1330679202","filename":"file4"},{"photo_id":"1330679183","filename":"file1"},{"photo_id":"1330679177","filename":"file0"},{"photo_id":"1330679196","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679191":["hashtag1","hashtag2"]},{"1330679196":["hashtag1","hashtag2"]},{"1330679202":["hashtag1","hashtag2"]},{"1330679208":["hashtag1","hashtag2"]},{"1330679183":["hashtag1","hashtag2"]},{"1330679177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679191, 1330679196, 1330679202, 1330679208, 1330679183, 1330679177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.37484884262085 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:26:22.197364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/01/image_22012025_19_01_47_6464.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_41_5248.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_35_6495.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_29_6468.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_22_5216.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_17_5898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/01/image_22012025_19_01_47_6464.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_41_5248.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_35_6495.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_29_6468.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_22_5216.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_17_5898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679240","1330679219","1330679230","1330679235","1330679238","1330679225"],"photo_ids_order":["1330679219","1330679225","1330679230","1330679235","1330679238","1330679240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71d3ba04473545012e67e66e1d368ced.jpg","text":"TemporaryFile(/tmp/multipartBody2717223211525779145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_17_5898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5316743ad40ffe91d342125ebf29cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody1762374100146526902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_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/22/361b5a494489e4977b71c89d085116aa.jpg","text":"TemporaryFile(/tmp/multipartBody8945693578239318714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_35_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/22/57a5e459002270f9bb5cafd0355630d7.jpg","text":"TemporaryFile(/tmp/multipartBody8571433042828134084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_29_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/22/c69d79793735023ddeee85ede6860ce0.jpg","text":"TemporaryFile(/tmp/multipartBody72704642012597387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_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/22/64b9a7f94b405547e109f7b6fe0535bb.jpg","text":"TemporaryFile(/tmp/multipartBody1860260689027005332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581255833,"filename":"image_22012025_19_01_41_5248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679230","file1":"1330679225","file0":"1330679219","file4":"1330679238","file5":"1330679240","file3":"1330679235"},"map_files_photo_id_array":[{"photo_id":"1330679240","filename":"file5"},{"photo_id":"1330679230","filename":"file2"},{"photo_id":"1330679238","filename":"file4"},{"photo_id":"1330679225","filename":"file1"},{"photo_id":"1330679219","filename":"file0"},{"photo_id":"1330679235","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679240":["hashtag1","hashtag2"]},{"1330679219":["hashtag1","hashtag2"]},{"1330679230":["hashtag1","hashtag2"]},{"1330679235":["hashtag1","hashtag2"]},{"1330679238":["hashtag1","hashtag2"]},{"1330679225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679240, 1330679219, 1330679230, 1330679235, 1330679238, 1330679225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.8458833694458 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:27:22.313621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/19/01/image_22012025_19_01_11_6152.jpg', '/media/data/images/22012025/19/01/image_22012025_19_01_06_5966.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_59_6460.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_17_6159.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_12_5795.jpg', '/media/data/images/22012025/19/00/image_22012025_19_00_06_6329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/19/01/image_22012025_19_01_11_6152.jpg
/media/data/images/22012025/19/01/image_22012025_19_01_06_5966.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_59_6460.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_17_6159.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_12_5795.jpg
/media/data/images/22012025/19/00/image_22012025_19_00_06_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":["1330679435","1330679449","1330679457","1330679445","1330679454","1330679441"],"photo_ids_order":["1330679435","1330679441","1330679445","1330679449","1330679454","1330679457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/18bdb2eec078f7a39fb41826268ca24f.jpg","text":"TemporaryFile(/tmp/multipartBody3030848075192678481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_01_11_6152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/360adb85793d5c0070d96e1418e67499.jpg","text":"TemporaryFile(/tmp/multipartBody9093485756014570974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_00_17_6159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/37a8b537876fab844a510c9ded58fefa.jpg","text":"TemporaryFile(/tmp/multipartBody2141611228166015553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_00_06_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/22/5cd5971392b6c999740f881949fa31d1.jpg","text":"TemporaryFile(/tmp/multipartBody6313944426603498399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_00_59_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/22/fe8d64be4df533b79445ade3302c9fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5916873631900753637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_00_12_5795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a238b8b4e7c2662a7308759c0f02185c.jpg","text":"TemporaryFile(/tmp/multipartBody1849764979230319248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581323957,"filename":"image_22012025_19_01_06_5966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679445","file1":"1330679441","file0":"1330679435","file4":"1330679454","file5":"1330679457","file3":"1330679449"},"map_files_photo_id_array":[{"photo_id":"1330679457","filename":"file5"},{"photo_id":"1330679445","filename":"file2"},{"photo_id":"1330679454","filename":"file4"},{"photo_id":"1330679441","filename":"file1"},{"photo_id":"1330679435","filename":"file0"},{"photo_id":"1330679449","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679435":["hashtag1","hashtag2"]},{"1330679449":["hashtag1","hashtag2"]},{"1330679457":["hashtag1","hashtag2"]},{"1330679445":["hashtag1","hashtag2"]},{"1330679454":["hashtag1","hashtag2"]},{"1330679441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679435, 1330679449, 1330679457, 1330679445, 1330679454, 1330679441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6953604221344 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:28:22.445437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/59/image_22012025_18_59_59_6540.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_17_6480.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_11_5929.jpg', '/media/data/images/22012025/18/59/image_22012025_18_59_05_6612.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_53_5261.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_17_6149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/59/image_22012025_18_59_59_6540.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_17_6480.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_11_5929.jpg
/media/data/images/22012025/18/59/image_22012025_18_59_05_6612.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_53_5261.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_17_6149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679551","1330679560","1330679556","1330679568","1330679564","1330679543"],"photo_ids_order":["1330679543","1330679551","1330679556","1330679560","1330679564","1330679568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/674b70066b0f5d48a68e4fc7da7ba595.jpg","text":"TemporaryFile(/tmp/multipartBody1369222430600434213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_59_17_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/22/438e920b5a37a292f998d4c2c3abf073.jpg","text":"TemporaryFile(/tmp/multipartBody3767939454014180443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_59_05_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/22/a2c159f9c0829e8a7e5b15ce192bc5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7868214565268073729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_59_11_5929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fd77521d074d47151709b092861da75a.jpg","text":"TemporaryFile(/tmp/multipartBody2490224694099328379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_58_17_6149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cff2a1f625d2f3c56516cc5c792f3ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5788292119504554874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_58_53_5261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/334c6334e8a52bf4d3988a4b533fdb0d.jpg","text":"TemporaryFile(/tmp/multipartBody1547365954735399833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581381186,"filename":"image_22012025_18_59_59_6540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679556","file1":"1330679551","file0":"1330679543","file4":"1330679564","file5":"1330679568","file3":"1330679560"},"map_files_photo_id_array":[{"photo_id":"1330679568","filename":"file5"},{"photo_id":"1330679556","filename":"file2"},{"photo_id":"1330679564","filename":"file4"},{"photo_id":"1330679551","filename":"file1"},{"photo_id":"1330679543","filename":"file0"},{"photo_id":"1330679560","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679551":["hashtag1","hashtag2"]},{"1330679560":["hashtag1","hashtag2"]},{"1330679556":["hashtag1","hashtag2"]},{"1330679568":["hashtag1","hashtag2"]},{"1330679564":["hashtag1","hashtag2"]},{"1330679543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679551, 1330679560, 1330679556, 1330679568, 1330679564, 1330679543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.089046001434326 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:29:22.645300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/58/image_22012025_18_58_11_6035.jpg', '/media/data/images/22012025/18/58/image_22012025_18_58_05_5740.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_59_6473.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_53_5048.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_48_6851.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_41_5309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/58/image_22012025_18_58_11_6035.jpg
/media/data/images/22012025/18/58/image_22012025_18_58_05_5740.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_59_6473.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_53_5048.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_48_6851.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_41_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":["1330679595","1330679580","1330679583","1330679577","1330679586","1330679591"],"photo_ids_order":["1330679577","1330679580","1330679583","1330679586","1330679591","1330679595"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2a19841076b380c413dd389ca8cbf9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1064508394123468865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_57_41_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/22/11e3add3f1ed1d12d3e90d0d7e957a27.jpg","text":"TemporaryFile(/tmp/multipartBody4895996304505447769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_58_05_5740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5533e629033fc34d4e7cd8d53ddc8aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6733308567129497473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_57_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/22/78d2bb0eda9f623fb20fc3b5a343a11c.jpg","text":"TemporaryFile(/tmp/multipartBody1403616346664259194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_58_11_6035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b06bd986c52ec56139c45201847dc56.jpg","text":"TemporaryFile(/tmp/multipartBody8370315602052992940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_57_53_5048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf0685e63b7f263b351458c6dea6f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody2323330683105169909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581431624,"filename":"image_22012025_18_57_48_6851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679583","file1":"1330679580","file0":"1330679577","file4":"1330679591","file5":"1330679595","file3":"1330679586"},"map_files_photo_id_array":[{"photo_id":"1330679595","filename":"file5"},{"photo_id":"1330679583","filename":"file2"},{"photo_id":"1330679591","filename":"file4"},{"photo_id":"1330679580","filename":"file1"},{"photo_id":"1330679577","filename":"file0"},{"photo_id":"1330679586","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679595":["hashtag1","hashtag2"]},{"1330679580":["hashtag1","hashtag2"]},{"1330679583":["hashtag1","hashtag2"]},{"1330679577":["hashtag1","hashtag2"]},{"1330679586":["hashtag1","hashtag2"]},{"1330679591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679595, 1330679580, 1330679583, 1330679577, 1330679586, 1330679591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.120452642440796 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:30:22.758616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/57/image_22012025_18_57_35_6446.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_29_6556.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_22_5230.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_17_6802.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_10_5905.jpg', '/media/data/images/22012025/18/57/image_22012025_18_57_05_5814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/57/image_22012025_18_57_35_6446.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_29_6556.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_22_5230.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_17_6802.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_10_5905.jpg
/media/data/images/22012025/18/57/image_22012025_18_57_05_5814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679825","1330679764","1330679620","1330679803","1330679817","1330679720"],"photo_ids_order":["1330679620","1330679720","1330679764","1330679803","1330679817","1330679825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d8d365dbfbdfb569427abdafcd6bd6b2.jpg","text":"TemporaryFile(/tmp/multipartBody9007895449277741835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_05_5814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2c713c925a02696e4eb15c4b58722290.jpg","text":"TemporaryFile(/tmp/multipartBody6737514469630461089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_22_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/22/79543dba1711f92cd552511e6ef535c9.jpg","text":"TemporaryFile(/tmp/multipartBody8531807032957822156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_35_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/22/8fef426161f3411ce90f8b3006deec0a.jpg","text":"TemporaryFile(/tmp/multipartBody8910959488308317400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_17_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/22/3e7c5d814955bfe7ef377387307139e1.jpg","text":"TemporaryFile(/tmp/multipartBody792418733583820634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_10_5905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/336b4b8a81c77c0d0f9f2a13d2c7d39d.jpg","text":"TemporaryFile(/tmp/multipartBody6276923599294509582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581496477,"filename":"image_22012025_18_57_29_6556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679764","file1":"1330679720","file0":"1330679620","file4":"1330679817","file5":"1330679825","file3":"1330679803"},"map_files_photo_id_array":[{"photo_id":"1330679825","filename":"file5"},{"photo_id":"1330679764","filename":"file2"},{"photo_id":"1330679817","filename":"file4"},{"photo_id":"1330679720","filename":"file1"},{"photo_id":"1330679620","filename":"file0"},{"photo_id":"1330679803","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679825":["hashtag1","hashtag2"]},{"1330679764":["hashtag1","hashtag2"]},{"1330679620":["hashtag1","hashtag2"]},{"1330679803":["hashtag1","hashtag2"]},{"1330679817":["hashtag1","hashtag2"]},{"1330679720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679825, 1330679764, 1330679620, 1330679803, 1330679817, 1330679720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54244685173035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:31:21.885853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/56/image_22012025_18_56_59_5252.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_17_5911.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_11_6012.jpg', '/media/data/images/22012025/18/56/image_22012025_18_56_05_5998.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_59_6495.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_16_5716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/56/image_22012025_18_56_59_5252.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_17_5911.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_11_6012.jpg
/media/data/images/22012025/18/56/image_22012025_18_56_05_5998.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_59_6495.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_16_5716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679881","1330679884","1330679938","1330679932","1330679935","1330679888"],"photo_ids_order":["1330679881","1330679884","1330679888","1330679932","1330679935","1330679938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2b58919ab9803a39d1f2efc646a11a6.jpg","text":"TemporaryFile(/tmp/multipartBody7049723856783482175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_56_59_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/22/e706544adced0f0fa91dc80b86ff935e.jpg","text":"TemporaryFile(/tmp/multipartBody2544735593196838217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_56_17_5911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d8bed8bb3ba7508cf412bac04de599b2.jpg","text":"TemporaryFile(/tmp/multipartBody2976193679152520387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_55_16_5716.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/407770e82703282e07dcc7240585e94c.jpg","text":"TemporaryFile(/tmp/multipartBody8821621176394003972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_56_05_5998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/157cc774be7021c06f6519fed1be99df.jpg","text":"TemporaryFile(/tmp/multipartBody443276194954897619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_55_59_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/22/ab92c66a83af8bc9fa121dbdb1994871.jpg","text":"TemporaryFile(/tmp/multipartBody1338156919434219520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581557181,"filename":"image_22012025_18_56_11_6012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330679888","file1":"1330679884","file0":"1330679881","file4":"1330679935","file5":"1330679938","file3":"1330679932"},"map_files_photo_id_array":[{"photo_id":"1330679938","filename":"file5"},{"photo_id":"1330679888","filename":"file2"},{"photo_id":"1330679935","filename":"file4"},{"photo_id":"1330679884","filename":"file1"},{"photo_id":"1330679881","filename":"file0"},{"photo_id":"1330679932","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679881":["hashtag1","hashtag2"]},{"1330679884":["hashtag1","hashtag2"]},{"1330679938":["hashtag1","hashtag2"]},{"1330679932":["hashtag1","hashtag2"]},{"1330679935":["hashtag1","hashtag2"]},{"1330679888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679881, 1330679884, 1330679938, 1330679932, 1330679935, 1330679888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.5320611000061 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:32:22.089952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/55/image_22012025_18_55_11_6050.jpg', '/media/data/images/22012025/18/55/image_22012025_18_55_05_5952.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_59_5896.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_16_5935.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_11_5089.jpg', '/media/data/images/22012025/18/54/image_22012025_18_54_06_6933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/55/image_22012025_18_55_11_6050.jpg
/media/data/images/22012025/18/55/image_22012025_18_55_05_5952.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_59_5896.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_16_5935.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_11_5089.jpg
/media/data/images/22012025/18/54/image_22012025_18_54_06_6933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330679986","1330680068","1330680020","1330680031","1330679994","1330680072"],"photo_ids_order":["1330679986","1330679994","1330680020","1330680031","1330680068","1330680072"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/621bd8008fe9bde9fd4fd7c57b639b1c.jpg","text":"TemporaryFile(/tmp/multipartBody4113079695112285483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_55_11_6050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b7e59cdfb32d2042a48f23745c83d88a.jpg","text":"TemporaryFile(/tmp/multipartBody4751079126394431618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_54_11_5089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6bd319fb43be52d5bf04a1ea34781679.jpg","text":"TemporaryFile(/tmp/multipartBody2114146267579164440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_54_59_5896.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/96a455a2a1b7cba3efdd861d1fcb976f.jpg","text":"TemporaryFile(/tmp/multipartBody704070423224438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_54_16_5935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/072446138cd53d91212de276da4c0121.jpg","text":"TemporaryFile(/tmp/multipartBody3419017553829285236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_55_05_5952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e748688573f9b4e4f27242e0f64a109.jpg","text":"TemporaryFile(/tmp/multipartBody4862518540346173230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581621977,"filename":"image_22012025_18_54_06_6933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680020","file1":"1330679994","file0":"1330679986","file4":"1330680068","file5":"1330680072","file3":"1330680031"},"map_files_photo_id_array":[{"photo_id":"1330680072","filename":"file5"},{"photo_id":"1330680020","filename":"file2"},{"photo_id":"1330680068","filename":"file4"},{"photo_id":"1330679994","filename":"file1"},{"photo_id":"1330679986","filename":"file0"},{"photo_id":"1330680031","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330679986":["hashtag1","hashtag2"]},{"1330680068":["hashtag1","hashtag2"]},{"1330680020":["hashtag1","hashtag2"]},{"1330680031":["hashtag1","hashtag2"]},{"1330679994":["hashtag1","hashtag2"]},{"1330680072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330679986, 1330680068, 1330680020, 1330680031, 1330679994, 1330680072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.057780504226685 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:33:22.239329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/53/image_22012025_18_53_53_5547.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_17_5244.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_11_6990.jpg', '/media/data/images/22012025/18/53/image_22012025_18_53_05_5766.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_59_5269.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_17_5760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/53/image_22012025_18_53_53_5547.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_17_5244.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_11_6990.jpg
/media/data/images/22012025/18/53/image_22012025_18_53_05_5766.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_59_5269.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_17_5760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330680182","1330680191","1330680185","1330680206","1330680286","1330680180"],"photo_ids_order":["1330680180","1330680182","1330680185","1330680191","1330680206","1330680286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/acf1cf17f6d03daf636964f33b01326f.jpg","text":"TemporaryFile(/tmp/multipartBody2328412361838188916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_53_17_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/22/b722721dc3e6a0d41220f725bd31182f.jpg","text":"TemporaryFile(/tmp/multipartBody7951696834288900567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_53_05_5766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f4f76332b245c101302607483ef47d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5819249161286680903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_53_11_6990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5a009ae67211c0ebc105d29d262de553.jpg","text":"TemporaryFile(/tmp/multipartBody8574500560815342034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_52_59_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/22/4366b795289d9d898537abe50acd87d2.jpg","text":"TemporaryFile(/tmp/multipartBody7494216775252420428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_52_17_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e772ef1ae53c3a99e2bc6e88cc950907.jpg","text":"TemporaryFile(/tmp/multipartBody8356218705814137334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581674527,"filename":"image_22012025_18_53_53_5547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680185","file1":"1330680182","file0":"1330680180","file4":"1330680206","file5":"1330680286","file3":"1330680191"},"map_files_photo_id_array":[{"photo_id":"1330680286","filename":"file5"},{"photo_id":"1330680185","filename":"file2"},{"photo_id":"1330680206","filename":"file4"},{"photo_id":"1330680182","filename":"file1"},{"photo_id":"1330680180","filename":"file0"},{"photo_id":"1330680191","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680182":["hashtag1","hashtag2"]},{"1330680191":["hashtag1","hashtag2"]},{"1330680185":["hashtag1","hashtag2"]},{"1330680206":["hashtag1","hashtag2"]},{"1330680286":["hashtag1","hashtag2"]},{"1330680180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680182, 1330680191, 1330680185, 1330680206, 1330680286, 1330680180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.52819585800171 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:34:22.361286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/52/image_22012025_18_52_12_6207.jpg', '/media/data/images/22012025/18/52/image_22012025_18_52_05_6166.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_59_6517.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_17_6727.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_11_4817.jpg', '/media/data/images/22012025/18/51/image_22012025_18_51_06_7033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/52/image_22012025_18_52_12_6207.jpg
/media/data/images/22012025/18/52/image_22012025_18_52_05_6166.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_59_6517.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_17_6727.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_11_4817.jpg
/media/data/images/22012025/18/51/image_22012025_18_51_06_7033.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":["1330680473","1330680482","1330680478","1330680487","1330680469","1330680477"],"photo_ids_order":["1330680469","1330680473","1330680477","1330680478","1330680482","1330680487"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/54bfc50b525bb68bd8ae745014d8611a.jpg","text":"TemporaryFile(/tmp/multipartBody8934986862267623093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_52_05_6166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0356bae044c5447f7603044a4361d958.jpg","text":"TemporaryFile(/tmp/multipartBody641287105590852719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_51_11_4817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f85f7a40c2c269e785bd86d4e0c370a2.jpg","text":"TemporaryFile(/tmp/multipartBody3630875835101132534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_51_17_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/22/a4e9598a858d8072f05b7a056c5d1987.jpg","text":"TemporaryFile(/tmp/multipartBody4683984607090996035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_51_06_7033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dfab35a042bbf1d4b8e2c98603a9eb09.jpg","text":"TemporaryFile(/tmp/multipartBody4977009853627611106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_52_12_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/22/8379cc176aaa3a1ec4f26174c4eec383.jpg","text":"TemporaryFile(/tmp/multipartBody767465993708355209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581743003,"filename":"image_22012025_18_51_59_6517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680477","file1":"1330680473","file0":"1330680469","file4":"1330680482","file5":"1330680487","file3":"1330680478"},"map_files_photo_id_array":[{"photo_id":"1330680487","filename":"file5"},{"photo_id":"1330680477","filename":"file2"},{"photo_id":"1330680482","filename":"file4"},{"photo_id":"1330680473","filename":"file1"},{"photo_id":"1330680469","filename":"file0"},{"photo_id":"1330680478","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680473":["hashtag1","hashtag2"]},{"1330680482":["hashtag1","hashtag2"]},{"1330680478":["hashtag1","hashtag2"]},{"1330680487":["hashtag1","hashtag2"]},{"1330680469":["hashtag1","hashtag2"]},{"1330680477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680473, 1330680482, 1330680478, 1330680487, 1330680469, 1330680477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.13646101951599 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:35:42.517176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/50/image_22012025_18_50_59_5238.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_16_4710.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_12_6479.jpg', '/media/data/images/22012025/18/50/image_22012025_18_50_05_6026.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_59_6524.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_17_5253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/50/image_22012025_18_50_59_5238.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_16_4710.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_12_6479.jpg
/media/data/images/22012025/18/50/image_22012025_18_50_05_6026.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_59_6524.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_17_5253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330680554","1330680545","1330680562","1330680607","1330680601","1330680599"],"photo_ids_order":["1330680545","1330680554","1330680562","1330680599","1330680601","1330680607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/55602aa51126d2e6fcf1aea32ebf170f.jpg","text":"TemporaryFile(/tmp/multipartBody4006735955486183190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_50_16_4710.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb132c2c05b49758023f20c1b6e36304.jpg","text":"TemporaryFile(/tmp/multipartBody4875040651467103829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_50_59_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/22/d8e7353d6f60c2d524ad9d041a499aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2515081974243662217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_50_12_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/22/8bed7c7ca66b1d516d4c5f920e624ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4696083157351308276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_49_17_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/22/b6f43bd2b46abadc1a26d6b2b9279bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8461207247186774889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_49_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/22/42aa5a95f1dd5b0f969627a23b9a06e7.jpg","text":"TemporaryFile(/tmp/multipartBody433167170160882800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581820255,"filename":"image_22012025_18_50_05_6026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680562","file1":"1330680554","file0":"1330680545","file4":"1330680601","file5":"1330680607","file3":"1330680599"},"map_files_photo_id_array":[{"photo_id":"1330680607","filename":"file5"},{"photo_id":"1330680562","filename":"file2"},{"photo_id":"1330680601","filename":"file4"},{"photo_id":"1330680554","filename":"file1"},{"photo_id":"1330680545","filename":"file0"},{"photo_id":"1330680599","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680554":["hashtag1","hashtag2"]},{"1330680545":["hashtag1","hashtag2"]},{"1330680562":["hashtag1","hashtag2"]},{"1330680607":["hashtag1","hashtag2"]},{"1330680601":["hashtag1","hashtag2"]},{"1330680599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680554, 1330680545, 1330680562, 1330680607, 1330680601, 1330680599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.04453468322754 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:36:42.653271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/49/image_22012025_18_49_11_6065.jpg', '/media/data/images/22012025/18/49/image_22012025_18_49_06_5939.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_53_6507.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_16_4915.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_12_6285.jpg', '/media/data/images/22012025/18/48/image_22012025_18_48_05_6107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/49/image_22012025_18_49_11_6065.jpg
/media/data/images/22012025/18/49/image_22012025_18_49_06_5939.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_53_6507.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_16_4915.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_12_6285.jpg
/media/data/images/22012025/18/48/image_22012025_18_48_05_6107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330680736","1330680730","1330680709","1330680700","1330680690","1330680696"],"photo_ids_order":["1330680690","1330680696","1330680700","1330680709","1330680730","1330680736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2d9f60e5c1091cd0675aaddc70c19b70.jpg","text":"TemporaryFile(/tmp/multipartBody5500455846708429249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_48_05_6107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c866edb62770a181854deef0060c257f.jpg","text":"TemporaryFile(/tmp/multipartBody8215524133984786796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_48_12_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/22/27cecfeff9020509b06714ba91bd5473.jpg","text":"TemporaryFile(/tmp/multipartBody850538866396685252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_48_16_4915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17d18ff4c2ed4f1af88b8968bc5ace35.jpg","text":"TemporaryFile(/tmp/multipartBody4198727074909491433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_48_53_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/22/de3bdda3858ea08961f0e14f21cc9af4.jpg","text":"TemporaryFile(/tmp/multipartBody8129193599103581335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_49_11_6065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d18a9649d5b2fa9a96fed13664f90a6f.jpg","text":"TemporaryFile(/tmp/multipartBody5352633899439222114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581882095,"filename":"image_22012025_18_49_06_5939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680700","file1":"1330680696","file0":"1330680690","file4":"1330680730","file5":"1330680736","file3":"1330680709"},"map_files_photo_id_array":[{"photo_id":"1330680736","filename":"file5"},{"photo_id":"1330680700","filename":"file2"},{"photo_id":"1330680730","filename":"file4"},{"photo_id":"1330680696","filename":"file1"},{"photo_id":"1330680690","filename":"file0"},{"photo_id":"1330680709","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680736":["hashtag1","hashtag2"]},{"1330680730":["hashtag1","hashtag2"]},{"1330680709":["hashtag1","hashtag2"]},{"1330680700":["hashtag1","hashtag2"]},{"1330680690":["hashtag1","hashtag2"]},{"1330680696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680736, 1330680730, 1330680709, 1330680700, 1330680690, 1330680696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56830167770386 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:37:41.790375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/47/image_22012025_18_47_59_6539.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_17_5534.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_11_6002.jpg', '/media/data/images/22012025/18/47/image_22012025_18_47_05_5887.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_59_6528.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_17_5688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/47/image_22012025_18_47_59_6539.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_17_5534.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_11_6002.jpg
/media/data/images/22012025/18/47/image_22012025_18_47_05_5887.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_59_6528.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_17_5688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330680815","1330680818","1330680826","1330680834","1330680810","1330680813"],"photo_ids_order":["1330680810","1330680813","1330680815","1330680818","1330680826","1330680834"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f79e22ae0e5f678ebbe88040b0ce548a.jpg","text":"TemporaryFile(/tmp/multipartBody7659878517956474215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_47_11_6002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b50c34eedbaa7d988024d6b34fd3bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5839435535309995208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_47_05_5887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c930cc4f585610daf9bcc9859285303b.jpg","text":"TemporaryFile(/tmp/multipartBody7516446725534422932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_46_59_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/22/139718c24e641f90a5fab4317e58e43a.jpg","text":"TemporaryFile(/tmp/multipartBody2706839407972089850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_46_17_5688.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/87f942fb86c4e63ecefe33e0705335e7.jpg","text":"TemporaryFile(/tmp/multipartBody3165292358702428996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_47_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/22/3af6259f9c2dd436b8940159839d05bd.jpg","text":"TemporaryFile(/tmp/multipartBody1125176252687876121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581934955,"filename":"image_22012025_18_47_17_5534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680815","file1":"1330680813","file0":"1330680810","file4":"1330680826","file5":"1330680834","file3":"1330680818"},"map_files_photo_id_array":[{"photo_id":"1330680834","filename":"file5"},{"photo_id":"1330680815","filename":"file2"},{"photo_id":"1330680826","filename":"file4"},{"photo_id":"1330680813","filename":"file1"},{"photo_id":"1330680810","filename":"file0"},{"photo_id":"1330680818","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680815":["hashtag1","hashtag2"]},{"1330680818":["hashtag1","hashtag2"]},{"1330680826":["hashtag1","hashtag2"]},{"1330680834":["hashtag1","hashtag2"]},{"1330680810":["hashtag1","hashtag2"]},{"1330680813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680815, 1330680818, 1330680826, 1330680834, 1330680810, 1330680813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59479641914368 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:38:41.920187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/46/image_22012025_18_46_12_6424.jpg', '/media/data/images/22012025/18/46/image_22012025_18_46_05_6024.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_59_6550.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_17_5643.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_11_6142.jpg', '/media/data/images/22012025/18/45/image_22012025_18_45_05_5976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/46/image_22012025_18_46_12_6424.jpg
/media/data/images/22012025/18/46/image_22012025_18_46_05_6024.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_59_6550.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_17_5643.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_11_6142.jpg
/media/data/images/22012025/18/45/image_22012025_18_45_05_5976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330680983","1330680976","1330680955","1330680978","1330680986","1330680980"],"photo_ids_order":["1330680955","1330680976","1330680978","1330680980","1330680983","1330680986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c9b4cafc3c42bad3e84e5225370379e9.jpg","text":"TemporaryFile(/tmp/multipartBody8144049871463420378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_45_11_6142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/70dc605d6a5a94d11de3f692e335cd80.jpg","text":"TemporaryFile(/tmp/multipartBody8239585228839424081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_46_05_6024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7488045f5aea233e5c796b489b438f11.jpg","text":"TemporaryFile(/tmp/multipartBody2063689504421266280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_46_12_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/22/f833a7bb9e17b1295933072c3bff4da4.jpg","text":"TemporaryFile(/tmp/multipartBody4551557529211123474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_45_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/22/3137024325595cfb363dbe4aef77a024.jpg","text":"TemporaryFile(/tmp/multipartBody8621001475259681337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_45_05_5976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/75f71791c77216ad4a77f7d3f6ffdcfe.jpg","text":"TemporaryFile(/tmp/multipartBody4216653229125855501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737581991537,"filename":"image_22012025_18_45_17_5643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330680978","file1":"1330680976","file0":"1330680955","file4":"1330680983","file5":"1330680986","file3":"1330680980"},"map_files_photo_id_array":[{"photo_id":"1330680986","filename":"file5"},{"photo_id":"1330680978","filename":"file2"},{"photo_id":"1330680983","filename":"file4"},{"photo_id":"1330680976","filename":"file1"},{"photo_id":"1330680955","filename":"file0"},{"photo_id":"1330680980","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330680983":["hashtag1","hashtag2"]},{"1330680976":["hashtag1","hashtag2"]},{"1330680955":["hashtag1","hashtag2"]},{"1330680978":["hashtag1","hashtag2"]},{"1330680986":["hashtag1","hashtag2"]},{"1330680980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330680983, 1330680976, 1330680955, 1330680978, 1330680986, 1330680980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.49127984046936 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:39:42.103742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/44/image_22012025_18_44_59_6487.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_17_6095.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_11_5265.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_06_6168.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_53_6509.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_17_5313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/44/image_22012025_18_44_59_6487.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_17_6095.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_11_5265.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_06_6168.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_53_6509.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_17_5313.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 18.74528741836548 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-22 22:40:02.489951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/44/image_22012025_18_44_59_6487.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_17_6095.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_11_5265.jpg', '/media/data/images/22012025/18/44/image_22012025_18_44_06_6168.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_53_6509.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_17_5313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/44/image_22012025_18_44_59_6487.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_17_6095.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_11_5265.jpg
/media/data/images/22012025/18/44/image_22012025_18_44_06_6168.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_53_6509.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_17_5313.jpg
2025-01-22 22:40:02.458220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/30/image_22012025_07_30_10_6001.jpg', '/media/data/images/22012025/07/30/image_22012025_07_30_23_5414.jpg', '/media/data/images/22012025/07/30/image_22012025_07_30_40_5412.jpg', '/media/data/images/22012025/07/30/image_22012025_07_30_47_6723.jpg', '/media/data/images/22012025/07/31/image_22012025_07_31_59_6631.jpg', '/media/data/images/22012025/07/32/image_22012025_07_32_29_5426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/30/image_22012025_07_30_10_6001.jpg
/media/data/images/22012025/07/30/image_22012025_07_30_23_5414.jpg
/media/data/images/22012025/07/30/image_22012025_07_30_40_5412.jpg
/media/data/images/22012025/07/30/image_22012025_07_30_47_6723.jpg
/media/data/images/22012025/07/31/image_22012025_07_31_59_6631.jpg
/media/data/images/22012025/07/32/image_22012025_07_32_29_5426.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":["1330681135","1330681108","1330681098","1330681128","1330681113","1330681101"],"photo_ids_order":["1330681098","1330681101","1330681108","1330681113","1330681128","1330681135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/52b410718e113cf2a188e541339e5e50.jpg","text":"TemporaryFile(/tmp/multipartBody3636790384900413790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_43_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/22/843e39fea4e7253e6daf573193a92457.jpg","text":"TemporaryFile(/tmp/multipartBody1139831269545322760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_44_11_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/22/2bfa939072951e7c2dcc5b83ce1cfca3.jpg","text":"TemporaryFile(/tmp/multipartBody3285469041880318111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_44_59_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/22/b6c116b4a53431f876b637bc460d7b36.jpg","text":"TemporaryFile(/tmp/multipartBody6015765121884613919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_43_53_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/22/cbc5f613fc900efc85a99a6f06d5c816.jpg","text":"TemporaryFile(/tmp/multipartBody5032158304985312028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_44_06_6168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a024a1250151522c1b24f0157b31e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody3079430627890978164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582075172,"filename":"image_22012025_18_44_17_6095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681108","file1":"1330681101","file0":"1330681098","file4":"1330681128","file5":"1330681135","file3":"1330681113"},"map_files_photo_id_array":[{"photo_id":"1330681135","filename":"file5"},{"photo_id":"1330681108","filename":"file2"},{"photo_id":"1330681128","filename":"file4"},{"photo_id":"1330681101","filename":"file1"},{"photo_id":"1330681098","filename":"file0"},{"photo_id":"1330681113","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681135":["hashtag1","hashtag2"]},{"1330681108":["hashtag1","hashtag2"]},{"1330681098":["hashtag1","hashtag2"]},{"1330681128":["hashtag1","hashtag2"]},{"1330681113":["hashtag1","hashtag2"]},{"1330681101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681135, 1330681108, 1330681098, 1330681128, 1330681113, 1330681101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.151824951171875 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":["1330681132","1330681143","1330681137","1330681125","1330681149","1330681172"],"photo_ids_order":["1330681125","1330681132","1330681137","1330681143","1330681149","1330681172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2f015df658c1bae81da234fd103d94ab.jpg","text":"TemporaryFile(/tmp/multipartBody4370031374863898953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_30_23_5414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd55b1d536a235615d81ea3b66a28bd9.jpg","text":"TemporaryFile(/tmp/multipartBody9142909254690461292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_30_47_6723.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1c0f7aa061ada8b4362c1ab0b73d577.jpg","text":"TemporaryFile(/tmp/multipartBody5416483212109451526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_30_40_5412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1596fda973844b3f519a96aec8922e9a.jpg","text":"TemporaryFile(/tmp/multipartBody196181465366682231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_30_10_6001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ab9b899d2290fee58b71f6969f78bc3.jpg","text":"TemporaryFile(/tmp/multipartBody338131135336667139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_31_59_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fd221cc5ebf18a79a2ee07de5211d59.jpg","text":"TemporaryFile(/tmp/multipartBody4430533700726110684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582091731,"filename":"image_22012025_07_32_29_5426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681137","file1":"1330681132","file0":"1330681125","file4":"1330681149","file5":"1330681172","file3":"1330681143"},"map_files_photo_id_array":[{"photo_id":"1330681172","filename":"file5"},{"photo_id":"1330681137","filename":"file2"},{"photo_id":"1330681149","filename":"file4"},{"photo_id":"1330681132","filename":"file1"},{"photo_id":"1330681125","filename":"file0"},{"photo_id":"1330681143","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681132":["hashtag1","hashtag2"]},{"1330681143":["hashtag1","hashtag2"]},{"1330681137":["hashtag1","hashtag2"]},{"1330681125":["hashtag1","hashtag2"]},{"1330681149":["hashtag1","hashtag2"]},{"1330681172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681132, 1330681143, 1330681137, 1330681125, 1330681149, 1330681172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.25551700592041 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:41:22.466693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/43/image_22012025_18_43_11_5992.jpg', '/media/data/images/22012025/18/43/image_22012025_18_43_05_6881.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_58_5277.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_17_5659.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_12_6504.jpg', '/media/data/images/22012025/18/42/image_22012025_18_42_05_6134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/43/image_22012025_18_43_11_5992.jpg
/media/data/images/22012025/18/43/image_22012025_18_43_05_6881.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_58_5277.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_17_5659.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_12_6504.jpg
/media/data/images/22012025/18/42/image_22012025_18_42_05_6134.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681214","1330681216","1330681210","1330681206","1330681203","1330681220"],"photo_ids_order":["1330681203","1330681206","1330681210","1330681214","1330681216","1330681220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed7b676f8bd34326e469ed47e176da6e.jpg","text":"TemporaryFile(/tmp/multipartBody3280989735546207786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_42_17_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e5bc7faed2c489de89463351703269d.jpg","text":"TemporaryFile(/tmp/multipartBody8417714895950106219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_42_12_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/22/e74e5db1dd72c5fc7cf4be4173453a84.jpg","text":"TemporaryFile(/tmp/multipartBody7951087051422573001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_42_58_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/22/621c37482d95879eb8b691cccebbc809.jpg","text":"TemporaryFile(/tmp/multipartBody8442085867422144510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_43_05_6881.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4021c3dc656a94bdb0e767f1829fd62d.jpg","text":"TemporaryFile(/tmp/multipartBody7222163924094709813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_43_11_5992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d6991091846ebdc25cd7d142fbbd9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3825184845779969509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582161914,"filename":"image_22012025_18_42_05_6134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681210","file1":"1330681206","file0":"1330681203","file4":"1330681216","file5":"1330681220","file3":"1330681214"},"map_files_photo_id_array":[{"photo_id":"1330681220","filename":"file5"},{"photo_id":"1330681210","filename":"file2"},{"photo_id":"1330681216","filename":"file4"},{"photo_id":"1330681206","filename":"file1"},{"photo_id":"1330681203","filename":"file0"},{"photo_id":"1330681214","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681214":["hashtag1","hashtag2"]},{"1330681216":["hashtag1","hashtag2"]},{"1330681210":["hashtag1","hashtag2"]},{"1330681206":["hashtag1","hashtag2"]},{"1330681203":["hashtag1","hashtag2"]},{"1330681220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681214, 1330681216, 1330681210, 1330681206, 1330681203, 1330681220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.117170572280884 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:42:22.544950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/41/image_22012025_18_41_59_6786.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_17_6453.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_11_5792.jpg', '/media/data/images/22012025/18/41/image_22012025_18_41_05_6707.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_58_5262.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_17_5230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/41/image_22012025_18_41_59_6786.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_17_6453.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_11_5792.jpg
/media/data/images/22012025/18/41/image_22012025_18_41_05_6707.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_58_5262.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_17_5230.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681270","1330681264","1330681258","1330681254","1330681274","1330681277"],"photo_ids_order":["1330681254","1330681258","1330681264","1330681270","1330681274","1330681277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d4aca0dc9bde8f9c6b57810b49203ae.jpg","text":"TemporaryFile(/tmp/multipartBody6220032575044227715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_41_05_6707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4626febef2baf31c2f10a2281b47e062.jpg","text":"TemporaryFile(/tmp/multipartBody8339429787023974604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_41_11_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f58b83dd2e8a021bef7437223eed64b7.jpg","text":"TemporaryFile(/tmp/multipartBody306096514346623338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_41_17_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/22/510bf31a5be69c7a3d63016e736d15b1.jpg","text":"TemporaryFile(/tmp/multipartBody7704176997524231335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_41_59_6786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bcefa2e35b7e68790104a463c6757097.jpg","text":"TemporaryFile(/tmp/multipartBody3995078084528843270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_40_58_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/22/665cb53c04bb4e4630a70b575f46993c.jpg","text":"TemporaryFile(/tmp/multipartBody6580593813410019582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582219383,"filename":"image_22012025_18_40_17_5230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681264","file1":"1330681258","file0":"1330681254","file4":"1330681274","file5":"1330681277","file3":"1330681270"},"map_files_photo_id_array":[{"photo_id":"1330681277","filename":"file5"},{"photo_id":"1330681264","filename":"file2"},{"photo_id":"1330681274","filename":"file4"},{"photo_id":"1330681258","filename":"file1"},{"photo_id":"1330681254","filename":"file0"},{"photo_id":"1330681270","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681270":["hashtag1","hashtag2"]},{"1330681264":["hashtag1","hashtag2"]},{"1330681258":["hashtag1","hashtag2"]},{"1330681254":["hashtag1","hashtag2"]},{"1330681274":["hashtag1","hashtag2"]},{"1330681277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681270, 1330681264, 1330681258, 1330681254, 1330681274, 1330681277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.86463761329651 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:43:22.681113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/40/image_22012025_18_40_12_6254.jpg', '/media/data/images/22012025/18/40/image_22012025_18_40_06_6210.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_59_6662.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_17_5318.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_12_6163.jpg', '/media/data/images/22012025/18/39/image_22012025_18_39_06_6125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/40/image_22012025_18_40_12_6254.jpg
/media/data/images/22012025/18/40/image_22012025_18_40_06_6210.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_59_6662.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_17_5318.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_12_6163.jpg
/media/data/images/22012025/18/39/image_22012025_18_39_06_6125.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681288","1330681307","1330681291","1330681309","1330681314","1330681302"],"photo_ids_order":["1330681288","1330681291","1330681302","1330681307","1330681309","1330681314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/27a4c63fec0c5708b0b4986fd0ced597.jpg","text":"TemporaryFile(/tmp/multipartBody5225329922982620942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_40_12_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/22/097392a5c342c8413b64ce54faad565a.jpg","text":"TemporaryFile(/tmp/multipartBody1934903465193254939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_39_17_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/22/8745d056bdbede1a0e61ea8fa7c0ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody1302408745843177724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_40_06_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/22/5aff66a756745ad41be3cbd0935ac6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2457750364378579188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_39_12_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/22/8eadd01537522e73e10234d749702295.jpg","text":"TemporaryFile(/tmp/multipartBody9040826323802957600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_39_06_6125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/534b718eb457f864e9f4f1399133b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2554353039897449602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582269254,"filename":"image_22012025_18_39_59_6662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681302","file1":"1330681291","file0":"1330681288","file4":"1330681309","file5":"1330681314","file3":"1330681307"},"map_files_photo_id_array":[{"photo_id":"1330681314","filename":"file5"},{"photo_id":"1330681302","filename":"file2"},{"photo_id":"1330681309","filename":"file4"},{"photo_id":"1330681291","filename":"file1"},{"photo_id":"1330681288","filename":"file0"},{"photo_id":"1330681307","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681288":["hashtag1","hashtag2"]},{"1330681307":["hashtag1","hashtag2"]},{"1330681291":["hashtag1","hashtag2"]},{"1330681309":["hashtag1","hashtag2"]},{"1330681314":["hashtag1","hashtag2"]},{"1330681302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681288, 1330681307, 1330681291, 1330681309, 1330681314, 1330681302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.138336420059204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:44:21.795885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/38/image_22012025_18_38_59_6547.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_53_5885.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_47_5712.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_41_6812.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_35_4823.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_30_6026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/38/image_22012025_18_38_59_6547.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_53_5885.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_47_5712.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_41_6812.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_35_4823.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_30_6026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681339","1330681341","1330681350","1330681344","1330681338","1330681347"],"photo_ids_order":["1330681338","1330681339","1330681341","1330681344","1330681347","1330681350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d0b91a0d8911a17b63bddc669c5e636.jpg","text":"TemporaryFile(/tmp/multipartBody6916253134281736168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_53_5885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b852c92da1f645a85db11e66acaec758.jpg","text":"TemporaryFile(/tmp/multipartBody9027895095963525620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_47_5712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/dc980d9c82ff741eb2c774ef1a749be5.jpg","text":"TemporaryFile(/tmp/multipartBody3930756683519520817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_30_6026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e4e9e1c809a362dca1ac8dbe1a170f15.jpg","text":"TemporaryFile(/tmp/multipartBody4138972710654905931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_41_6812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/58a01ca9ed0f72f1a43cae47de4eedc0.jpg","text":"TemporaryFile(/tmp/multipartBody6902044293289501551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_59_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/22/7a99e655d834598e104e714d8d4c2ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6539517819752743645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582329113,"filename":"image_22012025_18_38_35_4823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681341","file1":"1330681339","file0":"1330681338","file4":"1330681347","file5":"1330681350","file3":"1330681344"},"map_files_photo_id_array":[{"photo_id":"1330681350","filename":"file5"},{"photo_id":"1330681341","filename":"file2"},{"photo_id":"1330681347","filename":"file4"},{"photo_id":"1330681339","filename":"file1"},{"photo_id":"1330681338","filename":"file0"},{"photo_id":"1330681344","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681339":["hashtag1","hashtag2"]},{"1330681341":["hashtag1","hashtag2"]},{"1330681350":["hashtag1","hashtag2"]},{"1330681344":["hashtag1","hashtag2"]},{"1330681338":["hashtag1","hashtag2"]},{"1330681347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681339, 1330681341, 1330681350, 1330681344, 1330681338, 1330681347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34757971763611 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:45:21.992883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/38/image_22012025_18_38_24_6690.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_17_5911.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_11_5365.jpg', '/media/data/images/22012025/18/38/image_22012025_18_38_06_6325.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_59_6515.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_16_5453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/38/image_22012025_18_38_24_6690.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_17_5911.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_11_5365.jpg
/media/data/images/22012025/18/38/image_22012025_18_38_06_6325.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_59_6515.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_16_5453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681387","1330681384","1330681374","1330681368","1330681407","1330681370"],"photo_ids_order":["1330681368","1330681370","1330681374","1330681384","1330681387","1330681407"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5baa21053a7372812ff606f7171ef0a3.jpg","text":"TemporaryFile(/tmp/multipartBody4648948504414245054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_37_59_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/22/6c21933b5c2354e76e3b6b14ee66d846.jpg","text":"TemporaryFile(/tmp/multipartBody4277438365573142629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_38_06_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/22/3b664fe96339f1a3cf489ea055301781.jpg","text":"TemporaryFile(/tmp/multipartBody7991258219289618393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_38_11_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/22/6bccb7e589ae5fad69e18bbe25dc9750.jpg","text":"TemporaryFile(/tmp/multipartBody6150998164418315534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_38_24_6690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57bc37a8268d305db6b7753c130855d5.jpg","text":"TemporaryFile(/tmp/multipartBody7721814095575043856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_37_16_5453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f58e9afe428b7181bac44ad11b61b50e.jpg","text":"TemporaryFile(/tmp/multipartBody6184999350980287403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582402992,"filename":"image_22012025_18_38_17_5911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681374","file1":"1330681370","file0":"1330681368","file4":"1330681387","file5":"1330681407","file3":"1330681384"},"map_files_photo_id_array":[{"photo_id":"1330681407","filename":"file5"},{"photo_id":"1330681374","filename":"file2"},{"photo_id":"1330681387","filename":"file4"},{"photo_id":"1330681370","filename":"file1"},{"photo_id":"1330681368","filename":"file0"},{"photo_id":"1330681384","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681387":["hashtag1","hashtag2"]},{"1330681384":["hashtag1","hashtag2"]},{"1330681374":["hashtag1","hashtag2"]},{"1330681368":["hashtag1","hashtag2"]},{"1330681407":["hashtag1","hashtag2"]},{"1330681370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681387, 1330681384, 1330681374, 1330681368, 1330681407, 1330681370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.788310050964355 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:46:22.115628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/37/image_22012025_18_37_11_5901.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_05_5696.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_59_6471.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_17_4665.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_12_6651.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_05_5983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/37/image_22012025_18_37_11_5901.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_05_5696.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_59_6471.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_17_4665.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_12_6651.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_05_5983.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.650036573410034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:46:42.143682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/37/image_22012025_18_37_11_5901.jpg', '/media/data/images/22012025/18/37/image_22012025_18_37_05_5696.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_59_6471.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_17_4665.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_12_6651.jpg', '/media/data/images/22012025/18/36/image_22012025_18_36_05_5983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/37/image_22012025_18_37_11_5901.jpg
/media/data/images/22012025/18/37/image_22012025_18_37_05_5696.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_59_6471.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_17_4665.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_12_6651.jpg
/media/data/images/22012025/18/36/image_22012025_18_36_05_5983.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681783","1330681686","1330681790","1330681691","1330681694","1330681679"],"photo_ids_order":["1330681679","1330681686","1330681691","1330681694","1330681783","1330681790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4a25a003e46abd0c3f6caa5649c6f6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3279568791842860682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_36_12_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/22/0df5fb041cbc6cbf64d1bd5f95c50436.jpg","text":"TemporaryFile(/tmp/multipartBody1182760103434963158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_37_05_5696.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/40aeedc4822813d9a0202f12fbc628e9.jpg","text":"TemporaryFile(/tmp/multipartBody503048710712784173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_36_05_5983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c145e070063e32e12d574772e66c24c9.jpg","text":"TemporaryFile(/tmp/multipartBody55365503327944728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_36_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/22/0e537bf9264c47dc5ff2388a057e6d24.jpg","text":"TemporaryFile(/tmp/multipartBody2140730389598737879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_36_17_4665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ffd211803887795ae94cab605b216c03.jpg","text":"TemporaryFile(/tmp/multipartBody9070361635027175245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582471457,"filename":"image_22012025_18_37_11_5901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681691","file1":"1330681686","file0":"1330681679","file4":"1330681783","file5":"1330681790","file3":"1330681694"},"map_files_photo_id_array":[{"photo_id":"1330681790","filename":"file5"},{"photo_id":"1330681691","filename":"file2"},{"photo_id":"1330681783","filename":"file4"},{"photo_id":"1330681686","filename":"file1"},{"photo_id":"1330681679","filename":"file0"},{"photo_id":"1330681694","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681783":["hashtag1","hashtag2"]},{"1330681686":["hashtag1","hashtag2"]},{"1330681790":["hashtag1","hashtag2"]},{"1330681691":["hashtag1","hashtag2"]},{"1330681694":["hashtag1","hashtag2"]},{"1330681679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681783, 1330681686, 1330681790, 1330681691, 1330681694, 1330681679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13323760032654 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:47:42.286272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/35/image_22012025_18_35_59_6509.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_17_5658.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_11_6068.jpg', '/media/data/images/22012025/18/35/image_22012025_18_35_05_5961.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_59_6552.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_17_5625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/35/image_22012025_18_35_59_6509.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_17_5658.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_11_6068.jpg
/media/data/images/22012025/18/35/image_22012025_18_35_05_5961.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_59_6552.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_17_5625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681925","1330681921","1330681915","1330681923","1330681911","1330681920"],"photo_ids_order":["1330681911","1330681915","1330681920","1330681921","1330681923","1330681925"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0516d3788592ad64985bcbc1c0cd3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3115972271320149818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_34_17_5625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/abc3c5724a0d70407a7aa2dc346238ce.jpg","text":"TemporaryFile(/tmp/multipartBody2533904730581649300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_35_05_5961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8bf93ef1bacaeb3adc32a6293dee9ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7314891860623024757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_35_17_5658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6aece8f26c005693ab7f2d5183f8d4b9.jpg","text":"TemporaryFile(/tmp/multipartBody2767875418237169597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_34_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/22/b57f83826c6b6adde7a00cbed40e100c.jpg","text":"TemporaryFile(/tmp/multipartBody5729371203088056171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_35_59_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/22/4ce9a5157e9997cb44f26337239dbce7.jpg","text":"TemporaryFile(/tmp/multipartBody2533546311932605712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582544672,"filename":"image_22012025_18_35_11_6068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681920","file1":"1330681915","file0":"1330681911","file4":"1330681923","file5":"1330681925","file3":"1330681921"},"map_files_photo_id_array":[{"photo_id":"1330681925","filename":"file5"},{"photo_id":"1330681920","filename":"file2"},{"photo_id":"1330681923","filename":"file4"},{"photo_id":"1330681915","filename":"file1"},{"photo_id":"1330681911","filename":"file0"},{"photo_id":"1330681921","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681925":["hashtag1","hashtag2"]},{"1330681921":["hashtag1","hashtag2"]},{"1330681915":["hashtag1","hashtag2"]},{"1330681923":["hashtag1","hashtag2"]},{"1330681911":["hashtag1","hashtag2"]},{"1330681920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681925, 1330681921, 1330681915, 1330681923, 1330681911, 1330681920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.55680012702942 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:48:42.410537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/34/image_22012025_18_34_12_6524.jpg', '/media/data/images/22012025/18/34/image_22012025_18_34_05_6237.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_52_5275.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_18_6438.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_11_6614.jpg', '/media/data/images/22012025/18/33/image_22012025_18_33_05_6076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/34/image_22012025_18_34_12_6524.jpg
/media/data/images/22012025/18/34/image_22012025_18_34_05_6237.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_52_5275.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_18_6438.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_11_6614.jpg
/media/data/images/22012025/18/33/image_22012025_18_33_05_6076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330681975","1330681987","1330681972","1330681989","1330681962","1330681967"],"photo_ids_order":["1330681962","1330681967","1330681972","1330681975","1330681987","1330681989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/77d3c83ac4bd51f9db019385a16507d3.jpg","text":"TemporaryFile(/tmp/multipartBody7382296531123160136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_33_18_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/22/0421f3257e0c133afbab13c9fdb36f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5963546885793806630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_33_11_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/22/e438266e0f816be2461888b5c2c121da.jpg","text":"TemporaryFile(/tmp/multipartBody2409250496348094012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_33_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/22/8ba115bd05525d6fa4ec64ae37e05a76.jpg","text":"TemporaryFile(/tmp/multipartBody6891208224992559659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_33_05_6076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8af58522b4c778f2487714dc75cc81ee.jpg","text":"TemporaryFile(/tmp/multipartBody4811732690310127263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_34_12_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/22/37d4448f1ceda03bab24e24c323c368d.jpg","text":"TemporaryFile(/tmp/multipartBody1575798907726206810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582597168,"filename":"image_22012025_18_34_05_6237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330681972","file1":"1330681967","file0":"1330681962","file4":"1330681987","file5":"1330681989","file3":"1330681975"},"map_files_photo_id_array":[{"photo_id":"1330681989","filename":"file5"},{"photo_id":"1330681972","filename":"file2"},{"photo_id":"1330681987","filename":"file4"},{"photo_id":"1330681967","filename":"file1"},{"photo_id":"1330681962","filename":"file0"},{"photo_id":"1330681975","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330681975":["hashtag1","hashtag2"]},{"1330681987":["hashtag1","hashtag2"]},{"1330681972":["hashtag1","hashtag2"]},{"1330681989":["hashtag1","hashtag2"]},{"1330681962":["hashtag1","hashtag2"]},{"1330681967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330681975, 1330681987, 1330681972, 1330681989, 1330681962, 1330681967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.68814730644226 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:49:42.553191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/32/image_22012025_18_32_58_5342.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_17_6657.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_11_5918.jpg', '/media/data/images/22012025/18/32/image_22012025_18_32_05_5063.jpg', '/media/data/images/22012025/18/31/image_22012025_18_32_00_6513.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_53_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/32/image_22012025_18_32_58_5342.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_17_6657.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_11_5918.jpg
/media/data/images/22012025/18/32/image_22012025_18_32_05_5063.jpg
/media/data/images/22012025/18/31/image_22012025_18_32_00_6513.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_53_6536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682009","1330682017","1330682005","1330682001","1330682015","1330682012"],"photo_ids_order":["1330682001","1330682005","1330682009","1330682012","1330682015","1330682017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e7a97d06d34b584d03fa434413ba7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5527182414266543126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_32_11_5918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a81e52a84eb31f3d6b2bcdeaf196e46e.jpg","text":"TemporaryFile(/tmp/multipartBody5474221274493919595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_31_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/22/1477de2693702abf69ce9d47e25f956a.jpg","text":"TemporaryFile(/tmp/multipartBody7716521952620447751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_32_17_6657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da82fd8036a99c86897ff55ea83c217b.jpg","text":"TemporaryFile(/tmp/multipartBody2366586107339193637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_32_58_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/22/1b7132e08c9ee5c76efe239977894579.jpg","text":"TemporaryFile(/tmp/multipartBody8399323275150057503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_32_00_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/22/fdff3188df4d6c2c5ad24e028196c660.jpg","text":"TemporaryFile(/tmp/multipartBody245196502065721179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582658411,"filename":"image_22012025_18_32_05_5063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682009","file1":"1330682005","file0":"1330682001","file4":"1330682015","file5":"1330682017","file3":"1330682012"},"map_files_photo_id_array":[{"photo_id":"1330682017","filename":"file5"},{"photo_id":"1330682009","filename":"file2"},{"photo_id":"1330682015","filename":"file4"},{"photo_id":"1330682005","filename":"file1"},{"photo_id":"1330682001","filename":"file0"},{"photo_id":"1330682012","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682009":["hashtag1","hashtag2"]},{"1330682017":["hashtag1","hashtag2"]},{"1330682005":["hashtag1","hashtag2"]},{"1330682001":["hashtag1","hashtag2"]},{"1330682015":["hashtag1","hashtag2"]},{"1330682012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682009, 1330682017, 1330682005, 1330682001, 1330682015, 1330682012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.537436962127686 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:50:42.684676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/31/image_22012025_18_31_46_5314.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_41_6530.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_35_5297.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_29_5388.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_24_6680.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_18_6690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/31/image_22012025_18_31_46_5314.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_41_6530.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_35_5297.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_29_5388.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_24_6680.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_18_6690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682071","1330682038","1330682053","1330682067","1330682075","1330682063"],"photo_ids_order":["1330682038","1330682053","1330682063","1330682067","1330682071","1330682075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1736aa28a2e07a9e1d836525488a0eef.jpg","text":"TemporaryFile(/tmp/multipartBody8029142461559630193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_24_6680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/201620fd00176d83d24513300e335785.jpg","text":"TemporaryFile(/tmp/multipartBody5085496118383198474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_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/22/fe42c6ad19704d62681505513e414cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3559211522813197941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_41_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/22/2a6486d2916966f241d5c8d74c3e103d.jpg","text":"TemporaryFile(/tmp/multipartBody7086924144566455345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_29_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/22/079b3c7db3d4253850b251231b8ab8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4812752934277387499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_18_6690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f1c0a7209b9c85235e34c3711bc8738c.jpg","text":"TemporaryFile(/tmp/multipartBody6251954550748602314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582712831,"filename":"image_22012025_18_31_35_5297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682063","file1":"1330682053","file0":"1330682038","file4":"1330682071","file5":"1330682075","file3":"1330682067"},"map_files_photo_id_array":[{"photo_id":"1330682075","filename":"file5"},{"photo_id":"1330682063","filename":"file2"},{"photo_id":"1330682071","filename":"file4"},{"photo_id":"1330682053","filename":"file1"},{"photo_id":"1330682038","filename":"file0"},{"photo_id":"1330682067","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682071":["hashtag1","hashtag2"]},{"1330682038":["hashtag1","hashtag2"]},{"1330682053":["hashtag1","hashtag2"]},{"1330682067":["hashtag1","hashtag2"]},{"1330682075":["hashtag1","hashtag2"]},{"1330682063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682071, 1330682038, 1330682053, 1330682067, 1330682075, 1330682063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24637317657471 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:51:41.825661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/31/image_22012025_18_31_11_4778.jpg', '/media/data/images/22012025/18/31/image_22012025_18_31_06_6342.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_59_6490.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_18_6915.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_11_6023.jpg', '/media/data/images/22012025/18/30/image_22012025_18_30_05_5106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/31/image_22012025_18_31_11_4778.jpg
/media/data/images/22012025/18/31/image_22012025_18_31_06_6342.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_59_6490.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_18_6915.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_11_6023.jpg
/media/data/images/22012025/18/30/image_22012025_18_30_05_5106.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682134","1330682157","1330682121","1330682165","1330682132","1330682126"],"photo_ids_order":["1330682121","1330682126","1330682132","1330682134","1330682157","1330682165"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f54ed063c7ff416211cd5da5bfb5066.jpg","text":"TemporaryFile(/tmp/multipartBody1246684063675703599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_30_18_6915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d143644cc74bc39cf166f0f48867db2.jpg","text":"TemporaryFile(/tmp/multipartBody797903683412873603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_30_11_6023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0b3b51c375f6dd8f0375674135eed76.jpg","text":"TemporaryFile(/tmp/multipartBody6206316954817004907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_31_11_4778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a8398104580e694f7a9b38bda3d08583.jpg","text":"TemporaryFile(/tmp/multipartBody8330500689970109201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_30_05_5106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0c5fbfcbe61d5cab15197919364a33fc.jpg","text":"TemporaryFile(/tmp/multipartBody8773327792609568073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_30_59_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/22/e78803145ae73318812353459fc9d815.jpg","text":"TemporaryFile(/tmp/multipartBody4396122932079589404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582782079,"filename":"image_22012025_18_31_06_6342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682132","file1":"1330682126","file0":"1330682121","file4":"1330682157","file5":"1330682165","file3":"1330682134"},"map_files_photo_id_array":[{"photo_id":"1330682165","filename":"file5"},{"photo_id":"1330682132","filename":"file2"},{"photo_id":"1330682157","filename":"file4"},{"photo_id":"1330682126","filename":"file1"},{"photo_id":"1330682121","filename":"file0"},{"photo_id":"1330682134","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682134":["hashtag1","hashtag2"]},{"1330682157":["hashtag1","hashtag2"]},{"1330682121":["hashtag1","hashtag2"]},{"1330682165":["hashtag1","hashtag2"]},{"1330682132":["hashtag1","hashtag2"]},{"1330682126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682134, 1330682157, 1330682121, 1330682165, 1330682132, 1330682126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.31748080253601 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:52:41.960631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/29/image_22012025_18_29_59_6489.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_17_5038.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_12_5758.jpg', '/media/data/images/22012025/18/29/image_22012025_18_29_06_6290.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_59_6534.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_17_4792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/29/image_22012025_18_29_59_6489.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_17_5038.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_12_5758.jpg
/media/data/images/22012025/18/29/image_22012025_18_29_06_6290.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_59_6534.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_17_4792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682193","1330682195","1330682186","1330682191","1330682194","1330682188"],"photo_ids_order":["1330682186","1330682188","1330682191","1330682193","1330682194","1330682195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/34806c4cc313f9e37eb96fe1828afc39.jpg","text":"TemporaryFile(/tmp/multipartBody3035687597208406782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_29_06_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/22/e2f3613ed498ed5a4ca9fe530b5fed2f.jpg","text":"TemporaryFile(/tmp/multipartBody606584153938215969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_28_17_4792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f5cb81b06dbcf45b5857aada9f89900e.jpg","text":"TemporaryFile(/tmp/multipartBody1900009552612397660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_29_59_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/22/6def2d23e17b7279b29a6021f520af4d.jpg","text":"TemporaryFile(/tmp/multipartBody5415721870968583292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_29_12_5758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c81205cca42ca8c18aaf69d1f1c1079b.jpg","text":"TemporaryFile(/tmp/multipartBody7254986135532383699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_28_59_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/22/724a930dedcfe5ccb809661222096327.jpg","text":"TemporaryFile(/tmp/multipartBody127323138523160288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582836022,"filename":"image_22012025_18_29_17_5038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682191","file1":"1330682188","file0":"1330682186","file4":"1330682194","file5":"1330682195","file3":"1330682193"},"map_files_photo_id_array":[{"photo_id":"1330682195","filename":"file5"},{"photo_id":"1330682191","filename":"file2"},{"photo_id":"1330682194","filename":"file4"},{"photo_id":"1330682188","filename":"file1"},{"photo_id":"1330682186","filename":"file0"},{"photo_id":"1330682193","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682193":["hashtag1","hashtag2"]},{"1330682195":["hashtag1","hashtag2"]},{"1330682186":["hashtag1","hashtag2"]},{"1330682191":["hashtag1","hashtag2"]},{"1330682194":["hashtag1","hashtag2"]},{"1330682188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682193, 1330682195, 1330682186, 1330682191, 1330682194, 1330682188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.37405443191528 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:53:42.095714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/28/image_22012025_18_28_12_6992.jpg', '/media/data/images/22012025/18/28/image_22012025_18_28_05_6091.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_59_6468.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_17_6096.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_11_5807.jpg', '/media/data/images/22012025/18/27/image_22012025_18_27_05_6134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/28/image_22012025_18_28_12_6992.jpg
/media/data/images/22012025/18/28/image_22012025_18_28_05_6091.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_59_6468.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_17_6096.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_11_5807.jpg
/media/data/images/22012025/18/27/image_22012025_18_27_05_6134.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682260","1330682236","1330682239","1330682259","1330682250","1330682237"],"photo_ids_order":["1330682236","1330682237","1330682239","1330682250","1330682259","1330682260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/07e50af53f329194fd062f258536797e.jpg","text":"TemporaryFile(/tmp/multipartBody5018840699967716845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_27_05_6134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e692f6d3d625c18b082129659a2d1931.jpg","text":"TemporaryFile(/tmp/multipartBody5575477655179358631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_28_12_6992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/36c60e7adf40a251fed462b3ee48d5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2938033649237523602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_27_59_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/22/0f2ebf7c84d24f97a2faac88ea1485a3.jpg","text":"TemporaryFile(/tmp/multipartBody7548055124767825242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_27_11_5807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ffc8335ccf226e854c9ccc57b63c3a82.jpg","text":"TemporaryFile(/tmp/multipartBody2684602480801596899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_27_17_6096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0e94d24bff77dd96ac3c9d0cc46d601a.jpg","text":"TemporaryFile(/tmp/multipartBody2580125530689199547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582891882,"filename":"image_22012025_18_28_05_6091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682239","file1":"1330682237","file0":"1330682236","file4":"1330682259","file5":"1330682260","file3":"1330682250"},"map_files_photo_id_array":[{"photo_id":"1330682260","filename":"file5"},{"photo_id":"1330682239","filename":"file2"},{"photo_id":"1330682259","filename":"file4"},{"photo_id":"1330682237","filename":"file1"},{"photo_id":"1330682236","filename":"file0"},{"photo_id":"1330682250","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682260":["hashtag1","hashtag2"]},{"1330682236":["hashtag1","hashtag2"]},{"1330682239":["hashtag1","hashtag2"]},{"1330682259":["hashtag1","hashtag2"]},{"1330682250":["hashtag1","hashtag2"]},{"1330682237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682260, 1330682236, 1330682239, 1330682259, 1330682250, 1330682237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32518029212952 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:54:42.241908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/26/image_22012025_18_26_59_6434.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_17_6276.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_11_4906.jpg', '/media/data/images/22012025/18/26/image_22012025_18_26_06_6875.jpg', '/media/data/images/22012025/18/25/image_22012025_18_25_59_6432.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_41_6463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/26/image_22012025_18_26_59_6434.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_17_6276.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_11_4906.jpg
/media/data/images/22012025/18/26/image_22012025_18_26_06_6875.jpg
/media/data/images/22012025/18/25/image_22012025_18_25_59_6432.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_41_6463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682382","1330682379","1330682388","1330682393","1330682387","1330682384"],"photo_ids_order":["1330682379","1330682382","1330682384","1330682387","1330682388","1330682393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a52f70a118cecb8e5f2143597289c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7804289768787038709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_26_17_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/22/cda8343553f28fa846e930f5ba3fe7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8587330995232573673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_26_59_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/22/a525625e683345ffd7f431fe1454e1c3.jpg","text":"TemporaryFile(/tmp/multipartBody446082444821414878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_25_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/22/77488bbb3dcf702c96dff77194a4770c.jpg","text":"TemporaryFile(/tmp/multipartBody4959893324870168332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_24_41_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/22/286fc5cbc5638ce4f8da15026016ca54.jpg","text":"TemporaryFile(/tmp/multipartBody3313428576705707982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_26_06_6875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a4533f0a6eea354ed5f8092b5883e85f.jpg","text":"TemporaryFile(/tmp/multipartBody6119115643425253956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737582957566,"filename":"image_22012025_18_26_11_4906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682384","file1":"1330682382","file0":"1330682379","file4":"1330682388","file5":"1330682393","file3":"1330682387"},"map_files_photo_id_array":[{"photo_id":"1330682393","filename":"file5"},{"photo_id":"1330682384","filename":"file2"},{"photo_id":"1330682388","filename":"file4"},{"photo_id":"1330682382","filename":"file1"},{"photo_id":"1330682379","filename":"file0"},{"photo_id":"1330682387","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682382":["hashtag1","hashtag2"]},{"1330682379":["hashtag1","hashtag2"]},{"1330682388":["hashtag1","hashtag2"]},{"1330682393":["hashtag1","hashtag2"]},{"1330682387":["hashtag1","hashtag2"]},{"1330682384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682382, 1330682379, 1330682388, 1330682393, 1330682387, 1330682384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.95358896255493 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:55:42.402344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/24/image_22012025_18_24_34_5265.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_29_6489.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_23_5295.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_17_7141.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_11_5872.jpg', '/media/data/images/22012025/18/24/image_22012025_18_24_05_5936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/24/image_22012025_18_24_34_5265.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_29_6489.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_23_5295.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_17_7141.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_11_5872.jpg
/media/data/images/22012025/18/24/image_22012025_18_24_05_5936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682440","1330682434","1330682442","1330682436","1330682444","1330682438"],"photo_ids_order":["1330682434","1330682436","1330682438","1330682440","1330682442","1330682444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce9c79d3b7e4127dbc2492859fc90046.jpg","text":"TemporaryFile(/tmp/multipartBody8068010111959048363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_17_7141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/695b4dbc47519f6b91f40306907833ce.jpg","text":"TemporaryFile(/tmp/multipartBody5598581984890010005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_34_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/22/54a1f028a1c95e6b04586e60998b5d65.jpg","text":"TemporaryFile(/tmp/multipartBody7694003331815202061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_11_5872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f302e47168317ae4975008c2110b7ba8.jpg","text":"TemporaryFile(/tmp/multipartBody463610060536771419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_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/22/6a0aad453037d88602c3f0b1b12862d3.jpg","text":"TemporaryFile(/tmp/multipartBody2696575752583583046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_05_5936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b23e918719a9d0d584ae389dd36d8859.jpg","text":"TemporaryFile(/tmp/multipartBody7674735967527506888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583026202,"filename":"image_22012025_18_24_23_5295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682438","file1":"1330682436","file0":"1330682434","file4":"1330682442","file5":"1330682444","file3":"1330682440"},"map_files_photo_id_array":[{"photo_id":"1330682444","filename":"file5"},{"photo_id":"1330682438","filename":"file2"},{"photo_id":"1330682442","filename":"file4"},{"photo_id":"1330682436","filename":"file1"},{"photo_id":"1330682434","filename":"file0"},{"photo_id":"1330682440","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682440":["hashtag1","hashtag2"]},{"1330682434":["hashtag1","hashtag2"]},{"1330682442":["hashtag1","hashtag2"]},{"1330682436":["hashtag1","hashtag2"]},{"1330682444":["hashtag1","hashtag2"]},{"1330682438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682440, 1330682434, 1330682442, 1330682436, 1330682444, 1330682438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61972379684448 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:56:42.539823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_18_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_18_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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 19.638803005218506 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 22:57:22.706538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_18_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_18_6481.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-22 22:58:01.883189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/32/image_22012025_07_32_41_5399.jpg', '/media/data/images/22012025/07/32/image_22012025_07_32_58_5420.jpg', '/media/data/images/22012025/07/33/image_22012025_07_33_06_7124.jpg', '/media/data/images/22012025/07/33/image_22012025_07_33_12_5924.jpg', '/media/data/images/22012025/07/33/image_22012025_07_33_29_6661.jpg', '/media/data/images/22012025/07/33/image_22012025_07_33_41_6668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/32/image_22012025_07_32_41_5399.jpg
/media/data/images/22012025/07/32/image_22012025_07_32_58_5420.jpg
/media/data/images/22012025/07/33/image_22012025_07_33_06_7124.jpg
/media/data/images/22012025/07/33/image_22012025_07_33_12_5924.jpg
/media/data/images/22012025/07/33/image_22012025_07_33_29_6661.jpg
/media/data/images/22012025/07/33/image_22012025_07_33_41_6668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682566","1330682575","1330682554","1330682623","1330682565","1330682552"],"photo_ids_order":["1330682552","1330682554","1330682565","1330682566","1330682575","1330682623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d579e6b04d18d4a34e23823b1108eb9a.jpg","text":"TemporaryFile(/tmp/multipartBody1774771801447758668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_33_12_5924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8bbee7e3505afb17a55a49343edde0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3928624806005540177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_33_29_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5d733a943d384074de6562be669047bd.jpg","text":"TemporaryFile(/tmp/multipartBody6848661490711090991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_32_58_5420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1d747871977553119771f06ffbdadc04.jpg","text":"TemporaryFile(/tmp/multipartBody4959895680388387449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_33_41_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/22/a7f9f40aa6b85dffa1fab0b3426da3e7.jpg","text":"TemporaryFile(/tmp/multipartBody9119424619422034310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_33_06_7124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9c99a66ad973aba2a1bc77c92045969d.jpg","text":"TemporaryFile(/tmp/multipartBody3391079450859051101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583166601,"filename":"image_22012025_07_32_41_5399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682565","file1":"1330682554","file0":"1330682552","file4":"1330682575","file5":"1330682623","file3":"1330682566"},"map_files_photo_id_array":[{"photo_id":"1330682623","filename":"file5"},{"photo_id":"1330682565","filename":"file2"},{"photo_id":"1330682575","filename":"file4"},{"photo_id":"1330682554","filename":"file1"},{"photo_id":"1330682552","filename":"file0"},{"photo_id":"1330682566","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682566":["hashtag1","hashtag2"]},{"1330682575":["hashtag1","hashtag2"]},{"1330682554":["hashtag1","hashtag2"]},{"1330682623":["hashtag1","hashtag2"]},{"1330682565":["hashtag1","hashtag2"]},{"1330682552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682566, 1330682575, 1330682554, 1330682623, 1330682565, 1330682552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63621139526367 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 22:59:02.814820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg', '/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_18_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/23/image_22012025_18_23_58_5247.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_18_6372.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_12_5686.jpg
/media/data/images/22012025/18/23/image_22012025_18_23_06_7117.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_58_5263.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_18_6481.jpg
2025-01-22 22:59:02.786672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/34/image_22012025_07_34_11_6163.jpg', '/media/data/images/22012025/07/34/image_22012025_07_34_17_5397.jpg', '/media/data/images/22012025/07/34/image_22012025_07_34_46_5454.jpg', '/media/data/images/22012025/07/34/image_22012025_07_34_53_6664.jpg', '/media/data/images/22012025/07/35/image_22012025_07_35_16_5435.jpg', '/media/data/images/22012025/07/35/image_22012025_07_35_23_6734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/34/image_22012025_07_34_11_6163.jpg
/media/data/images/22012025/07/34/image_22012025_07_34_17_5397.jpg
/media/data/images/22012025/07/34/image_22012025_07_34_46_5454.jpg
/media/data/images/22012025/07/34/image_22012025_07_34_53_6664.jpg
/media/data/images/22012025/07/35/image_22012025_07_35_16_5435.jpg
/media/data/images/22012025/07/35/image_22012025_07_35_23_6734.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":["1330682671","1330682724","1330682718","1330682667","1330682727","1330682720"],"photo_ids_order":["1330682667","1330682671","1330682718","1330682720","1330682724","1330682727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6f89e8ff1af6ce665da3f160431d1d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4544768978518481502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_23_18_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/22/c2c8ac5faa7ea33414cf77f247209baa.jpg","text":"TemporaryFile(/tmp/multipartBody3924892372180166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_22_58_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/22/bdb82573be3375d804a845a68cb08d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6139438832457683761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_23_12_5686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6013e56b5e9d73119c820ec7eac0fd3c.jpg","text":"TemporaryFile(/tmp/multipartBody8110276467731040485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_23_58_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/22/cf18fdbd910c7fe83ec512c2533bdaf3.jpg","text":"TemporaryFile(/tmp/multipartBody5034821336611427579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_22_18_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/22/e5b02357ebf2fbbca13d23003fd59d77.jpg","text":"TemporaryFile(/tmp/multipartBody7280651654664549611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583224784,"filename":"image_22012025_18_23_06_7117.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682718","file1":"1330682671","file0":"1330682667","file4":"1330682724","file5":"1330682727","file3":"1330682720"},"map_files_photo_id_array":[{"photo_id":"1330682727","filename":"file5"},{"photo_id":"1330682718","filename":"file2"},{"photo_id":"1330682724","filename":"file4"},{"photo_id":"1330682671","filename":"file1"},{"photo_id":"1330682667","filename":"file0"},{"photo_id":"1330682720","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682671":["hashtag1","hashtag2"]},{"1330682724":["hashtag1","hashtag2"]},{"1330682718":["hashtag1","hashtag2"]},{"1330682667":["hashtag1","hashtag2"]},{"1330682727":["hashtag1","hashtag2"]},{"1330682720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682671, 1330682724, 1330682718, 1330682667, 1330682727, 1330682720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29885721206665 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":["1330682728","1330682719","1330682730","1330682855","1330682801","1330682723"],"photo_ids_order":["1330682719","1330682723","1330682728","1330682730","1330682801","1330682855"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/46f87e950f183a1af9b07f5d4e25e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody215170806679802160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_34_46_5454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b58277293c23f7545e2d71811959afb3.jpg","text":"TemporaryFile(/tmp/multipartBody2189590904027639386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_34_11_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/22/4b686cbe9c199a1b71922a1657b808ab.jpg","text":"TemporaryFile(/tmp/multipartBody4671060715057794966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_34_53_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/22/f34f27acf817f4f0e8c8b8834a86a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody8587302126782493522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_35_23_6734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ca54d625aff676f1b94052cc8e98320f.jpg","text":"TemporaryFile(/tmp/multipartBody2945492698656270602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_35_16_5435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/092275bcd540039820a2aa9d64b57648.jpg","text":"TemporaryFile(/tmp/multipartBody3914322371640055091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583236529,"filename":"image_22012025_07_34_17_5397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682728","file1":"1330682723","file0":"1330682719","file4":"1330682801","file5":"1330682855","file3":"1330682730"},"map_files_photo_id_array":[{"photo_id":"1330682855","filename":"file5"},{"photo_id":"1330682728","filename":"file2"},{"photo_id":"1330682801","filename":"file4"},{"photo_id":"1330682723","filename":"file1"},{"photo_id":"1330682719","filename":"file0"},{"photo_id":"1330682730","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682728":["hashtag1","hashtag2"]},{"1330682719":["hashtag1","hashtag2"]},{"1330682730":["hashtag1","hashtag2"]},{"1330682855":["hashtag1","hashtag2"]},{"1330682801":["hashtag1","hashtag2"]},{"1330682723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682728, 1330682719, 1330682730, 1330682855, 1330682801, 1330682723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.95437669754028 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:00:22.521855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/22/image_22012025_18_22_12_6007.jpg', '/media/data/images/22012025/18/22/image_22012025_18_22_06_6380.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_59_5371.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_18_7045.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_11_5285.jpg', '/media/data/images/22012025/18/21/image_22012025_18_21_06_6896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/22/image_22012025_18_22_12_6007.jpg
/media/data/images/22012025/18/22/image_22012025_18_22_06_6380.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_59_5371.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_18_7045.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_11_5285.jpg
/media/data/images/22012025/18/21/image_22012025_18_21_06_6896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682884","1330682923","1330682911","1330682920","1330682898","1330682889"],"photo_ids_order":["1330682884","1330682889","1330682898","1330682911","1330682920","1330682923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/65367433b439bcab980798d7059dc012.jpg","text":"TemporaryFile(/tmp/multipartBody3072149566517136250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_22_12_6007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fab38e1454ee22df8afb4ad2c53ba127.jpg","text":"TemporaryFile(/tmp/multipartBody4769053931405024783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_21_06_6896.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fc5915ba9e6c31bc7adcb83e902d9b96.jpg","text":"TemporaryFile(/tmp/multipartBody6605983407395817902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_21_18_7045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/26fd857e675566bb19caec1cde15a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8743984086234675115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_21_11_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/22/74b5e1493b4f755ce3b17ac3fe8eedb8.jpg","text":"TemporaryFile(/tmp/multipartBody7961338729165289241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_21_59_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/22/dd237a31b2cb7b6306d838a5cb4b8cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7426413255598911482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583301274,"filename":"image_22012025_18_22_06_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682898","file1":"1330682889","file0":"1330682884","file4":"1330682920","file5":"1330682923","file3":"1330682911"},"map_files_photo_id_array":[{"photo_id":"1330682923","filename":"file5"},{"photo_id":"1330682898","filename":"file2"},{"photo_id":"1330682920","filename":"file4"},{"photo_id":"1330682889","filename":"file1"},{"photo_id":"1330682884","filename":"file0"},{"photo_id":"1330682911","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682884":["hashtag1","hashtag2"]},{"1330682923":["hashtag1","hashtag2"]},{"1330682911":["hashtag1","hashtag2"]},{"1330682920":["hashtag1","hashtag2"]},{"1330682898":["hashtag1","hashtag2"]},{"1330682889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682884, 1330682923, 1330682911, 1330682920, 1330682898, 1330682889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.964943170547485 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:01:22.648602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/20/image_22012025_18_20_59_4897.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_18_6077.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_12_5588.jpg', '/media/data/images/22012025/18/20/image_22012025_18_20_06_7379.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_58_5796.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_17_5394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/20/image_22012025_18_20_59_4897.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_18_6077.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_12_5588.jpg
/media/data/images/22012025/18/20/image_22012025_18_20_06_7379.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_58_5796.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_17_5394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330682977","1330682971","1330682967","1330682993","1330682990","1330682992"],"photo_ids_order":["1330682967","1330682971","1330682977","1330682990","1330682992","1330682993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/86fd58a2e56480b023388a3866f237ff.jpg","text":"TemporaryFile(/tmp/multipartBody5098631179071971207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_20_12_5588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/628222cab044a3d9f3082fa188deffae.jpg","text":"TemporaryFile(/tmp/multipartBody8431920937259347045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_20_18_6077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/feddda7873bcbc7a2d4d2e8deae5ec1a.jpg","text":"TemporaryFile(/tmp/multipartBody2614098588659257423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_20_59_4897.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/12be3b72d38dd446b22a71b195a2d218.jpg","text":"TemporaryFile(/tmp/multipartBody3135280502762353791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_19_17_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/22/7a0513558eb104fb2aaca7df73db3f04.jpg","text":"TemporaryFile(/tmp/multipartBody179443794360412783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_20_06_7379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e0943659d7119bda4a7790c11451976.jpg","text":"TemporaryFile(/tmp/multipartBody2157270702560949730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583366792,"filename":"image_22012025_18_19_58_5796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330682977","file1":"1330682971","file0":"1330682967","file4":"1330682992","file5":"1330682993","file3":"1330682990"},"map_files_photo_id_array":[{"photo_id":"1330682993","filename":"file5"},{"photo_id":"1330682977","filename":"file2"},{"photo_id":"1330682992","filename":"file4"},{"photo_id":"1330682971","filename":"file1"},{"photo_id":"1330682967","filename":"file0"},{"photo_id":"1330682990","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330682977":["hashtag1","hashtag2"]},{"1330682971":["hashtag1","hashtag2"]},{"1330682967":["hashtag1","hashtag2"]},{"1330682993":["hashtag1","hashtag2"]},{"1330682990":["hashtag1","hashtag2"]},{"1330682992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330682977, 1330682971, 1330682967, 1330682993, 1330682990, 1330682992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63835072517395 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:02:21.786689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/19/image_22012025_18_19_11_5987.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_05_5728.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_59_6475.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_17_6187.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_11_4962.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_06_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/19/image_22012025_18_19_11_5987.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_05_5728.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_59_6475.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_17_6187.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_11_4962.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_06_6416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.534046649932861 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:02:41.787317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/19/image_22012025_18_19_11_5987.jpg', '/media/data/images/22012025/18/19/image_22012025_18_19_05_5728.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_59_6475.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_17_6187.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_11_4962.jpg', '/media/data/images/22012025/18/18/image_22012025_18_18_06_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/19/image_22012025_18_19_11_5987.jpg
/media/data/images/22012025/18/19/image_22012025_18_19_05_5728.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_59_6475.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_17_6187.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_11_4962.jpg
/media/data/images/22012025/18/18/image_22012025_18_18_06_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":["1330683078","1330683150","1330683147","1330683129","1330683085","1330683082"],"photo_ids_order":["1330683078","1330683082","1330683085","1330683129","1330683147","1330683150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b88c48d6f4a3bb9fdcf7c93f32f950dc.jpg","text":"TemporaryFile(/tmp/multipartBody3361552544255751760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_19_11_5987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5230b08ff0f63a668d291d6b8cfe18f9.jpg","text":"TemporaryFile(/tmp/multipartBody8659829730807275877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_18_06_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/22/17efd5d0f43839c1c1bb5561a6e17e97.jpg","text":"TemporaryFile(/tmp/multipartBody3005056839241561487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_18_11_4962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bc6f4c3d4261bf62cfd14ef4f4dbe9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5411083713782496589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_18_17_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/22/32edbcf49a101279a68804a0fdce4999.jpg","text":"TemporaryFile(/tmp/multipartBody4246401459732410602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_18_59_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/22/116e00be6393726bf1f40703bf85f746.jpg","text":"TemporaryFile(/tmp/multipartBody9024122015463659499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583431500,"filename":"image_22012025_18_19_05_5728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330683085","file1":"1330683082","file0":"1330683078","file4":"1330683147","file5":"1330683150","file3":"1330683129"},"map_files_photo_id_array":[{"photo_id":"1330683150","filename":"file5"},{"photo_id":"1330683085","filename":"file2"},{"photo_id":"1330683147","filename":"file4"},{"photo_id":"1330683082","filename":"file1"},{"photo_id":"1330683078","filename":"file0"},{"photo_id":"1330683129","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330683078":["hashtag1","hashtag2"]},{"1330683150":["hashtag1","hashtag2"]},{"1330683147":["hashtag1","hashtag2"]},{"1330683129":["hashtag1","hashtag2"]},{"1330683085":["hashtag1","hashtag2"]},{"1330683082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330683078, 1330683150, 1330683147, 1330683129, 1330683085, 1330683082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16525959968567 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:03:41.932715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/17/image_22012025_18_17_59_5683.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_17_6895.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_11_6146.jpg', '/media/data/images/22012025/18/17/image_22012025_18_17_04_4915.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_59_6550.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_17_5815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/17/image_22012025_18_17_59_5683.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_17_6895.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_11_6146.jpg
/media/data/images/22012025/18/17/image_22012025_18_17_04_4915.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_59_6550.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_17_5815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330683198","1330683306","1330683309","1330683303","1330683296","1330683230"],"photo_ids_order":["1330683198","1330683230","1330683296","1330683303","1330683306","1330683309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb5ecec2f383b1cb465c526585ecb480.jpg","text":"TemporaryFile(/tmp/multipartBody2967543062301621737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_17_59_5683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/66a5740b81140a34c0e42c0b1be7110b.jpg","text":"TemporaryFile(/tmp/multipartBody4758506754840902008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_16_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/22/207c48f13bed9331838064946bab7d55.jpg","text":"TemporaryFile(/tmp/multipartBody4070880810987289245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_16_17_5815.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6a910b71f0e2c4d4a21149e876b83a28.jpg","text":"TemporaryFile(/tmp/multipartBody7195826842451431816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_17_04_4915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ea66e35d635f672d125b03a0de37a20d.jpg","text":"TemporaryFile(/tmp/multipartBody9221412423930828928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_17_11_6146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9d1505c6e852de129af92ec5241a60c9.jpg","text":"TemporaryFile(/tmp/multipartBody1900501436899606054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583499340,"filename":"image_22012025_18_17_17_6895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330683296","file1":"1330683230","file0":"1330683198","file4":"1330683306","file5":"1330683309","file3":"1330683303"},"map_files_photo_id_array":[{"photo_id":"1330683309","filename":"file5"},{"photo_id":"1330683296","filename":"file2"},{"photo_id":"1330683306","filename":"file4"},{"photo_id":"1330683230","filename":"file1"},{"photo_id":"1330683198","filename":"file0"},{"photo_id":"1330683303","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330683198":["hashtag1","hashtag2"]},{"1330683306":["hashtag1","hashtag2"]},{"1330683309":["hashtag1","hashtag2"]},{"1330683303":["hashtag1","hashtag2"]},{"1330683296":["hashtag1","hashtag2"]},{"1330683230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330683198, 1330683306, 1330683309, 1330683303, 1330683296, 1330683230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.833287715911865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:04:42.064089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/16/image_22012025_18_16_12_6590.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_05_5929.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_59_5606.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_17_5720.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_12_6130.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_06_7117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/16/image_22012025_18_16_12_6590.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_05_5929.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_59_5606.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_17_5720.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_12_6130.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_06_7117.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.04477834701538 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=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-22 23:05:02.496716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/16/image_22012025_18_16_12_6590.jpg', '/media/data/images/22012025/18/16/image_22012025_18_16_05_5929.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_59_5606.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_17_5720.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_12_6130.jpg', '/media/data/images/22012025/18/15/image_22012025_18_15_06_7117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/16/image_22012025_18_16_12_6590.jpg
/media/data/images/22012025/18/16/image_22012025_18_16_05_5929.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_59_5606.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_17_5720.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_12_6130.jpg
/media/data/images/22012025/18/15/image_22012025_18_15_06_7117.jpg
2025-01-22 23:05:02.563294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/35/image_22012025_07_35_35_6647.jpg', '/media/data/images/22012025/07/35/image_22012025_07_35_59_6671.jpg', '/media/data/images/22012025/07/36/image_22012025_07_36_06_6144.jpg', '/media/data/images/22012025/07/36/image_22012025_07_36_47_5430.jpg', '/media/data/images/22012025/07/36/image_22012025_07_36_59_5443.jpg', '/media/data/images/22012025/07/37/image_22012025_07_37_06_6763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/35/image_22012025_07_35_35_6647.jpg
/media/data/images/22012025/07/35/image_22012025_07_35_59_6671.jpg
/media/data/images/22012025/07/36/image_22012025_07_36_06_6144.jpg
/media/data/images/22012025/07/36/image_22012025_07_36_47_5430.jpg
/media/data/images/22012025/07/36/image_22012025_07_36_59_5443.jpg
/media/data/images/22012025/07/37/image_22012025_07_37_06_6763.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":["1330684271","1330684259","1330684262","1330684276","1330684264","1330684267"],"photo_ids_order":["1330684259","1330684262","1330684264","1330684267","1330684271","1330684276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9381de1c2df6d1dd153b99835d338db7.jpg","text":"TemporaryFile(/tmp/multipartBody153347201601816382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_15_12_6130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a676c1e46e67953257be8e3e601e5da4.jpg","text":"TemporaryFile(/tmp/multipartBody5862952987468927591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_16_12_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/22/47443709ca3cdab360638d2697625065.jpg","text":"TemporaryFile(/tmp/multipartBody555032341753537630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_16_05_5929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/587c2cba716ecbcd291a5d40045ea12c.jpg","text":"TemporaryFile(/tmp/multipartBody587387924316985250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_15_06_7117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8602f3291b4a340820030eda6157722f.jpg","text":"TemporaryFile(/tmp/multipartBody7810417948012711466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_15_59_5606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d6f5724190d5ecf96fed148768c1e264.jpg","text":"TemporaryFile(/tmp/multipartBody1332733296558984884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583586840,"filename":"image_22012025_18_15_17_5720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330684264","file1":"1330684262","file0":"1330684259","file4":"1330684271","file5":"1330684276","file3":"1330684267"},"map_files_photo_id_array":[{"photo_id":"1330684276","filename":"file5"},{"photo_id":"1330684264","filename":"file2"},{"photo_id":"1330684271","filename":"file4"},{"photo_id":"1330684262","filename":"file1"},{"photo_id":"1330684259","filename":"file0"},{"photo_id":"1330684267","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330684271":["hashtag1","hashtag2"]},{"1330684259":["hashtag1","hashtag2"]},{"1330684262":["hashtag1","hashtag2"]},{"1330684276":["hashtag1","hashtag2"]},{"1330684264":["hashtag1","hashtag2"]},{"1330684267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330684271, 1330684259, 1330684262, 1330684276, 1330684264, 1330684267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.52386736869812 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330684560","1330684305","1330684277","1330684291","1330684312","1330684272"],"photo_ids_order":["1330684272","1330684277","1330684291","1330684305","1330684312","1330684560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/16319be087c3b504d1b0cd01bf5c4436.jpg","text":"TemporaryFile(/tmp/multipartBody8803218924152841826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_37_06_6763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d99c3758a5ec55b882e4405feca0cca6.jpg","text":"TemporaryFile(/tmp/multipartBody6553250553782936218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_36_47_5430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/84f8c2432e109f4f3fd4e8ae01da2b86.jpg","text":"TemporaryFile(/tmp/multipartBody1416924068814962534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_35_59_6671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/566f4e77b6d4256e2879dfb702242ef8.jpg","text":"TemporaryFile(/tmp/multipartBody82399322889565367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_36_06_6144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/67b4fbea6c1967c267a0dd0c3c8ebbac.jpg","text":"TemporaryFile(/tmp/multipartBody3110991794054720659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_36_59_5443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eb0b560174c5ec4c75036c3ca78938b2.jpg","text":"TemporaryFile(/tmp/multipartBody2463225960351819180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583607474,"filename":"image_22012025_07_35_35_6647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330684291","file1":"1330684277","file0":"1330684272","file4":"1330684312","file5":"1330684560","file3":"1330684305"},"map_files_photo_id_array":[{"photo_id":"1330684560","filename":"file5"},{"photo_id":"1330684291","filename":"file2"},{"photo_id":"1330684312","filename":"file4"},{"photo_id":"1330684277","filename":"file1"},{"photo_id":"1330684272","filename":"file0"},{"photo_id":"1330684305","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330684560":["hashtag1","hashtag2"]},{"1330684305":["hashtag1","hashtag2"]},{"1330684277":["hashtag1","hashtag2"]},{"1330684291":["hashtag1","hashtag2"]},{"1330684312":["hashtag1","hashtag2"]},{"1330684272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330684560, 1330684305, 1330684277, 1330684291, 1330684312, 1330684272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.27227425575256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:06:42.354058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/14/image_22012025_18_14_58_5285.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_17_5972.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_11_5151.jpg', '/media/data/images/22012025/18/14/image_22012025_18_14_06_6203.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_59_6612.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_17_5718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/14/image_22012025_18_14_58_5285.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_17_5972.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_11_5151.jpg
/media/data/images/22012025/18/14/image_22012025_18_14_06_6203.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_59_6612.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_17_5718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330684746","1330684740","1330684754","1330684736","1330684751","1330684768"],"photo_ids_order":["1330684736","1330684740","1330684746","1330684751","1330684754","1330684768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c33d672a7b09e9784c1e9ecceb98b1d4.jpg","text":"TemporaryFile(/tmp/multipartBody6874967651267012449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_14_11_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/22/d3a16f58b20596c9b92fe9262fe92fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4964170936216755703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_14_17_5972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d68f53b44338da80744988914df74c3.jpg","text":"TemporaryFile(/tmp/multipartBody3067188198814570411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_13_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/22/dbff6a3d4a5bd59ab4e088a6fa7de830.jpg","text":"TemporaryFile(/tmp/multipartBody1157309231284717669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_14_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/22/ff3da460dfee14ee90bb13313d6ec081.jpg","text":"TemporaryFile(/tmp/multipartBody7441329803566255502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_14_06_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/22/d483e5ad754172acab854c9011d7f99f.jpg","text":"TemporaryFile(/tmp/multipartBody5339199026140416860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583675854,"filename":"image_22012025_18_13_17_5718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330684746","file1":"1330684740","file0":"1330684736","file4":"1330684754","file5":"1330684768","file3":"1330684751"},"map_files_photo_id_array":[{"photo_id":"1330684768","filename":"file5"},{"photo_id":"1330684746","filename":"file2"},{"photo_id":"1330684754","filename":"file4"},{"photo_id":"1330684740","filename":"file1"},{"photo_id":"1330684736","filename":"file0"},{"photo_id":"1330684751","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330684746":["hashtag1","hashtag2"]},{"1330684740":["hashtag1","hashtag2"]},{"1330684754":["hashtag1","hashtag2"]},{"1330684736":["hashtag1","hashtag2"]},{"1330684751":["hashtag1","hashtag2"]},{"1330684768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330684746, 1330684740, 1330684754, 1330684736, 1330684751, 1330684768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.235111713409424 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:07:42.491234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/13/image_22012025_18_13_11_5770.jpg', '/media/data/images/22012025/18/13/image_22012025_18_13_05_6787.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_58_5352.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_17_5821.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_12_6515.jpg', '/media/data/images/22012025/18/12/image_22012025_18_12_05_6101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/13/image_22012025_18_13_11_5770.jpg
/media/data/images/22012025/18/13/image_22012025_18_13_05_6787.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_58_5352.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_17_5821.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_12_6515.jpg
/media/data/images/22012025/18/12/image_22012025_18_12_05_6101.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330684959","1330684947","1330684949","1330684939","1330684942","1330684936"],"photo_ids_order":["1330684936","1330684939","1330684942","1330684947","1330684949","1330684959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ac69721395dd5b398940fd1ef81871e.jpg","text":"TemporaryFile(/tmp/multipartBody4883454644974523552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_12_05_6101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5b8f3b40bbdb90383f3bc742a41bd3df.jpg","text":"TemporaryFile(/tmp/multipartBody6128286648472802523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_12_17_5821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/03a76d6d621fd84c1e1c7127cbd42484.jpg","text":"TemporaryFile(/tmp/multipartBody2461862568193514088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_12_12_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/22/d3aaa19c51a3f0fc87bb7d768c9f55a8.jpg","text":"TemporaryFile(/tmp/multipartBody328174033857975063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_13_05_6787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/76828364ff38bb97a5fd973a627d070c.jpg","text":"TemporaryFile(/tmp/multipartBody2471960555802973273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_12_58_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/22/e7ea2e79aa1a25a6f9eecf7da106f829.jpg","text":"TemporaryFile(/tmp/multipartBody2655270343295050508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583733663,"filename":"image_22012025_18_13_11_5770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330684942","file1":"1330684939","file0":"1330684936","file4":"1330684949","file5":"1330684959","file3":"1330684947"},"map_files_photo_id_array":[{"photo_id":"1330684959","filename":"file5"},{"photo_id":"1330684942","filename":"file2"},{"photo_id":"1330684949","filename":"file4"},{"photo_id":"1330684939","filename":"file1"},{"photo_id":"1330684936","filename":"file0"},{"photo_id":"1330684947","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330684959":["hashtag1","hashtag2"]},{"1330684947":["hashtag1","hashtag2"]},{"1330684949":["hashtag1","hashtag2"]},{"1330684939":["hashtag1","hashtag2"]},{"1330684942":["hashtag1","hashtag2"]},{"1330684936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330684959, 1330684947, 1330684949, 1330684939, 1330684942, 1330684936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.982067584991455 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:08:42.636113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/11/image_22012025_18_11_59_6519.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_35_6793.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_23_4872.jpg', '/media/data/images/22012025/18/09/image_22012025_18_09_12_6155.jpg', '/media/data/images/22012025/18/08/image_22012025_18_08_29_5524.jpg', '/media/data/images/22012025/18/03/image_22012025_18_03_05_6179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/11/image_22012025_18_11_59_6519.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_35_6793.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_23_4872.jpg
/media/data/images/22012025/18/09/image_22012025_18_09_12_6155.jpg
/media/data/images/22012025/18/08/image_22012025_18_08_29_5524.jpg
/media/data/images/22012025/18/03/image_22012025_18_03_05_6179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330685357","1330685438","1330685507","1330685191","1330685287","1330685095"],"photo_ids_order":["1330685095","1330685191","1330685287","1330685357","1330685438","1330685507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c417a07ef6da3da955355b0b450d0d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7939745358867367613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_09_12_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/22/5668a0950a4bfbe5cd1a0b29ad223e8e.jpg","text":"TemporaryFile(/tmp/multipartBody489400777224990351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_08_29_5524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fe2247a1f4a8e33ac2f9a35fca748646.jpg","text":"TemporaryFile(/tmp/multipartBody6649261542324051951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_03_05_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/22/eba28c21e2223f992430dea00ce38666.jpg","text":"TemporaryFile(/tmp/multipartBody6656840461527102425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_09_35_6793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdfc04f939a197e825f79ea272ce89cb.jpg","text":"TemporaryFile(/tmp/multipartBody4182690954783726354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_09_23_4872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/219aa7f893aaee968761347cdfba9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3220524703211760841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583806940,"filename":"image_22012025_18_11_59_6519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330685287","file1":"1330685191","file0":"1330685095","file4":"1330685438","file5":"1330685507","file3":"1330685357"},"map_files_photo_id_array":[{"photo_id":"1330685507","filename":"file5"},{"photo_id":"1330685287","filename":"file2"},{"photo_id":"1330685438","filename":"file4"},{"photo_id":"1330685191","filename":"file1"},{"photo_id":"1330685095","filename":"file0"},{"photo_id":"1330685357","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330685357":["hashtag1","hashtag2"]},{"1330685438":["hashtag1","hashtag2"]},{"1330685507":["hashtag1","hashtag2"]},{"1330685191":["hashtag1","hashtag2"]},{"1330685287":["hashtag1","hashtag2"]},{"1330685095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330685357, 1330685438, 1330685507, 1330685191, 1330685287, 1330685095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37732982635498 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:09:42.805523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/02/image_22012025_18_02_59_5445.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_16_4903.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_12_6444.jpg', '/media/data/images/22012025/18/02/image_22012025_18_02_05_5887.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_59_6577.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_17_6616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/02/image_22012025_18_02_59_5445.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_16_4903.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_12_6444.jpg
/media/data/images/22012025/18/02/image_22012025_18_02_05_5887.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_59_6577.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_17_6616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686230","1330685999","1330685909","1330686162","1330686249","1330686068"],"photo_ids_order":["1330685909","1330685999","1330686068","1330686162","1330686230","1330686249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f46e219605d6425c275513e6f59a0e11.jpg","text":"TemporaryFile(/tmp/multipartBody7174419285789855020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_01_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/22/1d7f029b0badb0fe8c8a82871a7cd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8177007639057410018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_02_16_4903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9172980e0168e122b3aac8380fcd51a3.jpg","text":"TemporaryFile(/tmp/multipartBody8465487497582806168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_02_59_5445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/78263a6c389f1d671a3ca0c8581008b1.jpg","text":"TemporaryFile(/tmp/multipartBody3349672242673624141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_02_05_5887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b501d1f0ce9146620a12e3822b5e8241.jpg","text":"TemporaryFile(/tmp/multipartBody4995336546076048047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_01_17_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/22/f481c5233a5d45715b0bda583c6da5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8488284946651796926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583854500,"filename":"image_22012025_18_02_12_6444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686068","file1":"1330685999","file0":"1330685909","file4":"1330686230","file5":"1330686249","file3":"1330686162"},"map_files_photo_id_array":[{"photo_id":"1330686249","filename":"file5"},{"photo_id":"1330686068","filename":"file2"},{"photo_id":"1330686230","filename":"file4"},{"photo_id":"1330685999","filename":"file1"},{"photo_id":"1330685909","filename":"file0"},{"photo_id":"1330686162","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686230":["hashtag1","hashtag2"]},{"1330685999":["hashtag1","hashtag2"]},{"1330685909":["hashtag1","hashtag2"]},{"1330686162":["hashtag1","hashtag2"]},{"1330686249":["hashtag1","hashtag2"]},{"1330686068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686230, 1330685999, 1330685909, 1330686162, 1330686249, 1330686068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.37744760513306 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:10:41.925886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/18/01/image_22012025_18_01_11_6095.jpg', '/media/data/images/22012025/18/01/image_22012025_18_01_05_5766.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_59_6489.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_18_6133.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_11_6257.jpg', '/media/data/images/22012025/18/00/image_22012025_18_00_05_5391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/18/01/image_22012025_18_01_11_6095.jpg
/media/data/images/22012025/18/01/image_22012025_18_01_05_5766.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_59_6489.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_18_6133.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_11_6257.jpg
/media/data/images/22012025/18/00/image_22012025_18_00_05_5391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686271","1330686274","1330686282","1330686285","1330686267","1330686300"],"photo_ids_order":["1330686267","1330686271","1330686274","1330686282","1330686285","1330686300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1cde0efb61d95ec9d73dbc500799c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2419110241378525174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_01_05_5766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b843b0916e7d67a4e5896bd97eee87c1.jpg","text":"TemporaryFile(/tmp/multipartBody2762067407680338941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_00_59_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/22/df1630b552e5388d27242e20bbd39b37.jpg","text":"TemporaryFile(/tmp/multipartBody2174008836093017737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_00_18_6133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/429617a7c496f761fd0af0f146e5a67c.jpg","text":"TemporaryFile(/tmp/multipartBody654272684996187733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_00_11_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/22/8bbb5a309c67e5675edc0666b7ed7173.jpg","text":"TemporaryFile(/tmp/multipartBody5058667042805000970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_01_11_6095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/367606fd751f874fb55b088b34dc9d53.jpg","text":"TemporaryFile(/tmp/multipartBody1159026376256911384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583912069,"filename":"image_22012025_18_00_05_5391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686274","file1":"1330686271","file0":"1330686267","file4":"1330686285","file5":"1330686300","file3":"1330686282"},"map_files_photo_id_array":[{"photo_id":"1330686300","filename":"file5"},{"photo_id":"1330686274","filename":"file2"},{"photo_id":"1330686285","filename":"file4"},{"photo_id":"1330686271","filename":"file1"},{"photo_id":"1330686267","filename":"file0"},{"photo_id":"1330686282","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686271":["hashtag1","hashtag2"]},{"1330686274":["hashtag1","hashtag2"]},{"1330686282":["hashtag1","hashtag2"]},{"1330686285":["hashtag1","hashtag2"]},{"1330686267":["hashtag1","hashtag2"]},{"1330686300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686271, 1330686274, 1330686282, 1330686285, 1330686267, 1330686300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.535727739334106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:11:42.052559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/59/image_22012025_17_59_59_6506.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_53_5285.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_47_6492.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_41_6490.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_34_5269.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_29_6495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/59/image_22012025_17_59_59_6506.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_53_5285.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_47_6492.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_41_6490.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_34_5269.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_29_6495.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686385","1330686346","1330686361","1330686334","1330686337","1330686369"],"photo_ids_order":["1330686334","1330686337","1330686346","1330686361","1330686369","1330686385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0723be132da9dbf3728aab0db2a2b66c.jpg","text":"TemporaryFile(/tmp/multipartBody7759499476763704287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_29_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/22/d2b0ca8b4bd76c43a6f88c4a86124152.jpg","text":"TemporaryFile(/tmp/multipartBody2306659849040100360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_47_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/22/d84edc0b88f11fd166899727e335026f.jpg","text":"TemporaryFile(/tmp/multipartBody8627930915757505694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_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/22/b564c64f70110401b4a895100d7df435.jpg","text":"TemporaryFile(/tmp/multipartBody1529655398220292551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_59_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/22/da4acaa342978c37599861599588480d.jpg","text":"TemporaryFile(/tmp/multipartBody6229255179071097052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_53_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/22/85f0e3051ba744dc443753a69abea121.jpg","text":"TemporaryFile(/tmp/multipartBody668954403959248226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737583975866,"filename":"image_22012025_17_59_34_5269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686346","file1":"1330686337","file0":"1330686334","file4":"1330686369","file5":"1330686385","file3":"1330686361"},"map_files_photo_id_array":[{"photo_id":"1330686385","filename":"file5"},{"photo_id":"1330686346","filename":"file2"},{"photo_id":"1330686369","filename":"file4"},{"photo_id":"1330686337","filename":"file1"},{"photo_id":"1330686334","filename":"file0"},{"photo_id":"1330686361","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686385":["hashtag1","hashtag2"]},{"1330686346":["hashtag1","hashtag2"]},{"1330686361":["hashtag1","hashtag2"]},{"1330686334":["hashtag1","hashtag2"]},{"1330686337":["hashtag1","hashtag2"]},{"1330686369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686385, 1330686346, 1330686361, 1330686334, 1330686337, 1330686369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.04850125312805 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:12:42.187928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/59/image_22012025_17_59_23_5312.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_17_6553.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_11_5968.jpg', '/media/data/images/22012025/17/59/image_22012025_17_59_05_5950.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_59_6553.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_17_6001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/59/image_22012025_17_59_23_5312.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_17_6553.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_11_5968.jpg
/media/data/images/22012025/17/59/image_22012025_17_59_05_5950.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_59_6553.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_17_6001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686527","1330686536","1330686535","1330686534","1330686531","1330686519"],"photo_ids_order":["1330686519","1330686527","1330686531","1330686534","1330686535","1330686536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e9652fbfa14ee200aea6c54c2316c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8861921355338100065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_59_17_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/22/a9685f5f53652222de5cc5c5e5eff2ba.jpg","text":"TemporaryFile(/tmp/multipartBody6040219855464944186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_58_17_6001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8d01a6880333b67896b330fab3dfcbed.jpg","text":"TemporaryFile(/tmp/multipartBody1474189126273683904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_58_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/22/dad7f6b829baec61f491049310c833b1.jpg","text":"TemporaryFile(/tmp/multipartBody379123412625692460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_59_05_5950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/01122ac6ec71e597cb533edfa7789a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3084801643938298208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_59_11_5968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e1716493465aabd1110069dd427cce2.jpg","text":"TemporaryFile(/tmp/multipartBody7625512470448787241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584040746,"filename":"image_22012025_17_59_23_5312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686531","file1":"1330686527","file0":"1330686519","file4":"1330686535","file5":"1330686536","file3":"1330686534"},"map_files_photo_id_array":[{"photo_id":"1330686536","filename":"file5"},{"photo_id":"1330686531","filename":"file2"},{"photo_id":"1330686535","filename":"file4"},{"photo_id":"1330686527","filename":"file1"},{"photo_id":"1330686519","filename":"file0"},{"photo_id":"1330686534","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686527":["hashtag1","hashtag2"]},{"1330686536":["hashtag1","hashtag2"]},{"1330686535":["hashtag1","hashtag2"]},{"1330686534":["hashtag1","hashtag2"]},{"1330686531":["hashtag1","hashtag2"]},{"1330686519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686527, 1330686536, 1330686535, 1330686534, 1330686531, 1330686519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.54610800743103 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:13:42.328063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/58/image_22012025_17_58_11_5303.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_05_5922.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_59_6475.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/58/image_22012025_17_58_11_5303.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_05_5922.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_59_6475.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.973195314407349 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-22 23:14:02.755493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/58/image_22012025_17_58_11_5303.jpg', '/media/data/images/22012025/17/58/image_22012025_17_58_05_5922.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_59_6475.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/58/image_22012025_17_58_11_5303.jpg
/media/data/images/22012025/17/58/image_22012025_17_58_05_5922.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_59_6475.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_53_6453.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_46_5246.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_41_5286.jpg
2025-01-22 23:14:02.728620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/37/image_22012025_07_37_12_6036.jpg', '/media/data/images/22012025/07/37/image_22012025_07_37_17_5444.jpg', '/media/data/images/22012025/07/37/image_22012025_07_37_29_6835.jpg', '/media/data/images/22012025/07/37/image_22012025_07_37_52_5409.jpg', '/media/data/images/22012025/07/38/image_22012025_07_38_16_5580.jpg', '/media/data/images/22012025/07/38/image_22012025_07_38_35_6669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/37/image_22012025_07_37_12_6036.jpg
/media/data/images/22012025/07/37/image_22012025_07_37_17_5444.jpg
/media/data/images/22012025/07/37/image_22012025_07_37_29_6835.jpg
/media/data/images/22012025/07/37/image_22012025_07_37_52_5409.jpg
/media/data/images/22012025/07/38/image_22012025_07_38_16_5580.jpg
/media/data/images/22012025/07/38/image_22012025_07_38_35_6669.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":["1330686632","1330686649","1330686646","1330686631","1330686642","1330686636"],"photo_ids_order":["1330686631","1330686632","1330686636","1330686642","1330686646","1330686649"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0458bd558e8e031e64300b2f781123dc.jpg","text":"TemporaryFile(/tmp/multipartBody1514112556201150758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_58_05_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/2236d1c73868b3cbc413b62c2d5c20bc.jpg","text":"TemporaryFile(/tmp/multipartBody28861606282283380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_57_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/22/9d7ea457a86471ee8b314560a1383812.jpg","text":"TemporaryFile(/tmp/multipartBody6280872604705977873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_57_46_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/22/7ed24c7bea47247e84df8ea35123aaf6.jpg","text":"TemporaryFile(/tmp/multipartBody1200438828392110456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_58_11_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/22/2264379f2a1c2947f0c33715ce37e552.jpg","text":"TemporaryFile(/tmp/multipartBody5300161416820516833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_57_53_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/22/35e3b3db90d3f3e12749f7277df978db.jpg","text":"TemporaryFile(/tmp/multipartBody7264772036669135057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584134642,"filename":"image_22012025_17_57_59_6475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686636","file1":"1330686632","file0":"1330686631","file4":"1330686646","file5":"1330686649","file3":"1330686642"},"map_files_photo_id_array":[{"photo_id":"1330686649","filename":"file5"},{"photo_id":"1330686636","filename":"file2"},{"photo_id":"1330686646","filename":"file4"},{"photo_id":"1330686632","filename":"file1"},{"photo_id":"1330686631","filename":"file0"},{"photo_id":"1330686642","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686632":["hashtag1","hashtag2"]},{"1330686649":["hashtag1","hashtag2"]},{"1330686646":["hashtag1","hashtag2"]},{"1330686631":["hashtag1","hashtag2"]},{"1330686642":["hashtag1","hashtag2"]},{"1330686636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686632, 1330686649, 1330686646, 1330686631, 1330686642, 1330686636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.96607255935669 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686650","1330686647","1330686641","1330686658","1330686637","1330686654"],"photo_ids_order":["1330686637","1330686641","1330686647","1330686650","1330686654","1330686658"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e27557141ff1a67e9ed4ba50105eba5d.jpg","text":"TemporaryFile(/tmp/multipartBody711654201552147828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_37_52_5409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c7e2acef68303953991fd6380050dcfb.jpg","text":"TemporaryFile(/tmp/multipartBody4062671272790066042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_37_29_6835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1ec223a9b7dc1d4d23b897934c68d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1013996585611555074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_37_17_5444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6dc005fdee64fb547f1c056c7e0eda08.jpg","text":"TemporaryFile(/tmp/multipartBody2675333174420700660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_38_35_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/22/a345c5d81f16056b999aec2d04eb7046.jpg","text":"TemporaryFile(/tmp/multipartBody3302584533460552657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_37_12_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/22/baf3c792c976c0565c01138422b57444.jpg","text":"TemporaryFile(/tmp/multipartBody6860116176366422914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584144489,"filename":"image_22012025_07_38_16_5580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686647","file1":"1330686641","file0":"1330686637","file4":"1330686654","file5":"1330686658","file3":"1330686650"},"map_files_photo_id_array":[{"photo_id":"1330686658","filename":"file5"},{"photo_id":"1330686647","filename":"file2"},{"photo_id":"1330686654","filename":"file4"},{"photo_id":"1330686641","filename":"file1"},{"photo_id":"1330686637","filename":"file0"},{"photo_id":"1330686650","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686650":["hashtag1","hashtag2"]},{"1330686647":["hashtag1","hashtag2"]},{"1330686641":["hashtag1","hashtag2"]},{"1330686658":["hashtag1","hashtag2"]},{"1330686637":["hashtag1","hashtag2"]},{"1330686654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686650, 1330686647, 1330686641, 1330686658, 1330686637, 1330686654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.32102298736572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:15:22.643627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/57/image_22012025_17_57_36_6832.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_29_6571.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_23_5325.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_17_6758.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_10_4817.jpg', '/media/data/images/22012025/17/57/image_22012025_17_57_06_7105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/57/image_22012025_17_57_36_6832.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_29_6571.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_23_5325.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_17_6758.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_10_4817.jpg
/media/data/images/22012025/17/57/image_22012025_17_57_06_7105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686671","1330686704","1330686694","1330686673","1330686676","1330686683"],"photo_ids_order":["1330686671","1330686673","1330686676","1330686683","1330686694","1330686704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bcc3e5ed3ebc2b016457b332557313dd.jpg","text":"TemporaryFile(/tmp/multipartBody4994265603143832801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_36_6832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ac581052d681eaef72f4816e5d093432.jpg","text":"TemporaryFile(/tmp/multipartBody5016793451013307481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_06_7105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/df5a35db2363d3f5043a7279116523ae.jpg","text":"TemporaryFile(/tmp/multipartBody74459478152330383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_10_4817.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e4acbf3343ee2c44f6c457fff4937604.jpg","text":"TemporaryFile(/tmp/multipartBody6648678315741866111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_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/22/59179ef5845b73ddb90855955ed84450.jpg","text":"TemporaryFile(/tmp/multipartBody7889023786439554008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_23_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/22/5c2a8201bc9f2e413b0221febe54938a.jpg","text":"TemporaryFile(/tmp/multipartBody4054315109408879666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584194486,"filename":"image_22012025_17_57_17_6758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686676","file1":"1330686673","file0":"1330686671","file4":"1330686694","file5":"1330686704","file3":"1330686683"},"map_files_photo_id_array":[{"photo_id":"1330686704","filename":"file5"},{"photo_id":"1330686676","filename":"file2"},{"photo_id":"1330686694","filename":"file4"},{"photo_id":"1330686673","filename":"file1"},{"photo_id":"1330686671","filename":"file0"},{"photo_id":"1330686683","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686671":["hashtag1","hashtag2"]},{"1330686704":["hashtag1","hashtag2"]},{"1330686694":["hashtag1","hashtag2"]},{"1330686673":["hashtag1","hashtag2"]},{"1330686676":["hashtag1","hashtag2"]},{"1330686683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686671, 1330686704, 1330686694, 1330686673, 1330686676, 1330686683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.451985597610474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:16:21.790581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/56/image_22012025_17_56_58_5256.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_17_6181.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_11_6161.jpg', '/media/data/images/22012025/17/56/image_22012025_17_56_05_6064.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_58_5251.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_17_5799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/56/image_22012025_17_56_58_5256.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_17_6181.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_11_6161.jpg
/media/data/images/22012025/17/56/image_22012025_17_56_05_6064.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_58_5251.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_17_5799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330686820","1330686817","1330686762","1330686765","1330686822","1330686776"],"photo_ids_order":["1330686762","1330686765","1330686776","1330686817","1330686820","1330686822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1f4a16608d7dec81e244ac3d0da3e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2306057733068322869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_55_58_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/22/a7e53e84b9421f5e6510eeea74bc7e0f.jpg","text":"TemporaryFile(/tmp/multipartBody4392103646103593249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_56_05_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/185bf8c23164eaa14bec17604488926c.jpg","text":"TemporaryFile(/tmp/multipartBody1251165487520733536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_56_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/22/bb30bde4cbb75327a479304a3afc095d.jpg","text":"TemporaryFile(/tmp/multipartBody6982065037848873553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_56_17_6181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a85cdd35b72a7b87dce9745c1ea4b2d2.jpg","text":"TemporaryFile(/tmp/multipartBody1440560768107463987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_55_17_5799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/872438511031a543c226715bee158639.jpg","text":"TemporaryFile(/tmp/multipartBody8843104984637994559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584254129,"filename":"image_22012025_17_56_11_6161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686776","file1":"1330686765","file0":"1330686762","file4":"1330686820","file5":"1330686822","file3":"1330686817"},"map_files_photo_id_array":[{"photo_id":"1330686822","filename":"file5"},{"photo_id":"1330686776","filename":"file2"},{"photo_id":"1330686820","filename":"file4"},{"photo_id":"1330686765","filename":"file1"},{"photo_id":"1330686762","filename":"file0"},{"photo_id":"1330686817","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330686820":["hashtag1","hashtag2"]},{"1330686817":["hashtag1","hashtag2"]},{"1330686762":["hashtag1","hashtag2"]},{"1330686765":["hashtag1","hashtag2"]},{"1330686822":["hashtag1","hashtag2"]},{"1330686776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330686820, 1330686817, 1330686762, 1330686765, 1330686822, 1330686776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.30086064338684 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:17:21.941373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/55/image_22012025_17_55_11_6147.jpg', '/media/data/images/22012025/17/55/image_22012025_17_55_05_6011.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_59_6530.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_17_6480.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_11_5140.jpg', '/media/data/images/22012025/17/54/image_22012025_17_54_06_6307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/55/image_22012025_17_55_11_6147.jpg
/media/data/images/22012025/17/55/image_22012025_17_55_05_6011.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_59_6530.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_17_6480.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_11_5140.jpg
/media/data/images/22012025/17/54/image_22012025_17_54_06_6307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330687004","1330687000","1330686961","1330686984","1330686966","1330686954"],"photo_ids_order":["1330686954","1330686961","1330686966","1330686984","1330687000","1330687004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4d540fd80cd854e2161fe414027cfe9f.jpg","text":"TemporaryFile(/tmp/multipartBody5855693062379627111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_54_06_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/22/7adc86ebe5a3d2e5224273bd511658c2.jpg","text":"TemporaryFile(/tmp/multipartBody1555107202363431490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_54_11_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/22/550ef7a02168886d71863ce332c1e320.jpg","text":"TemporaryFile(/tmp/multipartBody4422019358581383431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_55_05_6011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c9f0048affb93f164f7c2173b6356ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2679215739109489868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_54_17_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/22/54b2f80c07b549716e13064e5677f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody5849336670198614806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_54_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/22/00ff6d18a2ccb3840e5d4d687eeb4e98.jpg","text":"TemporaryFile(/tmp/multipartBody6504700994405723222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584312705,"filename":"image_22012025_17_55_11_6147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330686966","file1":"1330686961","file0":"1330686954","file4":"1330687000","file5":"1330687004","file3":"1330686984"},"map_files_photo_id_array":[{"photo_id":"1330687004","filename":"file5"},{"photo_id":"1330686966","filename":"file2"},{"photo_id":"1330687000","filename":"file4"},{"photo_id":"1330686961","filename":"file1"},{"photo_id":"1330686954","filename":"file0"},{"photo_id":"1330686984","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330687004":["hashtag1","hashtag2"]},{"1330687000":["hashtag1","hashtag2"]},{"1330686961":["hashtag1","hashtag2"]},{"1330686984":["hashtag1","hashtag2"]},{"1330686966":["hashtag1","hashtag2"]},{"1330686954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330687004, 1330687000, 1330686961, 1330686984, 1330686966, 1330686954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4582200050354 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:18:22.061725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/53/image_22012025_17_53_59_6526.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_17_4807.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_12_7272.jpg', '/media/data/images/22012025/17/53/image_22012025_17_53_05_6254.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_59_5271.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_18_5635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/53/image_22012025_17_53_59_6526.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_17_4807.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_12_7272.jpg
/media/data/images/22012025/17/53/image_22012025_17_53_05_6254.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_59_5271.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_18_5635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330687403","1330687786","1330687720","1330687123","1330687097","1330687178"],"photo_ids_order":["1330687097","1330687123","1330687178","1330687403","1330687720","1330687786"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d2625146be4e043de76e2de41bebabb8.jpg","text":"TemporaryFile(/tmp/multipartBody2572757845737871229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_53_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/22/7babecbbddfe764162e75d6ab96a6907.jpg","text":"TemporaryFile(/tmp/multipartBody2167933489328486138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_52_18_5635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f8830a41976d0dc8963211b7faed31ae.jpg","text":"TemporaryFile(/tmp/multipartBody8390615036611272699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_52_59_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/22/b9c9d4f39a43d2d73f73dc6449a94847.jpg","text":"TemporaryFile(/tmp/multipartBody3066986988506590065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_53_17_4807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/da30d082bcd2a92a5af52466ef5005a7.jpg","text":"TemporaryFile(/tmp/multipartBody6657030630076313715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_53_59_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/22/42039f792a7cc1b932c1da81c69fb2a4.jpg","text":"TemporaryFile(/tmp/multipartBody7206703681283927970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584375246,"filename":"image_22012025_17_53_12_7272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330687178","file1":"1330687123","file0":"1330687097","file4":"1330687720","file5":"1330687786","file3":"1330687403"},"map_files_photo_id_array":[{"photo_id":"1330687786","filename":"file5"},{"photo_id":"1330687178","filename":"file2"},{"photo_id":"1330687720","filename":"file4"},{"photo_id":"1330687123","filename":"file1"},{"photo_id":"1330687097","filename":"file0"},{"photo_id":"1330687403","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330687403":["hashtag1","hashtag2"]},{"1330687786":["hashtag1","hashtag2"]},{"1330687720":["hashtag1","hashtag2"]},{"1330687123":["hashtag1","hashtag2"]},{"1330687097":["hashtag1","hashtag2"]},{"1330687178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330687403, 1330687786, 1330687720, 1330687123, 1330687097, 1330687178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.71521043777466 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:19:22.250539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/52/image_22012025_17_52_13_5759.jpg', '/media/data/images/22012025/17/52/image_22012025_17_52_06_6770.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_59_6511.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_53_6382.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_46_5274.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_41_6491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/52/image_22012025_17_52_13_5759.jpg
/media/data/images/22012025/17/52/image_22012025_17_52_06_6770.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_59_6511.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_53_6382.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_46_5274.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_41_6491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688035","1330688085","1330688070","1330688013","1330688030","1330687871"],"photo_ids_order":["1330687871","1330688013","1330688030","1330688035","1330688070","1330688085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3da4b48d717eb259da0788d00d6ef46b.jpg","text":"TemporaryFile(/tmp/multipartBody3733430625920001809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_51_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/22/e4f383b34505a1e9fa9ad263b7f19d68.jpg","text":"TemporaryFile(/tmp/multipartBody4563274108785060764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_51_41_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/22/ba37c6b4c87db898310d8a4547902f0a.jpg","text":"TemporaryFile(/tmp/multipartBody951924557107820395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_51_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/22/d1fd997e2fff0918e17bf7f54ee51451.jpg","text":"TemporaryFile(/tmp/multipartBody1505942617673181717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_52_06_6770.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d0af68a1662db4067839cf0d1d24fbff.jpg","text":"TemporaryFile(/tmp/multipartBody5002341535349289483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_51_59_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/22/46b3c03bee8aaeaee029b77cc852dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody380715784494090528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584431503,"filename":"image_22012025_17_52_13_5759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688030","file1":"1330688013","file0":"1330687871","file4":"1330688070","file5":"1330688085","file3":"1330688035"},"map_files_photo_id_array":[{"photo_id":"1330688085","filename":"file5"},{"photo_id":"1330688030","filename":"file2"},{"photo_id":"1330688070","filename":"file4"},{"photo_id":"1330688013","filename":"file1"},{"photo_id":"1330687871","filename":"file0"},{"photo_id":"1330688035","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688035":["hashtag1","hashtag2"]},{"1330688085":["hashtag1","hashtag2"]},{"1330688070":["hashtag1","hashtag2"]},{"1330688013":["hashtag1","hashtag2"]},{"1330688030":["hashtag1","hashtag2"]},{"1330687871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688035, 1330688085, 1330688070, 1330688013, 1330688030, 1330687871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.55140948295593 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:20:22.351355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/51/image_22012025_17_51_35_5263.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_29_6435.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_23_6501.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_17_5504.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_12_5736.jpg', '/media/data/images/22012025/17/51/image_22012025_17_51_06_6995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/51/image_22012025_17_51_35_5263.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_29_6435.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_23_6501.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_17_5504.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_12_5736.jpg
/media/data/images/22012025/17/51/image_22012025_17_51_06_6995.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688203","1330688199","1330688175","1330688189","1330688162","1330688194"],"photo_ids_order":["1330688162","1330688175","1330688189","1330688194","1330688199","1330688203"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49b3ab1f01a308a28a04d29a87632b64.jpg","text":"TemporaryFile(/tmp/multipartBody2105795024763226519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_06_6995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/88d519e209740be8a8d9e63b154d8c54.jpg","text":"TemporaryFile(/tmp/multipartBody9223164197977929262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_12_5736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6dd66ca4a4ad43371ae0fc01c6c4a84f.jpg","text":"TemporaryFile(/tmp/multipartBody135335647060178912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_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/22/f485109416dcdae6ebb91faf1cf099d3.jpg","text":"TemporaryFile(/tmp/multipartBody1027968578010828251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_23_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/22/a13149533441fa68e653751898ebf468.jpg","text":"TemporaryFile(/tmp/multipartBody3456768824810646405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_35_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/22/da103f39a492bac7c6c7687b653a21ef.jpg","text":"TemporaryFile(/tmp/multipartBody5945874859791846702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584494262,"filename":"image_22012025_17_51_17_5504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688189","file1":"1330688175","file0":"1330688162","file4":"1330688199","file5":"1330688203","file3":"1330688194"},"map_files_photo_id_array":[{"photo_id":"1330688203","filename":"file5"},{"photo_id":"1330688189","filename":"file2"},{"photo_id":"1330688199","filename":"file4"},{"photo_id":"1330688175","filename":"file1"},{"photo_id":"1330688162","filename":"file0"},{"photo_id":"1330688194","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688203":["hashtag1","hashtag2"]},{"1330688199":["hashtag1","hashtag2"]},{"1330688175":["hashtag1","hashtag2"]},{"1330688189":["hashtag1","hashtag2"]},{"1330688162":["hashtag1","hashtag2"]},{"1330688194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688203, 1330688199, 1330688175, 1330688189, 1330688162, 1330688194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00939631462097 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:21:22.465272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/50/image_22012025_17_50_58_5243.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_17_6480.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_11_4877.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_06_6516.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_59_5508.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_17_5384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/50/image_22012025_17_50_58_5243.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_17_6480.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_11_4877.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_06_6516.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_59_5508.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_17_5384.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 12.050822973251343 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:21:42.444408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/50/image_22012025_17_50_58_5243.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_17_6480.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_11_4877.jpg', '/media/data/images/22012025/17/50/image_22012025_17_50_06_6516.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_59_5508.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_17_5384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/50/image_22012025_17_50_58_5243.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_17_6480.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_11_4877.jpg
/media/data/images/22012025/17/50/image_22012025_17_50_06_6516.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_59_5508.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_17_5384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688275","1330688302","1330688298","1330688288","1330688284","1330688278"],"photo_ids_order":["1330688275","1330688278","1330688284","1330688288","1330688298","1330688302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6bc5b41f3a07635c522cbeee407b3646.jpg","text":"TemporaryFile(/tmp/multipartBody7869166153235822234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_50_58_5243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1b7540b540c0284da875094d196cef3.jpg","text":"TemporaryFile(/tmp/multipartBody2315874631634611027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_49_17_5384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b5e02378b509efcbdc9f2730b6732d71.jpg","text":"TemporaryFile(/tmp/multipartBody501572887448676574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_49_59_5508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1ea5a31fc05f688db8904193accc8e0.jpg","text":"TemporaryFile(/tmp/multipartBody927286056762325055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_50_06_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/22/17be41825d66631a864b506ab39b79fe.jpg","text":"TemporaryFile(/tmp/multipartBody9074765702629517013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_50_11_4877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/49af95e0a8117aca32e428620442bc2c.jpg","text":"TemporaryFile(/tmp/multipartBody2235689527083698904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584581926,"filename":"image_22012025_17_50_17_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688284","file1":"1330688278","file0":"1330688275","file4":"1330688298","file5":"1330688302","file3":"1330688288"},"map_files_photo_id_array":[{"photo_id":"1330688302","filename":"file5"},{"photo_id":"1330688284","filename":"file2"},{"photo_id":"1330688298","filename":"file4"},{"photo_id":"1330688278","filename":"file1"},{"photo_id":"1330688275","filename":"file0"},{"photo_id":"1330688288","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688275":["hashtag1","hashtag2"]},{"1330688302":["hashtag1","hashtag2"]},{"1330688298":["hashtag1","hashtag2"]},{"1330688288":["hashtag1","hashtag2"]},{"1330688284":["hashtag1","hashtag2"]},{"1330688278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688275, 1330688302, 1330688298, 1330688288, 1330688284, 1330688278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.84645891189575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:22:42.576630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/49/image_22012025_17_49_12_6204.jpg', '/media/data/images/22012025/17/49/image_22012025_17_49_06_6045.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_59_6523.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_16_6021.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_10_5161.jpg', '/media/data/images/22012025/17/48/image_22012025_17_48_05_6078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/49/image_22012025_17_49_12_6204.jpg
/media/data/images/22012025/17/49/image_22012025_17_49_06_6045.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_59_6523.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_16_6021.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_10_5161.jpg
/media/data/images/22012025/17/48/image_22012025_17_48_05_6078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688335","1330688329","1330688316","1330688319","1330688324","1330688312"],"photo_ids_order":["1330688312","1330688316","1330688319","1330688324","1330688329","1330688335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/468ada66d51d972b4c70792748d1429e.jpg","text":"TemporaryFile(/tmp/multipartBody143785774143672020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_48_05_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eee7480ab10b8f3eddba65abd6dde2e6.jpg","text":"TemporaryFile(/tmp/multipartBody4946955520016335786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_48_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/22/ac0e1130db450cb570efd41ea23fc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody7421358585410807341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_49_06_6045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed4ac97fcb0a6459374f89ae009ac4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8087992139722185101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_48_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/22/f805b7215600773337750cbeab386b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5265259624706198038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_48_16_6021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/632e29f78df3054fe65031d00b14fdc6.jpg","text":"TemporaryFile(/tmp/multipartBody2179752311562998225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584630514,"filename":"image_22012025_17_49_12_6204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688319","file1":"1330688316","file0":"1330688312","file4":"1330688329","file5":"1330688335","file3":"1330688324"},"map_files_photo_id_array":[{"photo_id":"1330688335","filename":"file5"},{"photo_id":"1330688319","filename":"file2"},{"photo_id":"1330688329","filename":"file4"},{"photo_id":"1330688316","filename":"file1"},{"photo_id":"1330688312","filename":"file0"},{"photo_id":"1330688324","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688335":["hashtag1","hashtag2"]},{"1330688329":["hashtag1","hashtag2"]},{"1330688316":["hashtag1","hashtag2"]},{"1330688319":["hashtag1","hashtag2"]},{"1330688324":["hashtag1","hashtag2"]},{"1330688312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688335, 1330688329, 1330688316, 1330688319, 1330688324, 1330688312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85713791847229 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:23:42.762195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/47/image_22012025_17_47_59_6483.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_17_6719.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_11_6136.jpg', '/media/data/images/22012025/17/47/image_22012025_17_47_05_5792.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_59_5410.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_17_5857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/47/image_22012025_17_47_59_6483.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_17_6719.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_11_6136.jpg
/media/data/images/22012025/17/47/image_22012025_17_47_05_5792.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_59_5410.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_17_5857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688449","1330688463","1330688457","1330688453","1330688459","1330688450"],"photo_ids_order":["1330688449","1330688450","1330688453","1330688457","1330688459","1330688463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5db9fb2717f136129730b26e7caf1d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3589992502817685914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_47_59_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/22/1caec2fe2fa4321a19ae808145d2f452.jpg","text":"TemporaryFile(/tmp/multipartBody6142357474060056722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_46_17_5857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9717a767eed174a3d958ed5e179831d6.jpg","text":"TemporaryFile(/tmp/multipartBody2088763606073149782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_47_05_5792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f98c9d8f1d5f4a81c2838c2f9a79adbb.jpg","text":"TemporaryFile(/tmp/multipartBody1307216239234548686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_47_11_6136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/198923a7171590060c750a71c234da9c.jpg","text":"TemporaryFile(/tmp/multipartBody4887994784275652295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_46_59_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/22/c9792582b60a56917590f251b7dd0946.jpg","text":"TemporaryFile(/tmp/multipartBody5994976887565859942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584691831,"filename":"image_22012025_17_47_17_6719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688453","file1":"1330688450","file0":"1330688449","file4":"1330688459","file5":"1330688463","file3":"1330688457"},"map_files_photo_id_array":[{"photo_id":"1330688463","filename":"file5"},{"photo_id":"1330688453","filename":"file2"},{"photo_id":"1330688459","filename":"file4"},{"photo_id":"1330688450","filename":"file1"},{"photo_id":"1330688449","filename":"file0"},{"photo_id":"1330688457","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688449":["hashtag1","hashtag2"]},{"1330688463":["hashtag1","hashtag2"]},{"1330688457":["hashtag1","hashtag2"]},{"1330688453":["hashtag1","hashtag2"]},{"1330688459":["hashtag1","hashtag2"]},{"1330688450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688449, 1330688463, 1330688457, 1330688453, 1330688459, 1330688450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.99565243721008 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:24:41.902568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/46/image_22012025_17_46_12_6678.jpg', '/media/data/images/22012025/17/46/image_22012025_17_46_05_6193.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_59_5380.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_17_5550.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_12_6036.jpg', '/media/data/images/22012025/17/45/image_22012025_17_45_06_6939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/46/image_22012025_17_46_12_6678.jpg
/media/data/images/22012025/17/46/image_22012025_17_46_05_6193.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_59_5380.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_17_5550.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_12_6036.jpg
/media/data/images/22012025/17/45/image_22012025_17_45_06_6939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688653","1330688643","1330688663","1330688660","1330688648","1330688657"],"photo_ids_order":["1330688643","1330688648","1330688653","1330688657","1330688660","1330688663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b39f12fcc758bf340d38f48d5fcf35dc.jpg","text":"TemporaryFile(/tmp/multipartBody4180636411311656692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_45_59_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/22/7b8cee5a3e9dd9e9df2a308efd7b0c15.jpg","text":"TemporaryFile(/tmp/multipartBody1573206227627984669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_46_12_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/22/38c1699ee9a090521ccd349927ac27bb.jpg","text":"TemporaryFile(/tmp/multipartBody1454026430374846631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_45_06_6939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d938cbefc94c7dc351c600f7c4bfa857.jpg","text":"TemporaryFile(/tmp/multipartBody2100432186839000390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_45_12_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/22/834b985983c315a0a2d20449240a2546.jpg","text":"TemporaryFile(/tmp/multipartBody5544791901757473239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_46_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/22/1a44080f09c5a9bd13e5fb10b281b804.jpg","text":"TemporaryFile(/tmp/multipartBody5629716221394052892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584752959,"filename":"image_22012025_17_45_17_5550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688653","file1":"1330688648","file0":"1330688643","file4":"1330688660","file5":"1330688663","file3":"1330688657"},"map_files_photo_id_array":[{"photo_id":"1330688663","filename":"file5"},{"photo_id":"1330688653","filename":"file2"},{"photo_id":"1330688660","filename":"file4"},{"photo_id":"1330688648","filename":"file1"},{"photo_id":"1330688643","filename":"file0"},{"photo_id":"1330688657","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688653":["hashtag1","hashtag2"]},{"1330688643":["hashtag1","hashtag2"]},{"1330688663":["hashtag1","hashtag2"]},{"1330688660":["hashtag1","hashtag2"]},{"1330688648":["hashtag1","hashtag2"]},{"1330688657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688653, 1330688643, 1330688663, 1330688660, 1330688648, 1330688657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.83139896392822 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:25:42.041442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/44/image_22012025_17_44_58_5272.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_17_6148.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_11_6470.jpg', '/media/data/images/22012025/17/44/image_22012025_17_44_05_4908.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_59_6490.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_16_5525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/44/image_22012025_17_44_58_5272.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_17_6148.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_11_6470.jpg
/media/data/images/22012025/17/44/image_22012025_17_44_05_4908.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_59_6490.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_16_5525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330688697","1330688703","1330688693","1330688708","1330688692","1330688689"],"photo_ids_order":["1330688689","1330688692","1330688693","1330688697","1330688703","1330688708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3fe818dc2a2b756b3446ea75025c7fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5274661290840230649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_44_05_4908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e4c1437beb684e838dfd39901290f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody73280235566230900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_43_59_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/22/bf3ac1da1d91a38b7a7f8208b1f2bce8.jpg","text":"TemporaryFile(/tmp/multipartBody3435113599746398104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_44_11_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/22/2da6af73b1680f757889bc3bcddcbc7d.jpg","text":"TemporaryFile(/tmp/multipartBody5275498363752625585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_43_16_5525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b8ae9c1f12b66d8513b7c3ab17f8b23.jpg","text":"TemporaryFile(/tmp/multipartBody8903875066414091328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_44_17_6148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c30898e8d2b594d700db5b0e7b25c84f.jpg","text":"TemporaryFile(/tmp/multipartBody8901931614903459860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584810851,"filename":"image_22012025_17_44_58_5272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688693","file1":"1330688692","file0":"1330688689","file4":"1330688703","file5":"1330688708","file3":"1330688697"},"map_files_photo_id_array":[{"photo_id":"1330688708","filename":"file5"},{"photo_id":"1330688693","filename":"file2"},{"photo_id":"1330688703","filename":"file4"},{"photo_id":"1330688692","filename":"file1"},{"photo_id":"1330688689","filename":"file0"},{"photo_id":"1330688697","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330688697":["hashtag1","hashtag2"]},{"1330688703":["hashtag1","hashtag2"]},{"1330688693":["hashtag1","hashtag2"]},{"1330688708":["hashtag1","hashtag2"]},{"1330688692":["hashtag1","hashtag2"]},{"1330688689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330688697, 1330688703, 1330688693, 1330688708, 1330688692, 1330688689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38851356506348 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:26:42.161232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/43/image_22012025_17_43_11_6150.jpg', '/media/data/images/22012025/17/43/image_22012025_17_43_05_5704.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_59_6711.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_17_7156.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_10_5398.jpg', '/media/data/images/22012025/17/42/image_22012025_17_42_05_5942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/43/image_22012025_17_43_11_6150.jpg
/media/data/images/22012025/17/43/image_22012025_17_43_05_5704.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_59_6711.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_17_7156.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_10_5398.jpg
/media/data/images/22012025/17/42/image_22012025_17_42_05_5942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689025","1330688956","1330688999","1330689044","1330688960","1330688963"],"photo_ids_order":["1330688956","1330688960","1330688963","1330688999","1330689025","1330689044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e10a2c4e5ec2ea3e18126c69ea4e65b8.jpg","text":"TemporaryFile(/tmp/multipartBody2309700350034420802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_42_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/22/810367f9226c13bb06cf68d8fae13963.jpg","text":"TemporaryFile(/tmp/multipartBody6604699343797046938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_43_11_6150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bfbb469c641cf2356de8cf17f9a9c141.jpg","text":"TemporaryFile(/tmp/multipartBody1037001136750661585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_42_17_7156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cc8c33071e15e134782eb762909fe7c2.jpg","text":"TemporaryFile(/tmp/multipartBody8592867002710359572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_42_05_5942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9721e17843a335c690e80c43e5de7708.jpg","text":"TemporaryFile(/tmp/multipartBody2904816493923322189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_43_05_5704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ae9965e489b287cf6453534476a9a6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1029535676055520416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584866908,"filename":"image_22012025_17_42_59_6711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330688963","file1":"1330688960","file0":"1330688956","file4":"1330689025","file5":"1330689044","file3":"1330688999"},"map_files_photo_id_array":[{"photo_id":"1330689044","filename":"file5"},{"photo_id":"1330688963","filename":"file2"},{"photo_id":"1330689025","filename":"file4"},{"photo_id":"1330688960","filename":"file1"},{"photo_id":"1330688956","filename":"file0"},{"photo_id":"1330688999","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689025":["hashtag1","hashtag2"]},{"1330688956":["hashtag1","hashtag2"]},{"1330688999":["hashtag1","hashtag2"]},{"1330689044":["hashtag1","hashtag2"]},{"1330688960":["hashtag1","hashtag2"]},{"1330688963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689025, 1330688956, 1330688999, 1330689044, 1330688960, 1330688963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24509882926941 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:27:22.312515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/41/image_22012025_17_41_59_6653.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_17_5408.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_12_6145.jpg', '/media/data/images/22012025/17/41/image_22012025_17_41_06_5927.jpg', '/media/data/images/22012025/17/40/image_22012025_17_41_00_6507.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_18_6699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/41/image_22012025_17_41_59_6653.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_17_5408.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_12_6145.jpg
/media/data/images/22012025/17/41/image_22012025_17_41_06_5927.jpg
/media/data/images/22012025/17/40/image_22012025_17_41_00_6507.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_18_6699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689086","1330689089","1330689140","1330689206","1330689196","1330689209"],"photo_ids_order":["1330689086","1330689089","1330689140","1330689196","1330689206","1330689209"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3ae82fdae0da94efc3d7262d5a88d51f.jpg","text":"TemporaryFile(/tmp/multipartBody7631967743176517735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_41_59_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/22/b5d35b928ce12ba0b92c8e22e5f4c03c.jpg","text":"TemporaryFile(/tmp/multipartBody5862747301885033208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_41_17_5408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ebde3bb1a54cbc2ac6a4fb8bb37fcc0e.jpg","text":"TemporaryFile(/tmp/multipartBody617603468719869324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_41_12_6145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a0100b44fdee7b110223da9888045047.jpg","text":"TemporaryFile(/tmp/multipartBody7890739986256823973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_41_00_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/22/dfad1f20d4ca413f6f2fee7a2b269a38.jpg","text":"TemporaryFile(/tmp/multipartBody9085664266172499810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_41_06_5927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3e65b254d991cdd1e7648253d9b7d5a5.jpg","text":"TemporaryFile(/tmp/multipartBody2045906130125419920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584912241,"filename":"image_22012025_17_40_18_6699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689140","file1":"1330689089","file0":"1330689086","file4":"1330689206","file5":"1330689209","file3":"1330689196"},"map_files_photo_id_array":[{"photo_id":"1330689209","filename":"file5"},{"photo_id":"1330689140","filename":"file2"},{"photo_id":"1330689206","filename":"file4"},{"photo_id":"1330689089","filename":"file1"},{"photo_id":"1330689086","filename":"file0"},{"photo_id":"1330689196","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689086":["hashtag1","hashtag2"]},{"1330689089":["hashtag1","hashtag2"]},{"1330689140":["hashtag1","hashtag2"]},{"1330689206":["hashtag1","hashtag2"]},{"1330689196":["hashtag1","hashtag2"]},{"1330689209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689086, 1330689089, 1330689140, 1330689206, 1330689196, 1330689209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72459006309509 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:28:22.438301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/40/image_22012025_17_40_11_4564.jpg', '/media/data/images/22012025/17/40/image_22012025_17_40_07_6983.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_59_6598.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_52_5240.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_47_6456.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_41_6297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/40/image_22012025_17_40_11_4564.jpg
/media/data/images/22012025/17/40/image_22012025_17_40_07_6983.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_59_6598.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_52_5240.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_47_6456.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_41_6297.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689278","1330689314","1330689295","1330689308","1330689253","1330689256"],"photo_ids_order":["1330689253","1330689256","1330689278","1330689295","1330689308","1330689314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9667c0f68ec0d5dc6668580a01e29047.jpg","text":"TemporaryFile(/tmp/multipartBody6991957600669980229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_39_59_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/22/4441d131925ad20b84c9bbe472dc5ead.jpg","text":"TemporaryFile(/tmp/multipartBody3889696024888275740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_39_41_6297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68e2a4e3ee7a708111751026b428905a.jpg","text":"TemporaryFile(/tmp/multipartBody5498948333904452605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_39_52_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/22/26d7c8bce635a40ad841542110669820.jpg","text":"TemporaryFile(/tmp/multipartBody7522971048951490701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_39_47_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/22/75fa509f1c4e1a8e839eaf40932d4fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1653750299473873529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_40_11_4564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c1f7ca7fee40f3ab76b91dd45e54fc10.jpg","text":"TemporaryFile(/tmp/multipartBody676073471991625473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737584976764,"filename":"image_22012025_17_40_07_6983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689278","file1":"1330689256","file0":"1330689253","file4":"1330689308","file5":"1330689314","file3":"1330689295"},"map_files_photo_id_array":[{"photo_id":"1330689314","filename":"file5"},{"photo_id":"1330689278","filename":"file2"},{"photo_id":"1330689308","filename":"file4"},{"photo_id":"1330689256","filename":"file1"},{"photo_id":"1330689253","filename":"file0"},{"photo_id":"1330689295","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689278":["hashtag1","hashtag2"]},{"1330689314":["hashtag1","hashtag2"]},{"1330689295":["hashtag1","hashtag2"]},{"1330689308":["hashtag1","hashtag2"]},{"1330689253":["hashtag1","hashtag2"]},{"1330689256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689278, 1330689314, 1330689295, 1330689308, 1330689253, 1330689256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.96031951904297 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:29:22.600114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/39/image_22012025_17_39_34_5265.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_29_6526.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_23_6114.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_17_4882.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_12_6595.jpg', '/media/data/images/22012025/17/39/image_22012025_17_39_06_6149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/39/image_22012025_17_39_34_5265.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_29_6526.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_23_6114.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_17_4882.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_12_6595.jpg
/media/data/images/22012025/17/39/image_22012025_17_39_06_6149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689409","1330689402","1330689371","1330689394","1330689385","1330689367"],"photo_ids_order":["1330689367","1330689371","1330689385","1330689394","1330689402","1330689409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef9361547a19fbfc8de5a27cc7da799a.jpg","text":"TemporaryFile(/tmp/multipartBody2073239346439492093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_06_6149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0b76b15522c6c902657a12753bfdd780.jpg","text":"TemporaryFile(/tmp/multipartBody5034670342461896745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_12_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/22/b7f2e9496124db8bbc1b7a66b2c4c327.jpg","text":"TemporaryFile(/tmp/multipartBody8564242661099993524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_29_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/22/f3d7536a739ca2fa8e55df1a930b90f9.jpg","text":"TemporaryFile(/tmp/multipartBody6174556586857989770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_17_4882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bbe49c01390ff1c2207e8539c575e32b.jpg","text":"TemporaryFile(/tmp/multipartBody7595042220661791869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_23_6114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4f2fe7d075b2b2efa8573953077dd7d8.jpg","text":"TemporaryFile(/tmp/multipartBody3579408315985092502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585034044,"filename":"image_22012025_17_39_34_5265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689385","file1":"1330689371","file0":"1330689367","file4":"1330689402","file5":"1330689409","file3":"1330689394"},"map_files_photo_id_array":[{"photo_id":"1330689409","filename":"file5"},{"photo_id":"1330689385","filename":"file2"},{"photo_id":"1330689402","filename":"file4"},{"photo_id":"1330689371","filename":"file1"},{"photo_id":"1330689367","filename":"file0"},{"photo_id":"1330689394","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689409":["hashtag1","hashtag2"]},{"1330689402":["hashtag1","hashtag2"]},{"1330689371":["hashtag1","hashtag2"]},{"1330689394":["hashtag1","hashtag2"]},{"1330689385":["hashtag1","hashtag2"]},{"1330689367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689409, 1330689402, 1330689371, 1330689394, 1330689385, 1330689367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.54220128059387 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:30:22.765357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/38/image_22012025_17_38_59_6513.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_17_6192.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_11_4746.jpg', '/media/data/images/22012025/17/38/image_22012025_17_38_06_6430.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_59_6558.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_17_6954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/38/image_22012025_17_38_59_6513.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_17_6192.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_11_4746.jpg
/media/data/images/22012025/17/38/image_22012025_17_38_06_6430.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_59_6558.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_17_6954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689474","1330689468","1330689561","1330689462","1330689603","1330689454"],"photo_ids_order":["1330689454","1330689462","1330689468","1330689474","1330689561","1330689603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7b53753d001cceecf817f25c6cb28809.jpg","text":"TemporaryFile(/tmp/multipartBody7303786474936576446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_38_06_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/22/974ca0fdf544e048533849a5427b34ca.jpg","text":"TemporaryFile(/tmp/multipartBody8113707950382363758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_38_11_4746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8ba841233d921a5a1e5eacf19e482deb.jpg","text":"TemporaryFile(/tmp/multipartBody7107917560427858597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_37_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/22/c02146ec622cfcf962285e9fa49792fa.jpg","text":"TemporaryFile(/tmp/multipartBody3984310601420646433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_38_17_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/22/c940a3a2bb914a493c9dd5184e033e23.jpg","text":"TemporaryFile(/tmp/multipartBody6886120053420087884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_37_17_6954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ef8bf794ee5b8febecf17799626205f1.jpg","text":"TemporaryFile(/tmp/multipartBody5906317977720591365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585095561,"filename":"image_22012025_17_38_59_6513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689468","file1":"1330689462","file0":"1330689454","file4":"1330689561","file5":"1330689603","file3":"1330689474"},"map_files_photo_id_array":[{"photo_id":"1330689603","filename":"file5"},{"photo_id":"1330689468","filename":"file2"},{"photo_id":"1330689561","filename":"file4"},{"photo_id":"1330689462","filename":"file1"},{"photo_id":"1330689454","filename":"file0"},{"photo_id":"1330689474","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689474":["hashtag1","hashtag2"]},{"1330689468":["hashtag1","hashtag2"]},{"1330689561":["hashtag1","hashtag2"]},{"1330689462":["hashtag1","hashtag2"]},{"1330689603":["hashtag1","hashtag2"]},{"1330689454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689474, 1330689468, 1330689561, 1330689462, 1330689603, 1330689454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.945181369781494 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:31:21.904825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/37/image_22012025_17_37_11_5067.jpg', '/media/data/images/22012025/17/37/image_22012025_17_37_06_6715.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_59_6244.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_16_4539.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_12_6908.jpg', '/media/data/images/22012025/17/36/image_22012025_17_36_05_6371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/37/image_22012025_17_37_11_5067.jpg
/media/data/images/22012025/17/37/image_22012025_17_37_06_6715.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_59_6244.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_16_4539.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_12_6908.jpg
/media/data/images/22012025/17/36/image_22012025_17_36_05_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1330689727","1330689749","1330689754","1330689757","1330689736","1330689739"],"photo_ids_order":["1330689727","1330689736","1330689739","1330689749","1330689754","1330689757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb589b60a94e0f3da7f7d451d3c254fd.jpg","text":"TemporaryFile(/tmp/multipartBody7683302969684581717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_37_11_5067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7f7317a48c65e1028861fc3aab82e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody1135714316557197308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_36_16_4539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f05c2027f88ba8b648b4ad253713700c.jpg","text":"TemporaryFile(/tmp/multipartBody241336754391544209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_36_12_6908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a6bf566dd354b845f62054afd842bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8578401867365439978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_36_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/22/5d2eeb8326b0b2869617af6f87b742e7.jpg","text":"TemporaryFile(/tmp/multipartBody3470514115768157336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_37_06_6715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1590ee67cf0bf326283a7877ddbe35d.jpg","text":"TemporaryFile(/tmp/multipartBody4943999194973439762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585150952,"filename":"image_22012025_17_36_59_6244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689739","file1":"1330689736","file0":"1330689727","file4":"1330689754","file5":"1330689757","file3":"1330689749"},"map_files_photo_id_array":[{"photo_id":"1330689757","filename":"file5"},{"photo_id":"1330689739","filename":"file2"},{"photo_id":"1330689754","filename":"file4"},{"photo_id":"1330689736","filename":"file1"},{"photo_id":"1330689727","filename":"file0"},{"photo_id":"1330689749","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689727":["hashtag1","hashtag2"]},{"1330689749":["hashtag1","hashtag2"]},{"1330689754":["hashtag1","hashtag2"]},{"1330689757":["hashtag1","hashtag2"]},{"1330689736":["hashtag1","hashtag2"]},{"1330689739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689727, 1330689749, 1330689754, 1330689757, 1330689736, 1330689739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.557340145111084 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:32:22.028491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/35/image_22012025_17_35_59_5250.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_17_5825.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_11_6388.jpg', '/media/data/images/22012025/17/35/image_22012025_17_35_05_5974.jpg', '/media/data/images/22012025/17/34/image_22012025_17_34_48_7069.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_59_6542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/35/image_22012025_17_35_59_5250.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_17_5825.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_11_6388.jpg
/media/data/images/22012025/17/35/image_22012025_17_35_05_5974.jpg
/media/data/images/22012025/17/34/image_22012025_17_34_48_7069.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_59_6542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689805","1330689837","1330689807","1330689810","1330689803","1330689829"],"photo_ids_order":["1330689803","1330689805","1330689807","1330689810","1330689829","1330689837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/675fc7bf382a90ce2d9ddb2e3b5b4dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1634429656208922811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_35_17_5825.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d35d177da472b2c2442b46a77ffbd67.jpg","text":"TemporaryFile(/tmp/multipartBody2524076771790419944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_23_59_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/22/d41e055ee198f1453cdffe902097b288.jpg","text":"TemporaryFile(/tmp/multipartBody9159201278126962144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_35_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/22/e2d245d4043285b18f5039221d3d398a.jpg","text":"TemporaryFile(/tmp/multipartBody8423464323828602527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_35_05_5974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6cabce7124348f7b5d0822c1a58df626.jpg","text":"TemporaryFile(/tmp/multipartBody3557568217931889758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_35_59_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/22/b57b0a2d1eb39e5023d227474020d371.jpg","text":"TemporaryFile(/tmp/multipartBody1946457641235835696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585216039,"filename":"image_22012025_17_34_48_7069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689807","file1":"1330689805","file0":"1330689803","file4":"1330689829","file5":"1330689837","file3":"1330689810"},"map_files_photo_id_array":[{"photo_id":"1330689837","filename":"file5"},{"photo_id":"1330689807","filename":"file2"},{"photo_id":"1330689829","filename":"file4"},{"photo_id":"1330689805","filename":"file1"},{"photo_id":"1330689803","filename":"file0"},{"photo_id":"1330689810","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689805":["hashtag1","hashtag2"]},{"1330689837":["hashtag1","hashtag2"]},{"1330689807":["hashtag1","hashtag2"]},{"1330689810":["hashtag1","hashtag2"]},{"1330689803":["hashtag1","hashtag2"]},{"1330689829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689805, 1330689837, 1330689807, 1330689810, 1330689803, 1330689829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.57681584358215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:33:22.194566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/23/image_22012025_17_23_17_5579.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_12_5996.jpg', '/media/data/images/22012025/17/23/image_22012025_17_23_06_7148.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_59_5306.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_18_6790.jpg', '/media/data/images/22012025/17/22/image_22012025_17_22_11_4620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/23/image_22012025_17_23_17_5579.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_12_5996.jpg
/media/data/images/22012025/17/23/image_22012025_17_23_06_7148.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_59_5306.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_18_6790.jpg
/media/data/images/22012025/17/22/image_22012025_17_22_11_4620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689888","1330689879","1330689890","1330689884","1330689881","1330689877"],"photo_ids_order":["1330689877","1330689879","1330689881","1330689884","1330689888","1330689890"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8c2834d3e3e3a4a314089c9b0206f387.jpg","text":"TemporaryFile(/tmp/multipartBody6826182285074671470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_22_18_6790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5beae1d9bc156ca5606dab1f4eddca6a.jpg","text":"TemporaryFile(/tmp/multipartBody28264868437981198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_23_12_5996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1c65d2e839c34d1546fd60a2ff17a184.jpg","text":"TemporaryFile(/tmp/multipartBody1802906124546869654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_22_11_4620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/005ed7e25b3a83509f68faeca15ca4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6022412332493393296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_22_59_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/22/b0ed84a70a99f340563d206bdebbe968.jpg","text":"TemporaryFile(/tmp/multipartBody7114613151804346793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_23_06_7148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/558ceaa9edc33dfb40575d92530e6c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6802690407445735717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585273655,"filename":"image_22012025_17_23_17_5579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689881","file1":"1330689879","file0":"1330689877","file4":"1330689888","file5":"1330689890","file3":"1330689884"},"map_files_photo_id_array":[{"photo_id":"1330689890","filename":"file5"},{"photo_id":"1330689881","filename":"file2"},{"photo_id":"1330689888","filename":"file4"},{"photo_id":"1330689879","filename":"file1"},{"photo_id":"1330689877","filename":"file0"},{"photo_id":"1330689884","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689888":["hashtag1","hashtag2"]},{"1330689879":["hashtag1","hashtag2"]},{"1330689890":["hashtag1","hashtag2"]},{"1330689884":["hashtag1","hashtag2"]},{"1330689881":["hashtag1","hashtag2"]},{"1330689877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689888, 1330689879, 1330689890, 1330689884, 1330689881, 1330689877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.971426248550415 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:34:22.333382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/22/image_22012025_17_22_06_6515.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_59_6467.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_16_4719.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_12_6302.jpg', '/media/data/images/22012025/17/21/image_22012025_17_21_06_6763.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_59_4593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/22/image_22012025_17_22_06_6515.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_59_6467.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_16_4719.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_12_6302.jpg
/media/data/images/22012025/17/21/image_22012025_17_21_06_6763.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_59_4593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689936","1330689945","1330689930","1330689938","1330689923","1330689940"],"photo_ids_order":["1330689923","1330689930","1330689936","1330689938","1330689940","1330689945"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/28f3398e862a8c2fa89870b4e7c7831a.jpg","text":"TemporaryFile(/tmp/multipartBody6206246240505925548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_21_16_4719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/71feffd68f57f6b597abb9e5d448ec85.jpg","text":"TemporaryFile(/tmp/multipartBody2068426324210836927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_20_59_4593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/480cabc8027adabaa448941a49b011b7.jpg","text":"TemporaryFile(/tmp/multipartBody6057889452214797923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_21_59_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/22/a1a377416da6835f9b214e57c5aca9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4642302514714311869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_21_12_6302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b8c524820b4a4ccabd18b08afff7d481.jpg","text":"TemporaryFile(/tmp/multipartBody3253552038735195206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_22_06_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/22/373a49c4dd7498645a367b1b4af655e2.jpg","text":"TemporaryFile(/tmp/multipartBody5512095888264332600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585331723,"filename":"image_22012025_17_21_06_6763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689936","file1":"1330689930","file0":"1330689923","file4":"1330689940","file5":"1330689945","file3":"1330689938"},"map_files_photo_id_array":[{"photo_id":"1330689945","filename":"file5"},{"photo_id":"1330689936","filename":"file2"},{"photo_id":"1330689940","filename":"file4"},{"photo_id":"1330689930","filename":"file1"},{"photo_id":"1330689923","filename":"file0"},{"photo_id":"1330689938","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689936":["hashtag1","hashtag2"]},{"1330689945":["hashtag1","hashtag2"]},{"1330689930":["hashtag1","hashtag2"]},{"1330689938":["hashtag1","hashtag2"]},{"1330689923":["hashtag1","hashtag2"]},{"1330689940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689936, 1330689945, 1330689930, 1330689938, 1330689923, 1330689940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97571277618408 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:35:22.496233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/20/image_22012025_17_20_16_4639.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_12_6874.jpg', '/media/data/images/22012025/17/20/image_22012025_17_20_05_5657.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_59_6357.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_17_5724.jpg', '/media/data/images/22012025/17/19/image_22012025_17_19_11_6045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/20/image_22012025_17_20_16_4639.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_12_6874.jpg
/media/data/images/22012025/17/20/image_22012025_17_20_05_5657.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_59_6357.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_17_5724.jpg
/media/data/images/22012025/17/19/image_22012025_17_19_11_6045.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330689993","1330689987","1330690024","1330689998","1330689995","1330690028"],"photo_ids_order":["1330689987","1330689993","1330689995","1330689998","1330690024","1330690028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6e76f28e10381629f60e7a2d98031857.jpg","text":"TemporaryFile(/tmp/multipartBody6188122728338353589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_20_12_6874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/669464eb7ab1b9cfaaddadb19c87f615.jpg","text":"TemporaryFile(/tmp/multipartBody8940361448504099142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_20_16_4639.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/44b3c72e8c75f519c0c4f47d3e34cba7.jpg","text":"TemporaryFile(/tmp/multipartBody6615040149623759849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_19_17_5724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/337a7a4c64f0bb902f3bb46b3cd7818e.jpg","text":"TemporaryFile(/tmp/multipartBody7499403350341339288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_19_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/22/68d216abc209651e03ad4747c996dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5757459308205559996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_20_05_5657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/477479f38c92eade71ef9d76f98285f3.jpg","text":"TemporaryFile(/tmp/multipartBody5344208811235618237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585393041,"filename":"image_22012025_17_19_11_6045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330689995","file1":"1330689993","file0":"1330689987","file4":"1330690024","file5":"1330690028","file3":"1330689998"},"map_files_photo_id_array":[{"photo_id":"1330690028","filename":"file5"},{"photo_id":"1330689995","filename":"file2"},{"photo_id":"1330690024","filename":"file4"},{"photo_id":"1330689993","filename":"file1"},{"photo_id":"1330689987","filename":"file0"},{"photo_id":"1330689998","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330689993":["hashtag1","hashtag2"]},{"1330689987":["hashtag1","hashtag2"]},{"1330690024":["hashtag1","hashtag2"]},{"1330689998":["hashtag1","hashtag2"]},{"1330689995":["hashtag1","hashtag2"]},{"1330690028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330689993, 1330689987, 1330690024, 1330689998, 1330689995, 1330690028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.656906843185425 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:36:22.630070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/19/image_22012025_17_19_05_5684.jpg', '/media/data/images/22012025/17/18/image_22012025_17_19_00_6229.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_17_6245.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_11_5002.jpg', '/media/data/images/22012025/17/18/image_22012025_17_18_06_7074.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_58_5124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/19/image_22012025_17_19_05_5684.jpg
/media/data/images/22012025/17/18/image_22012025_17_19_00_6229.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_17_6245.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_11_5002.jpg
/media/data/images/22012025/17/18/image_22012025_17_18_06_7074.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_58_5124.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330690059","1330690073","1330690052","1330690093","1330690081","1330690090"],"photo_ids_order":["1330690052","1330690059","1330690073","1330690081","1330690090","1330690093"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c4c4983d2c972142471d01db2f94074c.jpg","text":"TemporaryFile(/tmp/multipartBody6054657457876082121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_19_00_6229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b6ddd3a3168e7d9171030d45dd857d47.jpg","text":"TemporaryFile(/tmp/multipartBody7450785993266990729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_18_17_6245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a05d171655a5c47bd4dcb1bea64e4dd2.jpg","text":"TemporaryFile(/tmp/multipartBody2585063719108419219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_19_05_5684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/260fdd37d61e4ccd829612f4a26d64c0.jpg","text":"TemporaryFile(/tmp/multipartBody2908812763889891577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_17_58_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/22/144f993ef790de740f7c9fd5dd242477.jpg","text":"TemporaryFile(/tmp/multipartBody822478635778887457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_18_11_5002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4d235bf24bc0216ce3cf6c6615f712de.jpg","text":"TemporaryFile(/tmp/multipartBody5891992249670322349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585453549,"filename":"image_22012025_17_18_06_7074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330690073","file1":"1330690059","file0":"1330690052","file4":"1330690090","file5":"1330690093","file3":"1330690081"},"map_files_photo_id_array":[{"photo_id":"1330690093","filename":"file5"},{"photo_id":"1330690073","filename":"file2"},{"photo_id":"1330690090","filename":"file4"},{"photo_id":"1330690059","filename":"file1"},{"photo_id":"1330690052","filename":"file0"},{"photo_id":"1330690081","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330690059":["hashtag1","hashtag2"]},{"1330690073":["hashtag1","hashtag2"]},{"1330690052":["hashtag1","hashtag2"]},{"1330690093":["hashtag1","hashtag2"]},{"1330690081":["hashtag1","hashtag2"]},{"1330690090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330690059, 1330690073, 1330690052, 1330690093, 1330690081, 1330690090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97555136680603 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:37:22.752600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/17/image_22012025_17_17_16_5270.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_11_5856.jpg', '/media/data/images/22012025/17/17/image_22012025_17_17_05_6818.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_58_5306.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_17_6236.jpg', '/media/data/images/22012025/17/16/image_22012025_17_16_11_6470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/17/image_22012025_17_17_16_5270.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_11_5856.jpg
/media/data/images/22012025/17/17/image_22012025_17_17_05_6818.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_58_5306.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_17_6236.jpg
/media/data/images/22012025/17/16/image_22012025_17_16_11_6470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330690140","1330690137","1330690131","1330690586","1330690134","1330690276"],"photo_ids_order":["1330690131","1330690134","1330690137","1330690140","1330690276","1330690586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/561a2cf82e65f3581d3bf0e6b10d06d9.jpg","text":"TemporaryFile(/tmp/multipartBody7278313499897833156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_16_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/22/d474cb60f45bab3e6e28e00893cecff3.jpg","text":"TemporaryFile(/tmp/multipartBody373442146540527117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_17_05_6818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/97b4df87fcc98748f0668a8e1802ded9.jpg","text":"TemporaryFile(/tmp/multipartBody1723861394335313744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_17_16_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/22/c013fb4ecf78e737bf518635bcb65d12.jpg","text":"TemporaryFile(/tmp/multipartBody1559856491628902272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_16_11_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/22/63d2ee35936cd986e47401c6b40bed91.jpg","text":"TemporaryFile(/tmp/multipartBody5500022031861441179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_17_11_5856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/5ebcfddcb4fe46bab257cd6c16d53c33.jpg","text":"TemporaryFile(/tmp/multipartBody1465793427339061730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585511760,"filename":"image_22012025_17_16_17_6236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330690137","file1":"1330690134","file0":"1330690131","file4":"1330690276","file5":"1330690586","file3":"1330690140"},"map_files_photo_id_array":[{"photo_id":"1330690586","filename":"file5"},{"photo_id":"1330690137","filename":"file2"},{"photo_id":"1330690276","filename":"file4"},{"photo_id":"1330690134","filename":"file1"},{"photo_id":"1330690131","filename":"file0"},{"photo_id":"1330690140","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330690140":["hashtag1","hashtag2"]},{"1330690137":["hashtag1","hashtag2"]},{"1330690131":["hashtag1","hashtag2"]},{"1330690586":["hashtag1","hashtag2"]},{"1330690134":["hashtag1","hashtag2"]},{"1330690276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330690140, 1330690137, 1330690131, 1330690586, 1330690134, 1330690276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50611901283264 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:38:21.897655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/16/image_22012025_17_16_05_6170.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_58_5250.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_17_5510.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_11_5967.jpg', '/media/data/images/22012025/17/15/image_22012025_17_15_05_5991.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_59_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/16/image_22012025_17_16_05_6170.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_58_5250.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_17_5510.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_11_5967.jpg
/media/data/images/22012025/17/15/image_22012025_17_15_05_5991.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_59_6551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330691271","1330691247","1330691223","1330691242","1330691221","1330691230"],"photo_ids_order":["1330691221","1330691223","1330691230","1330691242","1330691247","1330691271"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/75d66d86cde9eecd846acf661c71424a.jpg","text":"TemporaryFile(/tmp/multipartBody5189826495247210220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_14_59_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/22/b6b9fffe64612ab933296798d4627a26.jpg","text":"TemporaryFile(/tmp/multipartBody4892802804878290296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_15_05_5991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c29e855e16cafcf0f7a2b0dc68b524aa.jpg","text":"TemporaryFile(/tmp/multipartBody8107826703764685755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_15_58_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/22/b8f218123e91e544c566baf89687f288.jpg","text":"TemporaryFile(/tmp/multipartBody7197663796878741603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_15_11_5967.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ade9815ff8b5f9d76c8e744126cd34c1.jpg","text":"TemporaryFile(/tmp/multipartBody5767776932324215211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_16_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/22/671b0d15893a8f64031d268b0991e851.jpg","text":"TemporaryFile(/tmp/multipartBody7761922835484385543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585569753,"filename":"image_22012025_17_15_17_5510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330691230","file1":"1330691223","file0":"1330691221","file4":"1330691247","file5":"1330691271","file3":"1330691242"},"map_files_photo_id_array":[{"photo_id":"1330691271","filename":"file5"},{"photo_id":"1330691230","filename":"file2"},{"photo_id":"1330691247","filename":"file4"},{"photo_id":"1330691223","filename":"file1"},{"photo_id":"1330691221","filename":"file0"},{"photo_id":"1330691242","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330691271":["hashtag1","hashtag2"]},{"1330691247":["hashtag1","hashtag2"]},{"1330691223":["hashtag1","hashtag2"]},{"1330691242":["hashtag1","hashtag2"]},{"1330691221":["hashtag1","hashtag2"]},{"1330691230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330691271, 1330691247, 1330691223, 1330691242, 1330691221, 1330691230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71225905418396 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:39:22.069431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/14/image_22012025_17_14_17_6369.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_11_6244.jpg', '/media/data/images/22012025/17/14/image_22012025_17_14_05_5969.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_59_5087.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_17_5374.jpg', '/media/data/images/22012025/17/13/image_22012025_17_13_11_5904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/14/image_22012025_17_14_17_6369.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_11_6244.jpg
/media/data/images/22012025/17/14/image_22012025_17_14_05_5969.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_59_5087.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_17_5374.jpg
/media/data/images/22012025/17/13/image_22012025_17_13_11_5904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330691419","1330691463","1330691439","1330691387","1330691450","1330691432"],"photo_ids_order":["1330691387","1330691419","1330691432","1330691439","1330691450","1330691463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ab5cf6c564cb03fc1def6565718059f.jpg","text":"TemporaryFile(/tmp/multipartBody4450808890693541706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_14_11_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/22/04b118677194e06df023c6a9f78024af.jpg","text":"TemporaryFile(/tmp/multipartBody3386145859640620631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_13_11_5904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/6014c85e5bd362307287f29bca66fc04.jpg","text":"TemporaryFile(/tmp/multipartBody2334825882320239210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_13_59_5087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4092724bc0b8df81a9d438c01af5beec.jpg","text":"TemporaryFile(/tmp/multipartBody5264524231967227367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_14_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/22/0ebf36e653256163cc8ba423cfae82ed.jpg","text":"TemporaryFile(/tmp/multipartBody3857902468209657466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_13_17_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/22/442ffcd89396e46d41f6a48a2c42df03.jpg","text":"TemporaryFile(/tmp/multipartBody5184684885608632511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585633961,"filename":"image_22012025_17_14_05_5969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330691432","file1":"1330691419","file0":"1330691387","file4":"1330691450","file5":"1330691463","file3":"1330691439"},"map_files_photo_id_array":[{"photo_id":"1330691463","filename":"file5"},{"photo_id":"1330691432","filename":"file2"},{"photo_id":"1330691450","filename":"file4"},{"photo_id":"1330691419","filename":"file1"},{"photo_id":"1330691387","filename":"file0"},{"photo_id":"1330691439","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330691419":["hashtag1","hashtag2"]},{"1330691463":["hashtag1","hashtag2"]},{"1330691439":["hashtag1","hashtag2"]},{"1330691387":["hashtag1","hashtag2"]},{"1330691450":["hashtag1","hashtag2"]},{"1330691432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330691419, 1330691463, 1330691439, 1330691387, 1330691450, 1330691432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.249836683273315 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:40:22.188771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/13/image_22012025_17_13_05_5716.jpg', '/media/data/images/22012025/17/12/image_22012025_17_13_00_6479.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_18_6874.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_11_5020.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_06_7009.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_59_5288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/13/image_22012025_17_13_05_5716.jpg
/media/data/images/22012025/17/12/image_22012025_17_13_00_6479.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_18_6874.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_11_5020.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_06_7009.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_59_5288.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 18.837039947509766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:40:42.187579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/13/image_22012025_17_13_05_5716.jpg', '/media/data/images/22012025/17/12/image_22012025_17_13_00_6479.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_18_6874.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_11_5020.jpg', '/media/data/images/22012025/17/12/image_22012025_17_12_06_7009.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_59_5288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/13/image_22012025_17_13_05_5716.jpg
/media/data/images/22012025/17/12/image_22012025_17_13_00_6479.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_18_6874.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_11_5020.jpg
/media/data/images/22012025/17/12/image_22012025_17_12_06_7009.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_59_5288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330692210","1330692185","1330692204","1330692218","1330692215","1330692166"],"photo_ids_order":["1330692166","1330692185","1330692204","1330692210","1330692215","1330692218"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/4b1dcac6551c684db436e4e8a4f29ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5322221124478016363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_12_11_5020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ed705fa29d7ed82908bb415e694445bd.jpg","text":"TemporaryFile(/tmp/multipartBody7608183679539815353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_13_00_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/22/4348f861a6677b1b190ec1825677ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody2132573041442124158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_12_18_6874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7d25127d9e60844e1c42a19a1a2daa71.jpg","text":"TemporaryFile(/tmp/multipartBody7487532580541495245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_11_59_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/22/d0a59fefc8aa10e6b3fa61feb40c5e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3359288522527859843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_12_06_7009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/fdfa6c13642958e52a2718daf398e02e.jpg","text":"TemporaryFile(/tmp/multipartBody2195426251823009978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585713509,"filename":"image_22012025_17_13_05_5716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692204","file1":"1330692185","file0":"1330692166","file4":"1330692215","file5":"1330692218","file3":"1330692210"},"map_files_photo_id_array":[{"photo_id":"1330692218","filename":"file5"},{"photo_id":"1330692204","filename":"file2"},{"photo_id":"1330692215","filename":"file4"},{"photo_id":"1330692185","filename":"file1"},{"photo_id":"1330692166","filename":"file0"},{"photo_id":"1330692210","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692210":["hashtag1","hashtag2"]},{"1330692185":["hashtag1","hashtag2"]},{"1330692204":["hashtag1","hashtag2"]},{"1330692218":["hashtag1","hashtag2"]},{"1330692215":["hashtag1","hashtag2"]},{"1330692166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692210, 1330692185, 1330692204, 1330692218, 1330692215, 1330692166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.6714985370636 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:41:42.361918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/11/image_22012025_17_11_53_6528.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_47_6528.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_40_5299.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_35_6516.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_29_6007.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_23_5802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/11/image_22012025_17_11_53_6528.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_47_6528.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_40_5299.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_35_6516.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_29_6007.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_23_5802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330692270","1330692249","1330692275","1330692265","1330692256","1330692261"],"photo_ids_order":["1330692249","1330692256","1330692261","1330692265","1330692270","1330692275"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/375bf5501c050b0c5a15bc354bbaa6ed.jpg","text":"TemporaryFile(/tmp/multipartBody2762758200406635098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_29_6007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/67a23b345f9e677b0e42177b137c9855.jpg","text":"TemporaryFile(/tmp/multipartBody3245798631333196861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_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/22/20bda508e347aa7b5d2660008e283fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8452538675034151597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_23_5802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ff7f5c373056a6376194699bd550c18a.jpg","text":"TemporaryFile(/tmp/multipartBody7462673614924933825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_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/22/668098965cbbf08d0c8742a3a9437b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1298632539323730831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_47_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/22/6b7e14ab1e7f7c37ab8b0240b7fe5012.jpg","text":"TemporaryFile(/tmp/multipartBody8357122337327722219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585771014,"filename":"image_22012025_17_11_40_5299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692261","file1":"1330692256","file0":"1330692249","file4":"1330692270","file5":"1330692275","file3":"1330692265"},"map_files_photo_id_array":[{"photo_id":"1330692275","filename":"file5"},{"photo_id":"1330692261","filename":"file2"},{"photo_id":"1330692270","filename":"file4"},{"photo_id":"1330692256","filename":"file1"},{"photo_id":"1330692249","filename":"file0"},{"photo_id":"1330692265","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692270":["hashtag1","hashtag2"]},{"1330692249":["hashtag1","hashtag2"]},{"1330692275":["hashtag1","hashtag2"]},{"1330692265":["hashtag1","hashtag2"]},{"1330692256":["hashtag1","hashtag2"]},{"1330692261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692270, 1330692249, 1330692275, 1330692265, 1330692256, 1330692261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.782405614852905 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:42:42.505924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/11/image_22012025_17_11_17_6224.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_11_5508.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_05_6034.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_59_6537.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_17_4900.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_12_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/11/image_22012025_17_11_17_6224.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_11_5508.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_05_6034.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_59_6537.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_17_4900.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_12_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: 14.27098035812378 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-22 23:43:02.783628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/39/image_22012025_07_39_05_5880.jpg', '/media/data/images/22012025/07/39/image_22012025_07_39_11_5889.jpg', '/media/data/images/22012025/07/41/image_22012025_07_41_59_6680.jpg', '/media/data/images/22012025/07/45/image_22012025_07_45_29_6659.jpg', '/media/data/images/22012025/07/45/image_22012025_07_45_35_5410.jpg', '/media/data/images/22012025/07/45/image_22012025_07_45_59_6684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/39/image_22012025_07_39_05_5880.jpg
/media/data/images/22012025/07/39/image_22012025_07_39_11_5889.jpg
/media/data/images/22012025/07/41/image_22012025_07_41_59_6680.jpg
/media/data/images/22012025/07/45/image_22012025_07_45_29_6659.jpg
/media/data/images/22012025/07/45/image_22012025_07_45_35_5410.jpg
/media/data/images/22012025/07/45/image_22012025_07_45_59_6684.jpg
2025-01-22 23:43:03.031216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/11/image_22012025_17_11_17_6224.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_11_5508.jpg', '/media/data/images/22012025/17/11/image_22012025_17_11_05_6034.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_59_6537.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_17_4900.jpg', '/media/data/images/22012025/17/10/image_22012025_17_10_12_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/11/image_22012025_17_11_17_6224.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_11_5508.jpg
/media/data/images/22012025/17/11/image_22012025_17_11_05_6034.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_59_6537.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_17_4900.jpg
/media/data/images/22012025/17/10/image_22012025_17_10_12_6554.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":["1330692371","1330692374","1330692368","1330692376","1330692370","1330692381"],"photo_ids_order":["1330692368","1330692370","1330692371","1330692374","1330692376","1330692381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d47e1fdb242474e840d3903b7f2ee53f.jpg","text":"TemporaryFile(/tmp/multipartBody8556795603129504858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_11_05_6034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d95903fc5b5d66bd1f076cf392f39111.jpg","text":"TemporaryFile(/tmp/multipartBody4283977043144904672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_10_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/22/7ef080bcc8eb763887a04c9d58d4d151.jpg","text":"TemporaryFile(/tmp/multipartBody2831605678867286305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_11_17_6224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c996b758761d714a11d83f14f683ac51.jpg","text":"TemporaryFile(/tmp/multipartBody8671525887446303652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_10_17_4900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/57e698215f07cf4f6ceeea43ae756cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7888621914584842449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_11_11_5508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/38b5f19a8c80092209e97f965cffbf6c.jpg","text":"TemporaryFile(/tmp/multipartBody6270097408514957777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585865734,"filename":"image_22012025_17_10_12_6554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692371","file1":"1330692370","file0":"1330692368","file4":"1330692376","file5":"1330692381","file3":"1330692374"},"map_files_photo_id_array":[{"photo_id":"1330692381","filename":"file5"},{"photo_id":"1330692371","filename":"file2"},{"photo_id":"1330692376","filename":"file4"},{"photo_id":"1330692370","filename":"file1"},{"photo_id":"1330692368","filename":"file0"},{"photo_id":"1330692374","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692371":["hashtag1","hashtag2"]},{"1330692374":["hashtag1","hashtag2"]},{"1330692368":["hashtag1","hashtag2"]},{"1330692376":["hashtag1","hashtag2"]},{"1330692370":["hashtag1","hashtag2"]},{"1330692381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692371, 1330692374, 1330692368, 1330692376, 1330692370, 1330692381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.572519063949585 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330692378","1330692386","1330692382","1330692373","1330692399","1330692387"],"photo_ids_order":["1330692373","1330692378","1330692382","1330692386","1330692387","1330692399"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/109b546682ae42d777470a973ae96200.jpg","text":"TemporaryFile(/tmp/multipartBody4832270224419833140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_39_11_5889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/24c26e4812a9c3cce43a37e14083a04f.jpg","text":"TemporaryFile(/tmp/multipartBody1515393108512014449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_45_29_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0ae8ad35f201976ba5fd8d1ecfa40957.jpg","text":"TemporaryFile(/tmp/multipartBody1163914741683752839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_41_59_6680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e576dda0b9ba6b85454c0ef324c698d9.jpg","text":"TemporaryFile(/tmp/multipartBody1144982328121903057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_39_05_5880.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/ce5c0756a3356584e3d88daaa77fc6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6332106047853990043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_45_59_6684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0f7c60fc0fa9f937989893b5b2c2b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6664631630678113670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585878753,"filename":"image_22012025_07_45_35_5410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692382","file1":"1330692378","file0":"1330692373","file4":"1330692387","file5":"1330692399","file3":"1330692386"},"map_files_photo_id_array":[{"photo_id":"1330692399","filename":"file5"},{"photo_id":"1330692382","filename":"file2"},{"photo_id":"1330692387","filename":"file4"},{"photo_id":"1330692378","filename":"file1"},{"photo_id":"1330692373","filename":"file0"},{"photo_id":"1330692386","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692378":["hashtag1","hashtag2"]},{"1330692386":["hashtag1","hashtag2"]},{"1330692382":["hashtag1","hashtag2"]},{"1330692373":["hashtag1","hashtag2"]},{"1330692399":["hashtag1","hashtag2"]},{"1330692387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692378, 1330692386, 1330692382, 1330692373, 1330692399, 1330692387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.52418065071106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:44:21.795089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/10/image_22012025_17_10_06_5198.jpg', '/media/data/images/22012025/17/09/image_22012025_17_10_00_6370.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_16_5803.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_11_6199.jpg', '/media/data/images/22012025/17/09/image_22012025_17_09_05_5805.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_59_4659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/10/image_22012025_17_10_06_5198.jpg
/media/data/images/22012025/17/09/image_22012025_17_10_00_6370.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_16_5803.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_11_6199.jpg
/media/data/images/22012025/17/09/image_22012025_17_09_05_5805.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_59_4659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330692420","1330692431","1330692422","1330692419","1330692424","1330692427"],"photo_ids_order":["1330692419","1330692420","1330692422","1330692424","1330692427","1330692431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3a8d40b65ce78a272fcc0ec13fea6072.jpg","text":"TemporaryFile(/tmp/multipartBody3129743687607787677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_10_00_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/22/4564f35a9d2fac01bbd8c0477d407d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1099048195227318694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_08_59_4659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/af566d8e8a619e245f5fd0057d580477.jpg","text":"TemporaryFile(/tmp/multipartBody5797387661856306934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_09_16_5803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b129566fb6cd940380a9ae646b371ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4514550155498705528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_10_06_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/22/9a4017ab168d88f91815892d841eea90.jpg","text":"TemporaryFile(/tmp/multipartBody2886078195404277027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_09_11_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/22/e4bc0042517c66af1669f544c7baeb52.jpg","text":"TemporaryFile(/tmp/multipartBody6204811887694388394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585929275,"filename":"image_22012025_17_09_05_5805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692422","file1":"1330692420","file0":"1330692419","file4":"1330692427","file5":"1330692431","file3":"1330692424"},"map_files_photo_id_array":[{"photo_id":"1330692431","filename":"file5"},{"photo_id":"1330692422","filename":"file2"},{"photo_id":"1330692427","filename":"file4"},{"photo_id":"1330692420","filename":"file1"},{"photo_id":"1330692419","filename":"file0"},{"photo_id":"1330692424","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692420":["hashtag1","hashtag2"]},{"1330692431":["hashtag1","hashtag2"]},{"1330692422":["hashtag1","hashtag2"]},{"1330692419":["hashtag1","hashtag2"]},{"1330692424":["hashtag1","hashtag2"]},{"1330692427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692420, 1330692431, 1330692422, 1330692419, 1330692424, 1330692427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58417582511902 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:45:21.924920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/08/image_22012025_17_08_17_5882.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_12_6254.jpg', '/media/data/images/22012025/17/08/image_22012025_17_08_05_6235.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_59_5456.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_17_6458.jpg', '/media/data/images/22012025/17/07/image_22012025_17_07_10_5788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/08/image_22012025_17_08_17_5882.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_12_6254.jpg
/media/data/images/22012025/17/08/image_22012025_17_08_05_6235.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_59_5456.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_17_6458.jpg
/media/data/images/22012025/17/07/image_22012025_17_07_10_5788.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":["1330692609","1330692537","1330692606","1330692551","1330692548","1330692588"],"photo_ids_order":["1330692537","1330692548","1330692551","1330692588","1330692606","1330692609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9f4b9e58034f9b29110432a1293dbb80.jpg","text":"TemporaryFile(/tmp/multipartBody8313517657384433599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_07_10_5788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/7e8558419c196e2fdf4c43e4d685c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody8424914588676179585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_08_17_5882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/60a337cd1138ec66396b438d0aeec0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4611474155727823530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_07_17_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/22/c1bb71a03c4412ae7492b12cc2161f0b.jpg","text":"TemporaryFile(/tmp/multipartBody1043423438982353773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_08_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/22/e655d57f31b1345c16a3b122c1e0c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4231243469109927577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_08_12_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/22/e792feff6ff85385ec514d0b67e7e548.jpg","text":"TemporaryFile(/tmp/multipartBody4822876432548298462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737585996068,"filename":"image_22012025_17_07_59_5456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692551","file1":"1330692548","file0":"1330692537","file4":"1330692606","file5":"1330692609","file3":"1330692588"},"map_files_photo_id_array":[{"photo_id":"1330692609","filename":"file5"},{"photo_id":"1330692551","filename":"file2"},{"photo_id":"1330692606","filename":"file4"},{"photo_id":"1330692548","filename":"file1"},{"photo_id":"1330692537","filename":"file0"},{"photo_id":"1330692588","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692609":["hashtag1","hashtag2"]},{"1330692537":["hashtag1","hashtag2"]},{"1330692606":["hashtag1","hashtag2"]},{"1330692551":["hashtag1","hashtag2"]},{"1330692548":["hashtag1","hashtag2"]},{"1330692588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692609, 1330692537, 1330692606, 1330692551, 1330692548, 1330692588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.56396055221558 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:46:42.069940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/07/image_22012025_17_07_05_5429.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_59_6713.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_17_5778.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_12_6661.jpg', '/media/data/images/22012025/17/06/image_22012025_17_06_05_5924.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_59_5626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/07/image_22012025_17_07_05_5429.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_59_6713.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_17_5778.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_12_6661.jpg
/media/data/images/22012025/17/06/image_22012025_17_06_05_5924.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_59_5626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330692774","1330692855","1330692815","1330692780","1330692762","1330692879"],"photo_ids_order":["1330692762","1330692774","1330692780","1330692815","1330692855","1330692879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0073c0f9eef299692bae8e6ddba0a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7108701866380029816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_06_59_6713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bd8a1bc6e202af60a6fa7e7d3f95c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody9030517641540387798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_06_05_5924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/0d2a20c159bf419aa2685e841ea068d4.jpg","text":"TemporaryFile(/tmp/multipartBody7597561244968518202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_06_12_6661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/20348d7e6cdb1bc7dd5346d9e64841bd.jpg","text":"TemporaryFile(/tmp/multipartBody5441266212339218263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_06_17_5778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/3b5d0c3114ca9f15a7746ed4e9abe3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8714900477481588519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_07_05_5429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b216057c95c376976341051250ac0052.jpg","text":"TemporaryFile(/tmp/multipartBody2429915383187743116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586075193,"filename":"image_22012025_17_05_59_5626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330692780","file1":"1330692774","file0":"1330692762","file4":"1330692855","file5":"1330692879","file3":"1330692815"},"map_files_photo_id_array":[{"photo_id":"1330692879","filename":"file5"},{"photo_id":"1330692780","filename":"file2"},{"photo_id":"1330692855","filename":"file4"},{"photo_id":"1330692774","filename":"file1"},{"photo_id":"1330692762","filename":"file0"},{"photo_id":"1330692815","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330692774":["hashtag1","hashtag2"]},{"1330692855":["hashtag1","hashtag2"]},{"1330692815":["hashtag1","hashtag2"]},{"1330692780":["hashtag1","hashtag2"]},{"1330692762":["hashtag1","hashtag2"]},{"1330692879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330692774, 1330692855, 1330692815, 1330692780, 1330692762, 1330692879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.246763944625854 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:47:42.222189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/05/image_22012025_17_05_18_6497.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_11_4820.jpg', '/media/data/images/22012025/17/05/image_22012025_17_05_06_6658.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_59_6558.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_52_5239.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_47_6503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/05/image_22012025_17_05_18_6497.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_11_4820.jpg
/media/data/images/22012025/17/05/image_22012025_17_05_06_6658.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_59_6558.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_52_5239.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_47_6503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693079","1330693070","1330693186","1330693150","1330693074","1330693065"],"photo_ids_order":["1330693065","1330693070","1330693074","1330693079","1330693150","1330693186"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8e1136a18d09b3339eca2322a63917ed.jpg","text":"TemporaryFile(/tmp/multipartBody7002987383461766475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_04_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/22/b67f3add4b8b6fe5a087a068125e1e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7647973802158863555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_05_11_4820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b815f65a449d665ee9ff6fbf33b8c6a7.jpg","text":"TemporaryFile(/tmp/multipartBody9117076487204857075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_04_47_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/22/8b1e1fedd9f62625cf5f904c0ddc8633.jpg","text":"TemporaryFile(/tmp/multipartBody3701376860161550437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_04_52_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/22/dddb548c9b437a8721d4de6a611f23a9.jpg","text":"TemporaryFile(/tmp/multipartBody6488485319644797872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_05_06_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/22/eb76eb6545946d04c188f4f717649672.jpg","text":"TemporaryFile(/tmp/multipartBody7533132315860179876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586137895,"filename":"image_22012025_17_05_18_6497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693074","file1":"1330693070","file0":"1330693065","file4":"1330693150","file5":"1330693186","file3":"1330693079"},"map_files_photo_id_array":[{"photo_id":"1330693186","filename":"file5"},{"photo_id":"1330693074","filename":"file2"},{"photo_id":"1330693150","filename":"file4"},{"photo_id":"1330693070","filename":"file1"},{"photo_id":"1330693065","filename":"file0"},{"photo_id":"1330693079","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693079":["hashtag1","hashtag2"]},{"1330693070":["hashtag1","hashtag2"]},{"1330693186":["hashtag1","hashtag2"]},{"1330693150":["hashtag1","hashtag2"]},{"1330693074":["hashtag1","hashtag2"]},{"1330693065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693079, 1330693070, 1330693186, 1330693150, 1330693074, 1330693065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.521209716796875 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:48:42.370667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/04/image_22012025_17_04_41_5228.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_35_6488.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_29_6630.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_23_4465.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_18_6707.jpg', '/media/data/images/22012025/17/04/image_22012025_17_04_12_6882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/04/image_22012025_17_04_41_5228.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_35_6488.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_29_6630.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_23_4465.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_18_6707.jpg
/media/data/images/22012025/17/04/image_22012025_17_04_12_6882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693280","1330693271","1330693285","1330693273","1330693267","1330693275"],"photo_ids_order":["1330693267","1330693271","1330693273","1330693275","1330693280","1330693285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e87682e0cc0f5f4bc291ee6c5c05ad8e.jpg","text":"TemporaryFile(/tmp/multipartBody5122936108296033904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_18_6707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/672b65acfe935ab29b68563d03637b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8414727133970287108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_35_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/22/2451af36213fc46a23fc7065450c4c26.jpg","text":"TemporaryFile(/tmp/multipartBody7664424017767855790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_12_6882.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/510fc3465dfe568ef44113eb2f508b80.jpg","text":"TemporaryFile(/tmp/multipartBody4419156402373175379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_29_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/22/c1b866ca099bb85137191e967fac5a58.jpg","text":"TemporaryFile(/tmp/multipartBody3282080640288712776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_41_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/22/60182b4db2426a6847701cff6888f7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6695389244038308879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586187465,"filename":"image_22012025_17_04_23_4465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693273","file1":"1330693271","file0":"1330693267","file4":"1330693280","file5":"1330693285","file3":"1330693275"},"map_files_photo_id_array":[{"photo_id":"1330693285","filename":"file5"},{"photo_id":"1330693273","filename":"file2"},{"photo_id":"1330693280","filename":"file4"},{"photo_id":"1330693271","filename":"file1"},{"photo_id":"1330693267","filename":"file0"},{"photo_id":"1330693275","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693280":["hashtag1","hashtag2"]},{"1330693271":["hashtag1","hashtag2"]},{"1330693285":["hashtag1","hashtag2"]},{"1330693273":["hashtag1","hashtag2"]},{"1330693267":["hashtag1","hashtag2"]},{"1330693275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693280, 1330693271, 1330693285, 1330693273, 1330693267, 1330693275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.954137563705444 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:49:22.511698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/04/image_22012025_17_04_05_5618.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_59_5258.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_18_6777.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_11_5053.jpg', '/media/data/images/22012025/17/03/image_22012025_17_03_06_7248.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_58_5313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/04/image_22012025_17_04_05_5618.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_59_5258.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_18_6777.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_11_5053.jpg
/media/data/images/22012025/17/03/image_22012025_17_03_06_7248.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_58_5313.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693305","1330693308","1330693301","1330693297","1330693312","1330693303"],"photo_ids_order":["1330693297","1330693301","1330693303","1330693305","1330693308","1330693312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/746499492f7f0c3521bdfa1867e46592.jpg","text":"TemporaryFile(/tmp/multipartBody6308392884200257614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_03_11_5053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/17bd4fca7d80123ab74df10f3f665133.jpg","text":"TemporaryFile(/tmp/multipartBody4951707130153276343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_03_06_7248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8cacfd4a0a95caf8e0b57cfc0ae1446a.jpg","text":"TemporaryFile(/tmp/multipartBody2884638682274110468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_03_59_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/22/9b51e0eda4092edfcc421a007a0f1010.jpg","text":"TemporaryFile(/tmp/multipartBody22648645999673067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_04_05_5618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a73ecc47c493545b77d01fa2b21e2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5628124286798700809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_02_58_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/22/940e457a012d223a36b7c4990fd943d0.jpg","text":"TemporaryFile(/tmp/multipartBody9200193303011288505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586227898,"filename":"image_22012025_17_03_18_6777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693303","file1":"1330693301","file0":"1330693297","file4":"1330693308","file5":"1330693312","file3":"1330693305"},"map_files_photo_id_array":[{"photo_id":"1330693312","filename":"file5"},{"photo_id":"1330693303","filename":"file2"},{"photo_id":"1330693308","filename":"file4"},{"photo_id":"1330693301","filename":"file1"},{"photo_id":"1330693297","filename":"file0"},{"photo_id":"1330693305","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693305":["hashtag1","hashtag2"]},{"1330693308":["hashtag1","hashtag2"]},{"1330693301":["hashtag1","hashtag2"]},{"1330693297":["hashtag1","hashtag2"]},{"1330693312":["hashtag1","hashtag2"]},{"1330693303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693305, 1330693308, 1330693301, 1330693297, 1330693312, 1330693303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8544020652771 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-22 23:50:02.843162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/46/image_22012025_07_46_12_6185.jpg', '/media/data/images/22012025/07/46/image_22012025_07_46_17_5500.jpg', '/media/data/images/22012025/07/46/image_22012025_07_46_35_5426.jpg', '/media/data/images/22012025/07/46/image_22012025_07_46_41_6701.jpg', '/media/data/images/22012025/07/46/image_22012025_07_46_47_5429.jpg', '/media/data/images/22012025/07/46/image_22012025_07_46_53_6767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/46/image_22012025_07_46_12_6185.jpg
/media/data/images/22012025/07/46/image_22012025_07_46_17_5500.jpg
/media/data/images/22012025/07/46/image_22012025_07_46_35_5426.jpg
/media/data/images/22012025/07/46/image_22012025_07_46_41_6701.jpg
/media/data/images/22012025/07/46/image_22012025_07_46_47_5429.jpg
/media/data/images/22012025/07/46/image_22012025_07_46_53_6767.jpg
2025-01-22 23:50:02.891913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/02/image_22012025_17_02_17_4898.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_13_6057.jpg', '/media/data/images/22012025/17/02/image_22012025_17_02_06_7553.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_58_5250.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_17_4488.jpg', '/media/data/images/22012025/17/01/image_22012025_17_01_13_6199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/02/image_22012025_17_02_17_4898.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_13_6057.jpg
/media/data/images/22012025/17/02/image_22012025_17_02_06_7553.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_58_5250.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_17_4488.jpg
/media/data/images/22012025/17/01/image_22012025_17_01_13_6199.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":["1330693361","1330693331","1330693340","1330693348","1330693333","1330693350"],"photo_ids_order":["1330693331","1330693333","1330693340","1330693348","1330693350","1330693361"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/d550ea3e73eb717c936c3384b8ea370a.jpg","text":"TemporaryFile(/tmp/multipartBody8773395199381404651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_01_13_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/22/6ec1c9afc4c74c57083c10764b4f235d.jpg","text":"TemporaryFile(/tmp/multipartBody3664399704961032701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_02_17_4898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/cf626546a254603fe7ea90e8dba14f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8068226247368959063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_02_06_7553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b070cbdf4c6963486c4bcbc13dcb7771.jpg","text":"TemporaryFile(/tmp/multipartBody7566755175389150652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_01_58_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/22/43179bbe251bb2f6f1ec8d39b94fde02.jpg","text":"TemporaryFile(/tmp/multipartBody8620821983501707275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_02_13_6057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/09307bcbe93e5d275ae2cde03b79de53.jpg","text":"TemporaryFile(/tmp/multipartBody6384490154986782716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586275948,"filename":"image_22012025_17_01_17_4488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693340","file1":"1330693333","file0":"1330693331","file4":"1330693350","file5":"1330693361","file3":"1330693348"},"map_files_photo_id_array":[{"photo_id":"1330693361","filename":"file5"},{"photo_id":"1330693340","filename":"file2"},{"photo_id":"1330693350","filename":"file4"},{"photo_id":"1330693333","filename":"file1"},{"photo_id":"1330693331","filename":"file0"},{"photo_id":"1330693348","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693361":["hashtag1","hashtag2"]},{"1330693331":["hashtag1","hashtag2"]},{"1330693340":["hashtag1","hashtag2"]},{"1330693348":["hashtag1","hashtag2"]},{"1330693333":["hashtag1","hashtag2"]},{"1330693350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693361, 1330693331, 1330693340, 1330693348, 1330693333, 1330693350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59705400466919 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":["1330693382","1330693370","1330693393","1330693351","1330693347","1330693362"],"photo_ids_order":["1330693347","1330693351","1330693362","1330693370","1330693382","1330693393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/f7bdf180b833a1a0af6c6a61a95aeee5.jpg","text":"TemporaryFile(/tmp/multipartBody2772557154949384337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_47_5429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1e0fa36ba9f0e47c32deb5cb6102286a.jpg","text":"TemporaryFile(/tmp/multipartBody5052140506090589876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_41_6701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/9e7ae537641cd52f09a5f63f5104b27b.jpg","text":"TemporaryFile(/tmp/multipartBody6593337261108541987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_53_6767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/b16d5832f438a9651138003306742d77.jpg","text":"TemporaryFile(/tmp/multipartBody1699090979144064101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_17_5500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bde28184d2c4862b8b861b8e7d368d84.jpg","text":"TemporaryFile(/tmp/multipartBody5520988738313767007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_12_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/22/50264f831b1daea2309125decfdcb6b6.jpg","text":"TemporaryFile(/tmp/multipartBody6107294023629400293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586288316,"filename":"image_22012025_07_46_35_5426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693362","file1":"1330693351","file0":"1330693347","file4":"1330693382","file5":"1330693393","file3":"1330693370"},"map_files_photo_id_array":[{"photo_id":"1330693393","filename":"file5"},{"photo_id":"1330693362","filename":"file2"},{"photo_id":"1330693382","filename":"file4"},{"photo_id":"1330693351","filename":"file1"},{"photo_id":"1330693347","filename":"file0"},{"photo_id":"1330693370","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693382":["hashtag1","hashtag2"]},{"1330693370":["hashtag1","hashtag2"]},{"1330693393":["hashtag1","hashtag2"]},{"1330693351":["hashtag1","hashtag2"]},{"1330693347":["hashtag1","hashtag2"]},{"1330693362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693382, 1330693370, 1330693393, 1330693351, 1330693347, 1330693362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.17205190658569 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:51:21.803142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/17/01/image_22012025_17_01_06_6455.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_59_6585.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_18_6179.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_12_5584.jpg', '/media/data/images/22012025/17/00/image_22012025_17_00_06_6942.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_59_6539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/17/01/image_22012025_17_01_06_6455.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_59_6585.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_18_6179.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_12_5584.jpg
/media/data/images/22012025/17/00/image_22012025_17_00_06_6942.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_59_6539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693553","1330693498","1330693502","1330693558","1330693525","1330693521"],"photo_ids_order":["1330693498","1330693502","1330693521","1330693525","1330693553","1330693558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/8a2799274e82ba5e5816c06ecb7cfb77.jpg","text":"TemporaryFile(/tmp/multipartBody7393978669408880545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_17_00_06_6942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/183c2c213a0b82f5220b7427aeb2ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody4539126088297509979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_17_01_06_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/22/4c1dd5feedfeaae58f02d90f087938fb.jpg","text":"TemporaryFile(/tmp/multipartBody5458417978805152018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_17_00_59_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/22/d1df7fba6056fade4fd261ae47804237.jpg","text":"TemporaryFile(/tmp/multipartBody5782921720912374210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_16_59_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/22/1dd104ec02b756d3967b91c7c7d717a3.jpg","text":"TemporaryFile(/tmp/multipartBody4695528858449965062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_17_00_12_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/22/c7656893f438827cbf939ccaed248492.jpg","text":"TemporaryFile(/tmp/multipartBody7936065010666088362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586351119,"filename":"image_22012025_17_00_18_6179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693521","file1":"1330693502","file0":"1330693498","file4":"1330693553","file5":"1330693558","file3":"1330693525"},"map_files_photo_id_array":[{"photo_id":"1330693558","filename":"file5"},{"photo_id":"1330693521","filename":"file2"},{"photo_id":"1330693553","filename":"file4"},{"photo_id":"1330693502","filename":"file1"},{"photo_id":"1330693498","filename":"file0"},{"photo_id":"1330693525","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693553":["hashtag1","hashtag2"]},{"1330693498":["hashtag1","hashtag2"]},{"1330693502":["hashtag1","hashtag2"]},{"1330693558":["hashtag1","hashtag2"]},{"1330693525":["hashtag1","hashtag2"]},{"1330693521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693553, 1330693498, 1330693502, 1330693558, 1330693525, 1330693521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25098443031311 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:52:21.911985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/59/image_22012025_16_59_17_5265.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_12_6126.jpg', '/media/data/images/22012025/16/59/image_22012025_16_59_06_6055.jpg', '/media/data/images/22012025/16/58/image_22012025_16_59_00_6551.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_17_6428.jpg', '/media/data/images/22012025/16/58/image_22012025_16_58_11_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/59/image_22012025_16_59_17_5265.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_12_6126.jpg
/media/data/images/22012025/16/59/image_22012025_16_59_06_6055.jpg
/media/data/images/22012025/16/58/image_22012025_16_59_00_6551.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_17_6428.jpg
/media/data/images/22012025/16/58/image_22012025_16_58_11_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":["1330693602","1330693582","1330693585","1330693593","1330693575","1330693578"],"photo_ids_order":["1330693575","1330693578","1330693582","1330693585","1330693593","1330693602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a41e336e2e2cda9abb97b7dcd89fd0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3756759331690097402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_58_11_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/22/5b2cf01bb96215d60ee3bbf6e8a4b9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8307142529641315004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_59_06_6055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/de279b6ff3a5d72031d97679ebf6d240.jpg","text":"TemporaryFile(/tmp/multipartBody6094518980721937808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_59_00_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/22/06d86ea53d35c836d5ef8a65a2ac93c7.jpg","text":"TemporaryFile(/tmp/multipartBody1757206525326329669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_58_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/22/672a8f65b1be5d39c982f0aa83030436.jpg","text":"TemporaryFile(/tmp/multipartBody5182530608757458354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_59_17_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/22/9d19cdd9fa5245c26377644539773705.jpg","text":"TemporaryFile(/tmp/multipartBody3983574739883222089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586408295,"filename":"image_22012025_16_59_12_6126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693582","file1":"1330693578","file0":"1330693575","file4":"1330693593","file5":"1330693602","file3":"1330693585"},"map_files_photo_id_array":[{"photo_id":"1330693602","filename":"file5"},{"photo_id":"1330693582","filename":"file2"},{"photo_id":"1330693593","filename":"file4"},{"photo_id":"1330693578","filename":"file1"},{"photo_id":"1330693575","filename":"file0"},{"photo_id":"1330693585","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693602":["hashtag1","hashtag2"]},{"1330693582":["hashtag1","hashtag2"]},{"1330693585":["hashtag1","hashtag2"]},{"1330693593":["hashtag1","hashtag2"]},{"1330693575":["hashtag1","hashtag2"]},{"1330693578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693602, 1330693582, 1330693585, 1330693593, 1330693575, 1330693578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03453874588013 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:53:22.085056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/58/image_22012025_16_58_05_5957.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_59_6511.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_53_6282.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_46_5059.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_41_6530.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_35_5299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/58/image_22012025_16_58_05_5957.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_59_6511.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_53_6282.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_46_5059.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_41_6530.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_35_5299.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693652","1330693649","1330693678","1330693693","1330693650","1330693647"],"photo_ids_order":["1330693647","1330693649","1330693650","1330693652","1330693678","1330693693"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/62835a28bac9e6dd57f31693293394c4.jpg","text":"TemporaryFile(/tmp/multipartBody1499639121572108631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_57_46_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/22/96aef246c03a5e6ee42992cc61035bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6998089373772890159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_57_59_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/22/664f6981c13e7bd133cd63886fb5b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody8484246561582825473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_57_41_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/22/5e1771ba5399c2a29ad85700b7287e44.jpg","text":"TemporaryFile(/tmp/multipartBody6815041370770524063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_57_35_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/22/7237622274b47f1c7e180791b2de8a40.jpg","text":"TemporaryFile(/tmp/multipartBody2911336147515714694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_57_53_6282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/1808cae6459def325212f56b2ca216a6.jpg","text":"TemporaryFile(/tmp/multipartBody9057775733009187961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586470402,"filename":"image_22012025_16_58_05_5957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693650","file1":"1330693649","file0":"1330693647","file4":"1330693678","file5":"1330693693","file3":"1330693652"},"map_files_photo_id_array":[{"photo_id":"1330693693","filename":"file5"},{"photo_id":"1330693650","filename":"file2"},{"photo_id":"1330693678","filename":"file4"},{"photo_id":"1330693649","filename":"file1"},{"photo_id":"1330693647","filename":"file0"},{"photo_id":"1330693652","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693652":["hashtag1","hashtag2"]},{"1330693649":["hashtag1","hashtag2"]},{"1330693678":["hashtag1","hashtag2"]},{"1330693693":["hashtag1","hashtag2"]},{"1330693650":["hashtag1","hashtag2"]},{"1330693647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693652, 1330693649, 1330693678, 1330693693, 1330693650, 1330693647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09210658073425 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:54:22.240480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/57/image_22012025_16_57_29_6555.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_23_6542.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_16_5742.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_11_6083.jpg', '/media/data/images/22012025/16/57/image_22012025_16_57_05_6078.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_58_5304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/57/image_22012025_16_57_29_6555.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_23_6542.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_16_5742.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_11_6083.jpg
/media/data/images/22012025/16/57/image_22012025_16_57_05_6078.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_58_5304.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330693815","1330693856","1330693937","1330693861","1330693858","1330693966"],"photo_ids_order":["1330693815","1330693856","1330693858","1330693861","1330693937","1330693966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/162e905ce52546dfc2753cac1b1a8b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5407182957785063002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_57_29_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/22/5959308479449b5d11100ac166921cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4886700668191723515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_57_23_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/22/0260eda51d6a18a122ec8c56c51e5ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6348637457662171418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_57_05_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/122151a419c8dbbf7a4767777ed35c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6027172881179183371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_57_11_6083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/439e2073efc08a697226939444c2ab68.jpg","text":"TemporaryFile(/tmp/multipartBody386556040570766853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_57_16_5742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/468611e569a3838ac4e65d0706ab9d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6873751590532647439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586531147,"filename":"image_22012025_16_56_58_5304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330693858","file1":"1330693856","file0":"1330693815","file4":"1330693937","file5":"1330693966","file3":"1330693861"},"map_files_photo_id_array":[{"photo_id":"1330693966","filename":"file5"},{"photo_id":"1330693858","filename":"file2"},{"photo_id":"1330693937","filename":"file4"},{"photo_id":"1330693856","filename":"file1"},{"photo_id":"1330693815","filename":"file0"},{"photo_id":"1330693861","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330693815":["hashtag1","hashtag2"]},{"1330693856":["hashtag1","hashtag2"]},{"1330693937":["hashtag1","hashtag2"]},{"1330693861":["hashtag1","hashtag2"]},{"1330693858":["hashtag1","hashtag2"]},{"1330693966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330693815, 1330693856, 1330693937, 1330693861, 1330693858, 1330693966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41476249694824 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:55:22.372146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/56/image_22012025_16_56_17_5715.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_12_6693.jpg', '/media/data/images/22012025/16/56/image_22012025_16_56_05_5964.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_59_5724.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_17_5720.jpg', '/media/data/images/22012025/16/55/image_22012025_16_55_12_6130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/56/image_22012025_16_56_17_5715.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_12_6693.jpg
/media/data/images/22012025/16/56/image_22012025_16_56_05_5964.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_59_5724.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_17_5720.jpg
/media/data/images/22012025/16/55/image_22012025_16_55_12_6130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330694015","1330694000","1330694003","1330693996","1330694011","1330693998"],"photo_ids_order":["1330693996","1330693998","1330694000","1330694003","1330694011","1330694015"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/68da45bd7e96544d5b4df15003f86f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4697422692399629319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_55_12_6130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/a1065369085156dfb6aaee0c498c38ef.jpg","text":"TemporaryFile(/tmp/multipartBody6901387146111872326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_56_05_5964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/eeb2313efc0e159fa097cde39e7496a0.jpg","text":"TemporaryFile(/tmp/multipartBody3203096751472253703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_55_59_5724.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/37f8e527d34775b6bc6a67f484cf0e51.jpg","text":"TemporaryFile(/tmp/multipartBody7894119539318936263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_56_17_5715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/194250d067e954a5155e1c3002229919.jpg","text":"TemporaryFile(/tmp/multipartBody9174839887189456016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_55_17_5720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/50b7feb6d60fde7e59ac363666838b44.jpg","text":"TemporaryFile(/tmp/multipartBody7595199947945351050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586591051,"filename":"image_22012025_16_56_12_6693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694000","file1":"1330693998","file0":"1330693996","file4":"1330694011","file5":"1330694015","file3":"1330694003"},"map_files_photo_id_array":[{"photo_id":"1330694015","filename":"file5"},{"photo_id":"1330694000","filename":"file2"},{"photo_id":"1330694011","filename":"file4"},{"photo_id":"1330693998","filename":"file1"},{"photo_id":"1330693996","filename":"file0"},{"photo_id":"1330694003","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330694015":["hashtag1","hashtag2"]},{"1330694000":["hashtag1","hashtag2"]},{"1330694003":["hashtag1","hashtag2"]},{"1330693996":["hashtag1","hashtag2"]},{"1330694011":["hashtag1","hashtag2"]},{"1330693998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330694015, 1330694000, 1330694003, 1330693996, 1330694011, 1330693998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.172110080718994 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:56:22.514790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/55/image_22012025_16_55_06_6266.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_59_5659.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_17_6432.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_11_5159.jpg', '/media/data/images/22012025/16/54/image_22012025_16_54_05_6036.jpg', '/media/data/images/22012025/16/53/image_22012025_16_54_00_5738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/55/image_22012025_16_55_06_6266.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_59_5659.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_17_6432.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_11_5159.jpg
/media/data/images/22012025/16/54/image_22012025_16_54_05_6036.jpg
/media/data/images/22012025/16/53/image_22012025_16_54_00_5738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330694060","1330694071","1330694074","1330694068","1330694056","1330694065"],"photo_ids_order":["1330694056","1330694060","1330694065","1330694068","1330694071","1330694074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bdd90e96762815ec28f78cdbead79009.jpg","text":"TemporaryFile(/tmp/multipartBody7768297861032820627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_54_59_5659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/015a4e9333bdfa303afb841cfb819f50.jpg","text":"TemporaryFile(/tmp/multipartBody3563960132987900673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_54_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/22/d9e391fd4eb171a5c79e3d523b216e90.jpg","text":"TemporaryFile(/tmp/multipartBody4817529950935409453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_54_00_5738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/c22df431d7004253e1fe3aa324dd0ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1692594974140242899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_54_11_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/22/2f4baaadc356603f321e9fb2619225d1.jpg","text":"TemporaryFile(/tmp/multipartBody2989335584289694139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_55_06_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/22/0120e13a34b80defd07552e47f7e0e50.jpg","text":"TemporaryFile(/tmp/multipartBody369557308552201335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586652885,"filename":"image_22012025_16_54_17_6432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694065","file1":"1330694060","file0":"1330694056","file4":"1330694071","file5":"1330694074","file3":"1330694068"},"map_files_photo_id_array":[{"photo_id":"1330694074","filename":"file5"},{"photo_id":"1330694065","filename":"file2"},{"photo_id":"1330694071","filename":"file4"},{"photo_id":"1330694060","filename":"file1"},{"photo_id":"1330694056","filename":"file0"},{"photo_id":"1330694068","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330694060":["hashtag1","hashtag2"]},{"1330694071":["hashtag1","hashtag2"]},{"1330694074":["hashtag1","hashtag2"]},{"1330694068":["hashtag1","hashtag2"]},{"1330694056":["hashtag1","hashtag2"]},{"1330694065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330694060, 1330694071, 1330694074, 1330694068, 1330694056, 1330694065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.766754388809204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-22 23:57:22.664763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local DESC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/16/53/image_22012025_16_53_17_5667.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_12_6290.jpg', '/media/data/images/22012025/16/53/image_22012025_16_53_05_6099.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_59_5951.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_16_5890.jpg', '/media/data/images/22012025/16/52/image_22012025_16_52_11_5264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/16/53/image_22012025_16_53_17_5667.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_12_6290.jpg
/media/data/images/22012025/16/53/image_22012025_16_53_05_6099.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_59_5951.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_16_5890.jpg
/media/data/images/22012025/16/52/image_22012025_16_52_11_5264.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-22 23:58:01.882861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806633
  datou_current_id : 2501586
in upload_from_sqlite, uploading in 19806633
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/22012025/07/46/image_22012025_07_46_59_5451.jpg', '/media/data/images/22012025/07/47/image_22012025_07_47_11_5951.jpg', '/media/data/images/22012025/07/47/image_22012025_07_47_23_6662.jpg', '/media/data/images/22012025/07/47/image_22012025_07_47_29_5408.jpg', '/media/data/images/22012025/07/47/image_22012025_07_47_59_6650.jpg', '/media/data/images/22012025/07/48/image_22012025_07_48_17_5493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2501586&datou=0
/media/data/images/22012025/07/46/image_22012025_07_46_59_5451.jpg
/media/data/images/22012025/07/47/image_22012025_07_47_11_5951.jpg
/media/data/images/22012025/07/47/image_22012025_07_47_23_6662.jpg
/media/data/images/22012025/07/47/image_22012025_07_47_29_5408.jpg
/media/data/images/22012025/07/47/image_22012025_07_47_59_6650.jpg
/media/data/images/22012025/07/48/image_22012025_07_48_17_5493.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330694171","1330694173","1330694161","1330694149","1330694172","1330694148"],"photo_ids_order":["1330694148","1330694149","1330694161","1330694171","1330694172","1330694173"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/bb318f748a2ab4555713e462baafd6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1273587390201827271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_47_29_5408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19250025e2a9302073483359a50e1177.jpg","text":"TemporaryFile(/tmp/multipartBody4900558653272217172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_48_17_5493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/07b96202170a6e70117e845bfc74e690.jpg","text":"TemporaryFile(/tmp/multipartBody2576206854248430093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_47_23_6662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/35f3467dfbf0502450e7f6996121804d.jpg","text":"TemporaryFile(/tmp/multipartBody2215450517292883195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_47_11_5951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/e209afaf35708681da54667ba1a139ce.jpg","text":"TemporaryFile(/tmp/multipartBody5779721015325492180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_47_59_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/22/19e1ecc7730109dcff88da4246594919.jpg","text":"TemporaryFile(/tmp/multipartBody4618642971587781072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586757555,"filename":"image_22012025_07_46_59_5451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694161","file1":"1330694149","file0":"1330694148","file4":"1330694172","file5":"1330694173","file3":"1330694171"},"map_files_photo_id_array":[{"photo_id":"1330694173","filename":"file5"},{"photo_id":"1330694161","filename":"file2"},{"photo_id":"1330694172","filename":"file4"},{"photo_id":"1330694149","filename":"file1"},{"photo_id":"1330694148","filename":"file0"},{"photo_id":"1330694171","filename":"file3"}],"portfolio_id":19806633,"hashtag_by_photo_ids":[{"1330694171":["hashtag1","hashtag2"]},{"1330694173":["hashtag1","hashtag2"]},{"1330694161":["hashtag1","hashtag2"]},{"1330694149":["hashtag1","hashtag2"]},{"1330694172":["hashtag1","hashtag2"]},{"1330694148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806633 used, photo_id : ArrayBuffer(1330694171, 1330694173, 1330694161, 1330694149, 1330694172, 1330694148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.75931215286255 secondes ---
